Skip to main content Link Menu Expand (external link) Document Search Copy Copied

TransferCustodialWalletBatchCeloKMS

Model getters

Method name Return type Description Notes
getChain() string The blockchain to work with
Example: CELO
 
getCustodialAddress() string The gas pump address that transfers the assets; this is the address that you precalculated and activated earlier and that is assigned to a customer in your custodial application; this is not the “master address”
Example: 0x687422eEA2cB73B5d3e242bA5456b782919AFc85
 
getRecipient() string[] The blockchain address that receives the assets
Example: null
 
getContractType() float[] The type of the assets to transfer. Set 0 for fungible tokens (ERC-20 or equivalent), 1 for NFTs (ERC-721 or equivalent), 2 for Multi Tokens (ERC-1155 or equivalent), or 3 for native blockchain currencies.
Example: null
 
getTokenAddress() string[] If the assets are fungible tokens, NFTs, or Multi Tokens, set this parameter to the array of the addresses of the tokens to transfer:
"tokenAddress": ["0x782919AFc85eEA2cB736874225456bB5d3e242bA","0x74225456bB5d3e242bA782919AFc85eEA2cB7368",...,"0x3e242bA78274225456bB52cB7368d919AFc85eEA"] If the assets are a native blockchain currency, set this parameter to the array of zeros, a zero per currency:
"tokenAddress": ["0","0",...,"0"]
Example: null
 
getAmount() string[] If the assets are fungible tokens, Multi Tokens, or a native blockchain currency, set this parameter to the array of the amounts of the assets to transfer:
"amount": ["100000","15000",...,"250000"] If the assets are NFTs, set this parameter to the array of zeros, a zero per NFT:
"amount": ["0","0",...,"0"]
Example: null
 
getTokenId() string[] If the assets are Multi Tokens or NFTs, set this parameter to the array of the IDs of the tokens to transfer:
"tokenId": ["12","13",...,"24"] If the assets are fungible tokens or a native blockchain currency, set this parameter to the array of zeros, a zero per fungible token/currency:
"tokenId": ["0","0",...,"0"]
Example: null
 
getSignatureId() string The KMS identifier of the private key of the blockchain address that owns the gas pump address key (“master address”)
Example: 26d3883e-4e17-48b3-a0ee-09a3e484ac83
 
getIndex() float (Only if the signature ID is mnemonic-based) The index of the “master address”
Example: null
[optional]
getFeeCurrency() string The currency in which the gas fee will be paid
Example: null
[optional] [default to ‘CELO’]
getNonce() float The nonce to be set to the transfer transaction; if not present, the last known nonce will be used
Example: 1
[optional]
getFee() \Tatum\Model\CustomFee
Example: null
[optional]