tx_input

package
v0.0.0-...-4f6eca2 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: Apache-2.0, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TxInput

type TxInput struct {
	xc.TxInputEnvelope
	Sequence           int64  `json:"Sequence"`
	LastLedgerSequence int64  `json:"LastLedgerSequence"`
	LegacyMemo         string `json:"Memo,omitempty"`
	PublicKey          []byte
}

TxInput for Template

func NewTxInput

func NewTxInput() *TxInput

func (*TxInput) GetDriver

func (input *TxInput) GetDriver() xc.Driver

func (*TxInput) GetPublicKey

func (input *TxInput) GetPublicKey() []byte

func (*TxInput) IndependentOf

func (input *TxInput) IndependentOf(other xc.TxInput) (independent bool)

func (*TxInput) SafeFromDoubleSend

func (input *TxInput) SafeFromDoubleSend(others ...xc.TxInput) (safe bool)

func (*TxInput) SetGasFeePriority

func (input *TxInput) SetGasFeePriority(other xc.GasFeePriority) error

func (*TxInput) SetMemo

func (input *TxInput) SetMemo(memo string)

func (*TxInput) SetPublicKey

func (input *TxInput) SetPublicKey(publicKey []byte) error

func (*TxInput) SetPublicKeyFromStr

func (input *TxInput) SetPublicKeyFromStr(publicKeyStr string) error

Jump to

Keyboard shortcuts

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