Create whitelisted contracts
This endpoint creates a new whitelisted contracts.
For ETH, tokenId is left empty
For XTZ, tokenId is left empty for FA1.2 tokens and must have a value for FA2 tokens
For ALGO, we either need a tokenId which is the assetId for algorand, or we need a contractAddress (creator address) and a symbol (unit name), which will be used to identify the asset.
For XLM, we need a valid contractAddress (Stellar address) and tokenId (Stellar asset code).For ICP, we need a valid contractAddress (valid ICP principal).Required role: WhitelistedAddressCreator.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
Symbol of the blockchain on which to whitelist a contract. Examples: BTC, ADA, SOL …
Address of the smart contract. For ALGO standard assets, this is the address of the creator of the asset.
For XLM, this is the Stellar address.
For ICP, this is the ICP principal.
Examples: "" (default), "NFT_AUTO", "NFT_XTZ_FA2", "NFT_EVM_ERC721", "NFT_EVM_ERC1155", "SOL_TOKEN", "SOL_TOKEN2022", "NFT_EVM_CRYPTOPUNKS"
Name of the blockchain network, eg. mainnet, testnet, or sepolia.