Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DestroyNFTOption ¶
type DestroyNFTOption func(options *DestroyNFTOptions) error
DestroyNFTOption is a function that provides options.
func AccessManaPledgeID ¶
func AccessManaPledgeID(nodeID string) DestroyNFTOption
AccessManaPledgeID is an option for DestroyNFT call that defines the nodeID to pledge access mana to.
func ConsensusManaPledgeID ¶
func ConsensusManaPledgeID(nodeID string) DestroyNFTOption
ConsensusManaPledgeID is an option for DestroyNFT call that defines the nodeID to pledge consensus mana to.
func RemainderAddress ¶
func RemainderAddress(address string) DestroyNFTOption
RemainderAddress specifies the address where the funds of the destroyed NFT will be sent. (optional)
func WaitForConfirmation ¶
func WaitForConfirmation(wait bool) DestroyNFTOption
WaitForConfirmation defines if the call should wait for confirmation before it returns.
type DestroyNFTOptions ¶
type DestroyNFTOptions struct { AccessManaPledgeID string ConsensusManaPledgeID string Alias *ledgerstate.AliasAddress RemainderAddress ledgerstate.Address WaitForConfirmation bool }
DestroyNFTOptions is a struct that is used to aggregate the optional parameters in the DestroyNFT call.
func Build ¶
func Build(options ...DestroyNFTOption) (result *DestroyNFTOptions, err error)
Build builds the options.
Click to show internal directories.
Click to hide internal directories.