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

EstimateFeeTransferFromCustodial

Model getters

Method name Return type Description Notes
getChain() string The blockchain to estimate the fee for
Example: null
 
getType() string The type of the transaction
Example: null
 
getSender() string The blockchain address of the sender
Example: 0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef
 
getRecipient() string The blockchain address of the recipient
Example: 0x687422eEA2cB73B5d3e242bA5456b782919AFc85
 
getCustodialAddress() string The blockchain address of the custodial wallet contract
Example: 0x687422eEA2cB73B5d3e242bA5456b782919AFc85
 
getTokenType() float The type of the asset 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: 0
 
getAmount() string If the asset to transfer is a fungible token, Multi Token, or a native blockchain currency, set this parameter to the amount to transfer. If the asset to transfer is an NFT, set this parameter to 1.
Example: 100000
 
getContractAddress() string (Only if the asset to transfer is a fungible token) The address of the smart contract of the token
Example: 0x687422eEA2cB73B5d3e242bA5456b782919AFc85
[optional]