Utility Functions
Merkle Tree
In order to generate an merkle tree with input Whitelist, SDK provides
buildWhitelistMerkleTree
endpoint to do so.
Generate an leaf of merkle tree with input Whitelist, SDK provides an endpoint
createWhitelistLeaf
to do so
IPFS URL converter
Convert url
ipfs://
to ipfs public endpoint, SDK providesconvertIPFSToUri
endpoint to do so.
Convert url of an ipfs endpoint to
ipfs://
format, SDK providesconvertUrlToIPFS
endpoint to do so.
Multi chain
Get network type (mainnet | testnet
) of chain id, SDK provides getNetworkKey
endpoint to do so
Last updated