Snip721Tx..::..ApproveAll Method
ApproveAll is used to grant an address permission to transfer all the tokens in the message sender's inventory.
This will include the ability to transfer any tokens the sender acquires after granting this inventory-wide approval.
This also gives the address the ability to grant another address the approval to transfer a single token.
ApproveAll is provided to maintain compliance with CW-721, but the message sender can use SetWhitelistedApproval to accomplish the same thing by using all AccessLevel for transfer.
Namespace:
SecretNET.NFTAssembly: SecretNET.NFT (in SecretNET.NFT.dll)
Syntax
public Task<SingleSecretTx<ApproveAllResponse>> ApproveAll( MsgApproveAll msg, Nullable<TxOptions> txOptions )
Public Function ApproveAll ( _ msg As MsgApproveAll, _ txOptions As Nullable(Of TxOptions) _ ) As Task(Of SingleSecretTx(Of ApproveAllResponse))
public: Task<SingleSecretTx<ApproveAllResponse^>^>^ ApproveAll( MsgApproveAll^ msg, Nullable<TxOptions^> txOptions )
Parameters
- msg
- Type: SecretNET.NFT..::..MsgApproveAll
The MSG.
- txOptions
- Type: Nullable<(Of <(<'TxOptions>)>)>
The tx options.