sweepnftownednftsoptions

package
v0.7.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2021 License: Apache-2.0, BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SweepNFTOwnedNFTsOption

type SweepNFTOwnedNFTsOption func(options *SweepNFTOwnedNFTsOptions) error

SweepNFTOwnedNFTsOption is a function that provides an option.

func AccessManaPledgeID

func AccessManaPledgeID(nodeID string) SweepNFTOwnedNFTsOption

AccessManaPledgeID is an option for SweepNFTOwnedFunds call that defines the nodeID to pledge access mana to.

func Alias

func Alias(aliasID string) SweepNFTOwnedNFTsOption

Alias specifies which an aliasID that is checked for available funds.

func ConsensusManaPledgeID

func ConsensusManaPledgeID(nodeID string) SweepNFTOwnedNFTsOption

ConsensusManaPledgeID is an option for SweepNFTOwnedFunds call that defines the nodeID to pledge consensus mana to.

func ToAddress

func ToAddress(address string) SweepNFTOwnedNFTsOption

ToAddress specifies the optional receiving address.

func WaitForConfirmation

func WaitForConfirmation(wait bool) SweepNFTOwnedNFTsOption

WaitForConfirmation defines if the call should wait for confirmation before it returns.

type SweepNFTOwnedNFTsOptions

type SweepNFTOwnedNFTsOptions struct {
	AccessManaPledgeID    string
	ConsensusManaPledgeID string
	Alias                 *ledgerstate.AliasAddress
	ToAddress             ledgerstate.Address
	WaitForConfirmation   bool
}

SweepNFTOwnedNFTsOptions is a struct that is used to aggregate the optional parameters in the sweepNFTOwnedNFTs call.

func Build

func Build(options ...SweepNFTOwnedNFTsOption) (result *SweepNFTOwnedNFTsOptions, err error)

Build builds the options.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL