Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SweepNFTOwnedFundsOption ¶
type SweepNFTOwnedFundsOption func(options *SweepNFTOwnedFundsOptions) error
SweepNFTOwnedFundsOption is a function that provides option.
func AccessManaPledgeID ¶
func AccessManaPledgeID(nodeID string) SweepNFTOwnedFundsOption
AccessManaPledgeID is an option for SweepNFTOwnedFunds call that defines the nodeID to pledge access mana to.
func Alias ¶
func Alias(aliasID string) SweepNFTOwnedFundsOption
Alias specifies which an aliasID that is checked for available funds.
func ConsensusManaPledgeID ¶
func ConsensusManaPledgeID(nodeID string) SweepNFTOwnedFundsOption
ConsensusManaPledgeID is an option for SweepNFTOwnedFunds call that defines the nodeID to pledge consensus mana to.
func ToAddress ¶
func ToAddress(address string) SweepNFTOwnedFundsOption
ToAddress specifies the optional receiving address.
func WaitForConfirmation ¶
func WaitForConfirmation(wait bool) SweepNFTOwnedFundsOption
WaitForConfirmation defines if the call should wait for confirmation before it returns.
type SweepNFTOwnedFundsOptions ¶
type SweepNFTOwnedFundsOptions struct { AccessManaPledgeID string ConsensusManaPledgeID string Alias *ledgerstate.AliasAddress ToAddress ledgerstate.Address WaitForConfirmation bool }
SweepNFTOwnedFundsOptions is a struct that is used to aggregate the optional parameters in the SweepNFTOwnedFunds call.
func Build ¶
func Build(options ...SweepNFTOwnedFundsOption) (result *SweepNFTOwnedFundsOptions, err error)
Build build the options.