SecretNET.NFT Namespace

SendNftRequest Constructor

Initializes a new instance of the SendNftRequest class.

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

Syntax


public SendNftRequest(
	string contract,
	string tokenId,
	Object Msg,
	ReceiverInfo receiverInfo,
	string memo,
	string padding
)
Public Sub New ( _
	contract As String, _
	tokenId As String, _
	Msg As Object, _
	receiverInfo As ReceiverInfo, _
	memo As String, _
	padding As String _
)
public:
SendNftRequest(
	String^ contract, 
	String^ tokenId, 
	Object^ Msg, 
	ReceiverInfo^ receiverInfo, 
	String^ memo, 
	String^ padding
)

Parameters

contract
Type: String
Address receiving the token (not optional).
tokenId
Type: String
Identifier of the token to be transferred (not optional).
Msg
Type: Object
Msg (string (base64 encoded Binary)) included when calling the recipient contract's BatchReceiveNft (or ReceiveNft).
receiverInfo
Type: SecretNET.NFT..::..ReceiverInfo
Code hash and BatchReceiveNft implementation status of the recipient contract.
memo
Type: String
Memo for the tx that is only viewable by addresses involved (recipient, sender, previous owner).
padding
Type: String
An ignored string that can be used to maintain constant message length.