tokenMerkleRoot

Calls the "tokenMerkleRoot" function on the contract.

Example

import { tokenMerkleRoot } from "thirdweb/extensions/airdrop";
const result = await tokenMerkleRoot({
contract,
tokenAddress: ...,
});
function tokenMerkleRoot(
): Promise<`0x${string}`>;

Parameters

The options for the tokenMerkleRoot function.

Type

Returns

let returnType: Promise<`0x${string}`>;

The parsed result of the function call.