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

TransferNftCelo

Model getters

Method name Return type Description Notes
getValue() string If token to be transferred is Royalty NFT token, this is a value to be paid as a cashback to the authors of the token.
Example: 1
[optional]
getChain() string The blockchain to work with
Example: CELO
 
getTo() string Blockchain address to send NFT token to
Example: 0x687422eEA2cB73B5d3e242bA5456b782919AFc85
 
getTokenId() string ID of the token.
Example: 123
 
getProvenance() bool True if the contract is provenance type
Example: true
[optional]
getProvenanceData() string data you want to store with transaction, optional and valid only if provenance contract
Example: test
[optional]
getTokenPrice() string current price of the token, valid only for provenance
Example: 1
[optional]
getContractAddress() string Address of NFT token
Example: 0x687422eEA2cB73B5d3e242bA5456b782919AFc85
 
getFromPrivateKey() string Private key of sender address. Private key, or signature Id must be present.
Example: 0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2
 
getNonce() float The nonce to be set to the transaction; if not present, the last known nonce will be used
Example: 1
[optional]
getFeeCurrency() string The currency in which the transaction fee will be paid
Example: null