tx_input

package
v0.0.0-...-d4ead40 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: Apache-2.0, MIT Imports: 5 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"`
	PublicKey          []byte              `json:"public_key,omitempty"`
	Fee                xc.AmountBlockchain `json:"fee,omitempty"`
}

TxInput for Template

func NewTxInput

func NewTxInput() *TxInput

func (*TxInput) GetDriver

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

func (*TxInput) GetFeeLimit

func (input *TxInput) GetFeeLimit() (xc.AmountBlockchain, xc.ContractAddress)

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) 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
JackTT - Gopher 🇻🇳