SecretNET.NFT Namespace

RegisterReceiveNftRequest Constructor

Initializes a new instance of the [RegisterReceiveRequest] class.

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

Syntax


public RegisterReceiveNftRequest(
	string codeHash,
	Nullable<bool> alsoImplementsBatchReceiveNft,
	Nullable<string> padding
)
Public Sub New ( _
	codeHash As String, _
	alsoImplementsBatchReceiveNft As Nullable(Of Boolean), _
	padding As Nullable(Of String) _
)
public:
RegisterReceiveNftRequest(
	String^ codeHash, 
	Nullable<bool^> alsoImplementsBatchReceiveNft, 
	Nullable<String^> padding
)

Parameters

codeHash
Type: String
A 32-byte hex encoded string, with the code hash of the receiver contract.
alsoImplementsBatchReceiveNft
Type: Nullable<(Of <(<'Boolean>)>)>
true if the message sender contract also implements BatchReceiveNft so it can be informed that it was sent a list of tokens.
padding
Type: Nullable<(Of <(<'String>)>)>
Ignored string used to maintain constant-length messages.