Documentation
¶
Index ¶
- Variables
- func NewTxBuilder(asset xc.ITask) (xc.TxBuilder, error)
- 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) FetchNativeBalance(ctx context.Context, address xc.Address) (xc.AmountBlockchain, error)
- func (client *Client) FetchTxInfo(ctx context.Context, txHash xc.TxHash) (xclient.TxInfo, error)
- func (client *Client) FetchTxInput(ctx context.Context, from xc.Address, to xc.Address) (xc.TxInput, error)
- func (client *Client) SubmitTx(ctx context.Context, txInput xc.Tx) error
- type LegacyEvmTxBuilder
- type Tx
- type TxBuilder
- type TxInput
Constants ¶
This section is empty.
Variables ¶
View Source
var CheckError = evm.CheckError
View Source
var DefaultMaxTipCapGwei uint64 = 5
View Source
var NewAddressBuilder = evm.NewAddressBuilder
View Source
var NewSigner = evm.NewSigner
Functions ¶
Types ¶
type AddressBuilder ¶
type AddressBuilder = evm.AddressBuilder
type Client ¶
func (*Client) FetchBalance ¶
func (*Client) FetchLegacyTxInfo ¶
func (*Client) FetchNativeBalance ¶
func (*Client) FetchTxInfo ¶
func (*Client) FetchTxInput ¶
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)
Click to show internal directories.
Click to hide internal directories.