fetchSnapshotEntryForAddress() function
Signature:
export declare function fetchSnapshotEntryForAddress(
address: string,
merkleRoot: string,
merkleMetadata: Record<string, string> | undefined,
provider: ethers.providers.Provider,
storage: ThirdwebStorage,
snapshotFormatVersion: SnapshotFormatVersion,
): Promise<SnapshotEntryWithProof | null>;
Parameters
Parameter | Type | Description |
---|---|---|
address | string | |
merkleRoot | string | |
merkleMetadata | Record<string, string> | undefined | |
provider | ethers.providers.Provider | |
storage | ThirdwebStorage | |
snapshotFormatVersion | SnapshotFormatVersion |
Returns:
Promise<SnapshotEntryWithProof | null>