post https://your-protect-instance.example.com/api/rest/v1/whitelists/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.
Required role: WhitelistedAddressCreator.