getAllowListMerkleRoot

view

Use this function in your app

const response = await fetch('https://api.thirdweb.com/v1/contracts/read', { method: 'POST', headers: { 'Content-Type': 'application/json', 'x-secret-key': '<YOUR_SECRET_KEY>' }, body: JSON.stringify({ calls: [ { contractAddress: "0x00005EA00Ac477B1030CE78506496e8C2dE24bf5", method: "function getAllowListMerkleRoot(address nftContract) view returns (bytes32)", params: [nftContract] } ], chainId: 8453 }) }); const data = await response.json();