Snip721Tx..::..ChangeAdmin Method
ChangeAdmin will allow the current admin to transfer admin privileges to another address (which will be the only admin address).
This can only be called by the current admin address.
Namespace:
SecretNET.NFTAssembly: SecretNET.NFT (in SecretNET.NFT.dll)
Syntax
public Task<SingleSecretTx<ChangeAdminResponse>> ChangeAdmin( MsgChangeAdmin msg, Nullable<TxOptions> txOptions )
Public Function ChangeAdmin ( _ msg As MsgChangeAdmin, _ txOptions As Nullable(Of TxOptions) _ ) As Task(Of SingleSecretTx(Of ChangeAdminResponse))
public: Task<SingleSecretTx<ChangeAdminResponse^>^>^ ChangeAdmin( MsgChangeAdmin^ msg, Nullable<TxOptions^> txOptions )
Parameters
- msg
- Type: SecretNET.NFT..::..MsgChangeAdmin
The MSG.
- txOptions
- Type: Nullable<(Of <(<'TxOptions>)>)>
The tx options.