Skip to main content

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

ParameterTypeDescription
addressstring
merkleRootstring
merkleMetadataRecord<string, string> | undefined
providerethers.providers.Provider
storageThirdwebStorage
snapshotFormatVersionSnapshotFormatVersion

Returns:

Promise<SnapshotEntryWithProof | null>