Versions in this module Expand all Collapse all v0 v0.6.0 Dec 14, 2021 Changes in this version + const DefaultClientRPCURL + const FallbackMaxFeePerGas + const FeeHistoryBlocks + const FeeHistoryPercentile + var DefaultPriorityFee = big.NewInt(3000000000) + var Encode = evm.Encode + var NewAddressDecoder = evm.NewAddressDecoder + var NewAddressEncodeDecoder = evm.NewAddressEncodeDecoder + var NewAddressEncoder = evm.NewAddressEncoder + var NewAddressFromHex = evm.NewAddressFromHex + var NewClient = evm.NewClient + var PriorityFeeEstimationTrigger = big.NewInt(100000000000) + var PriorityFeeIncreaseBoundary = big.NewInt(200) + type Address = evm.Address + type AddressDecoder = evm.AddressDecoder + type AddressEncodeDecoder = evm.AddressEncodeDecoder + type AddressEncoder = evm.AddressEncoder + type Client = evm.Client + type GasEstimator struct + func NewDefaultGasEstimator(client *Client) *GasEstimator + func NewGasEstimator(client *Client, opts GasOptions) *GasEstimator + func (gasEstimator *GasEstimator) EstimateGas(ctx context.Context) (pack.U256, pack.U256, error) + type GasOptions struct + DefaultPriorityFee *big.Int + FallbackMaxFeePerGas uint64 + FeeHistoryBlocks uint64 + FeeHistoryPercentile uint64 + PriorityFeeEstimationTrigger *big.Int + PriorityFeeIncreaseBoundary *big.Int + type Payload = evm.Payload + type TxBuilder struct + ChainID *big.Int + func NewTxBuilder(chainID *big.Int) TxBuilder + func (txBuilder TxBuilder) BuildTx(ctx context.Context, fromPubKey *id.PubKey, to address.Address, ...) (account.Tx, error)