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

ApproveErc20KMS

Model getters

Method name Return type Description Notes
getChain() string The blockchain to work with
Example: ETH
 
getContractAddress() string The address of the smart contract
Example: 0x687422eEA2cB73B5d3e242bA5456b782919AFc85
 
getSpender() string The blockchain address to be allowed to transfer or burn the fungible tokens
Example: 0x687422eEA2cB73B5d3e242bA5456b782919AFc85
 
getAmount() string The amount of the tokens allowed to be transferred or burnt
Example: 100000
 
getSignatureId() string The KMS identifier of the private key of the smart contract’s owner; the fee will be deducted from the owner’s address
Example: 26d3883e-4e17-48b3-a0ee-09a3e484ac83
 
getFee() \Tatum\Model\CustomFee
Example: null
[optional]
getNonce() float The nonce to be set to the transaction; if not present, the last known nonce will be used
Example: null
[optional]