Documentation ¶
Index ¶
- Variables
- type AddressBuilder
- type Client
- func (client *Client) FetchBalance(ctx context.Context, address xc.Address) (xc.AmountBlockchain, error)
- func (client *Client) FetchLegacyTxInfo(ctx context.Context, txHash xc.TxHash) (xc.LegacyTxInfo, error)
- func (client *Client) FetchLegacyTxInput(ctx context.Context, from xc.Address, to xc.Address) (xc.TxInput, error)
- func (client *Client) FetchNativeBalance(ctx context.Context, address xc.Address) (xc.AmountBlockchain, error)
- func (client *Client) FetchTransferInput(ctx context.Context, args xcbuilder.TransferArgs) (xc.TxInput, error)
- func (client *Client) FetchTxInfo(ctx context.Context, txHash xc.TxHash) (xclient.TxInfo, error)
- func (client *Client) SubmitTx(ctx context.Context, txInput xc.Tx) error
- type LegacyEvmTxBuilder
- type Tx
- type TxBuilder
- func (txBuilder TxBuilder) NewNativeTransfer(from xc.Address, to xc.Address, amount xc.AmountBlockchain, input xc.TxInput) (xc.Tx, error)
- func (txBuilder TxBuilder) NewTask(from xc.Address, to xc.Address, amount xc.AmountBlockchain, input xc.TxInput) (xc.Tx, error)
- func (txBuilder TxBuilder) NewTokenTransfer(from xc.Address, to xc.Address, amount xc.AmountBlockchain, input xc.TxInput) (xc.Tx, error)
- func (txBuilder TxBuilder) NewTransfer(from xc.Address, to xc.Address, amount xc.AmountBlockchain, input xc.TxInput) (xc.Tx, error)
- func (txBuilder TxBuilder) Transfer(args xcbuilder.TransferArgs, input xc.TxInput) (xc.Tx, error)
- type TxInput
Constants ¶
This section is empty.
Variables ¶
View Source
var CheckError = evm.CheckError
View Source
var DefaultMaxTipCapGwei uint64 = 5
View Source
var NewAddressBuilder = evmaddress.NewAddressBuilder
Functions ¶
This section is empty.
Types ¶
type AddressBuilder ¶
type AddressBuilder = evmaddress.AddressBuilder
type Client ¶
func (*Client) FetchBalance ¶
func (*Client) FetchLegacyTxInfo ¶
func (*Client) FetchLegacyTxInput ¶
func (*Client) FetchNativeBalance ¶
func (*Client) FetchTransferInput ¶
func (*Client) FetchTxInfo ¶
type LegacyEvmTxBuilder ¶
type LegacyEvmTxBuilder struct { }
supports evm before london merge
func (*LegacyEvmTxBuilder) BuildTxWithPayload ¶
func (*LegacyEvmTxBuilder) BuildTxWithPayload(chain *xc.ChainConfig, to xc.Address, value xc.AmountBlockchain, data []byte, inputRaw xc.TxInput) (xc.Tx, error)
type TxBuilder ¶
type TxBuilder evmbuilder.TxBuilder
TxBuilder for EVM
func NewTxBuilder ¶
NewTxBuilder creates a new EVM TxBuilder
func (TxBuilder) NewNativeTransfer ¶
func (TxBuilder) NewTokenTransfer ¶
func (TxBuilder) NewTransfer ¶
type TxInput ¶
func NewTxInput ¶
func NewTxInput() *TxInput
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.