Documentation
¶
Index ¶
- type TxInput
- func (input *TxInput) GetDriver() xc.Driver
- func (input *TxInput) GetFeeLimit() (xc.AmountBlockchain, xc.ContractAddress)
- func (input *TxInput) IndependentOf(other xc.TxInput) (independent bool)
- func (input *TxInput) SafeFromDoubleSend(others ...xc.TxInput) (safe bool)
- func (input *TxInput) SetGasFeePriority(other xc.GasFeePriority) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TxInput ¶
type TxInput struct { xc.TxInputEnvelope // Nonce of the account, incremented for each transaction Nonce uint64 // GasLimit is the maximum amount of gas that can be used for the transaction GasLimit uint64 // GasFeeCap is the maximum amount of gas fee that user is willing to pay GasFeeCap xc.AmountBlockchain // GasPremium is the amount of gas fee that user is willing to pay // per unit of gas GasPremium xc.AmountBlockchain }
Filecoin TxInput
func NewTxInput ¶
func NewTxInput() *TxInput
func (*TxInput) GetFeeLimit ¶
func (input *TxInput) GetFeeLimit() (xc.AmountBlockchain, xc.ContractAddress)
func (*TxInput) IndependentOf ¶
func (*TxInput) SafeFromDoubleSend ¶
func (*TxInput) SetGasFeePriority ¶
func (input *TxInput) SetGasFeePriority(other xc.GasFeePriority) error
Click to show internal directories.
Click to hide internal directories.