SecretNET.NFT Namespace

Snip721Tx..::..MakeOwnershipPrivate Method

MakeOwnershipPrivate is used when the token contract was instantiated with the public_owner configuration value set to true. It allows an address to make all of its tokens have private ownership by default. The owner may still use SetGlobalApproval or SetWhitelistedApproval to make ownership public as desired.

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

Syntax


public Task<SingleSecretTx<MakeOwnershipPrivateResponse>> MakeOwnershipPrivate(
	MsgMakeOwnershipPrivate msg,
	Nullable<TxOptions> txOptions
)
Public Function MakeOwnershipPrivate ( _
	msg As MsgMakeOwnershipPrivate, _
	txOptions As Nullable(Of TxOptions) _
) As Task(Of SingleSecretTx(Of MakeOwnershipPrivateResponse))
public:
Task<SingleSecretTx<MakeOwnershipPrivateResponse^>^>^ MakeOwnershipPrivate(
	MsgMakeOwnershipPrivate^ msg, 
	Nullable<TxOptions^> txOptions
)

Parameters

msg
Type: SecretNET.NFT..::..MsgMakeOwnershipPrivate
The MSG.
txOptions
Type: Nullable<(Of <(<'TxOptions>)>)>
The tx options.

Return Value

SingleSecretTx<MakeOwnershipPrivateResponse>.