Documentation ¶
Index ¶
- type Builder
- func (b *Builder) BaseTx(outs []*avax.TransferableOutput, memo []byte, kc *secp256k1fx.Keychain, ...) (*txs.Tx, error)
- func (b *Builder) CreateAssetTx(name, symbol string, denomination byte, ...) (*txs.Tx, error)
- func (b *Builder) ExportTx(destinationChain ids.ID, to ids.ShortID, exportedAssetID ids.ID, ...) (*txs.Tx, error)
- func (b *Builder) ImportTx(sourceChain ids.ID, to ids.ShortID, kc *secp256k1fx.Keychain) (*txs.Tx, error)
- func (b *Builder) MintFTs(outputs map[ids.ID]*secp256k1fx.TransferOutput, kc *secp256k1fx.Keychain, ...) (*txs.Tx, error)
- func (b *Builder) MintNFT(assetID ids.ID, payload []byte, owners []*secp256k1fx.OutputOwners, ...) (*txs.Tx, error)
- func (b *Builder) Operation(ops []*txs.Operation, kc *secp256k1fx.Keychain, changeAddr ids.ShortID) (*txs.Tx, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func (*Builder) CreateAssetTx ¶
func (*Builder) MintFTs ¶
func (b *Builder) MintFTs( outputs map[ids.ID]*secp256k1fx.TransferOutput, kc *secp256k1fx.Keychain, changeAddr ids.ShortID, ) (*txs.Tx, error)
func (*Builder) MintNFT ¶
func (b *Builder) MintNFT( assetID ids.ID, payload []byte, owners []*secp256k1fx.OutputOwners, kc *secp256k1fx.Keychain, changeAddr ids.ShortID, ) (*txs.Tx, error)
Click to show internal directories.
Click to hide internal directories.