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

TransferNftAlgo

Model getters

Method name Return type Description Notes
getChain() string The blockchain to work with
Example: ALGO
 
getTo() string The blockchain address to transfer the NFT to
Example: TMETT6BXL3QUH7AH5TS6IONU7LVTLKIGG54CFCNPMQXWGRIZFIESZBYWP4
 
getContractAddress() string The asset ID (the ID of the NFT)
Example: 100000
 
getFromPrivateKey() string The private key of the sender’s blockchain address
Example: 72TCV5BRQPBMSAFPYO3CPWVDBYWNGAYNMTW5QHENOMQF7I6QLNMJWCJZ7A3V5YKD7QD6ZZPEHG2PV2ZVVEDDO6BCRGXWIL3DIUMSUCI
 
getAmount() float (For fractional NFTs only) The number of NFT fractions to transfer; if not set, defaults to 1, which means that one fraction of the NFT will be transferred
Example: 1
[optional] [default to 1]