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

TransferNft

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: ETH
 
getTo() string Blockchain address to send NFT token to
Example: 0x687422eEA2cB73B5d3e242bA5456b782919AFc85
 
getTokenId() string ID of the token.
Example: 123
 
getContractAddress() string Address of NFT token
Example: 0x687422eEA2cB73B5d3e242bA5456b782919AFc85
 
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]
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]
getFee() \Tatum\Model\CustomFee
Example: null
[optional]