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

ApproveNftSpendingCeloKMS

Model getters

Method name Return type Description Notes
getChain() string The blockchain to work with
Example: CELO
 
getSpender() string The blockchain address of the auction/marketplace smart contract
Example: 0x687422eEA2cB73B5d3e242bA5456b782919AFc85
 
getIsErc721() bool Set to “true” if the asset is an NFT; set to “false” is the asset is a Multi Token
Example: true
 
getTokenId() string The ID of the asset (NFT or Multi Token)
Example: 100000
 
getContractAddress() string The blockchain address of the smart contract from which the asset (NFT or Multi Token) was minted
Example: 0x687422eEA2cB73B5d3e242bA5456b782919AFc85
 
getSignatureId() string The KMS identifier of the private key of the blockchain address from which the fee will be deducted
Example: 26d3883e-4e17-48b3-a0ee-09a3e484ac83
 
getIndex() float (Only if the signature ID is mnemonic-based) The index of the address from which the fee will be deducted that was generated from the mnemonic
Example: null
[optional]
getFeeCurrency() string The currency in which the transaction fee will be paid - CELO - CUSD - CEUR
Example: null
 
getNonce() float The nonce to be set to the transaction; if not present, the last known nonce will be used
Example: 1
[optional]
getFee() \Tatum\Model\CustomFee
Example: null
[optional]