Docs

tokenMerkleRoot

Calls the "tokenMerkleRoot" function on the contract.

Example

import { tokenMerkleRoot } from "thirdweb/extensions/airdrop";
const result = await tokenMerkleRoot({
contract,
tokenAddress: ...,
});

Parameters

Returns

The parsed result of the function call.