SecretNET.NFT Namespace

PostInitCallback Properties

The PostInitCallback type exposes the following members.

Properties


  Name Description
Public property CodeHash
A 32-byte hex encoded string, with the code hash of the contract to call after initialization (not optional).
Public property ContractAddress
Address of the contract to call after initialization (not optional).
Public property Msg
Base64 encoded Binary representation of the callback message to perform after contract initialization (not optional).
Public property Send
List of native Coin amounts to send with the callback message (not optional => use empty array if nothing to send). Coin is the payment to send with the post-init callback message. Although send is not an optional field of the PostInitCallback, because it is an array, you can just use [] to not send any payment with the callback message