SecretNET.NFT Namespace

Snip721Tx..::..TransferNft Method (String, String, String, String, String, String, Nullable<(Of <(<'TxOptions>)>)>)

Transfers the NFT.

Namespace:  SecretNET.NFT
Assembly:  SecretNET.NFT (in SecretNET.NFT.dll)

Syntax


public Task<SingleSecretTx<TransferNftResponse>> TransferNft(
	string contractAddress,
	string recipient,
	string tokenId,
	string memo,
	string padding,
	string codeHash,
	Nullable<TxOptions> txOptions
)
Public Function TransferNft ( _
	contractAddress As String, _
	recipient As String, _
	tokenId As String, _
	memo As String, _
	padding As String, _
	codeHash As String, _
	txOptions As Nullable(Of TxOptions) _
) As Task(Of SingleSecretTx(Of TransferNftResponse))
public:
Task<SingleSecretTx<TransferNftResponse^>^>^ TransferNft(
	String^ contractAddress, 
	String^ recipient, 
	String^ tokenId, 
	String^ memo, 
	String^ padding, 
	String^ codeHash, 
	Nullable<TxOptions^> txOptions
)

Parameters

contractAddress
Type: String
The contract address.
recipient
Type: String
Address receiving the token.
tokenId
Type: String
ID of the token to be transferred.
memo
Type: String
Memo for the transfer transaction that is only viewable by addresses involved in the transfer (recipient, sender, previous owner).
padding
Type: String
Ignored string used to maintain constant-length messages.
codeHash
Type: String
CodeHash is (not really) optional and makes a call way faster.
txOptions
Type: Nullable<(Of <(<'TxOptions>)>)>
The tx options.

Return Value

SingleSecretTx<TransferNftResponse>.