Skip to main content

NftTransferTransactionParams

txTypeNftTransactionType (string)required

Must be "nft:transfer"

Possible values: [nft:transfer]

collectionAddressstringrequired

The address of the NFT collection.

nftAddressstringrequired

The address of the NFT.

senderstringrequired

The address (public key) of the sender.

senderPrivateKeystring

The private key of the sender. It is NOT recommended to use this field. Please use the sender field instead. Use this field at your own risk and only if you know what you are doing and do not have access to mina-signer or wallet to get the signature.

nonceint64

Optional. The nonce for the transaction.

memostring

Optional. A memo for the transaction.

developerFeedouble

Optional. The developer fee for the transaction.

nftTransferParams objectrequired
fromstringrequired

The address of the owner or approved

tostringrequired

The address of the recipient

pricenumber

The price of the NFT being transferred

requireApprovalboolean

If true, the transfer requires approval from the admin contract

context object

The custom context for the transfer

customstring[]

The custom context for the transfer, 3 Fields

NftTransferTransactionParams
{
"txType": "nft:transfer",
"collectionAddress": "string",
"nftAddress": "string",
"sender": "string",
"senderPrivateKey": "string",
"nonce": 0,
"memo": "string",
"developerFee": 0,
"nftTransferParams": {
"from": "string",
"to": "string",
"price": 0,
"requireApproval": true,
"context": {
"custom": [
"string"
]
}
}
}