Versions in this module Expand all Collapse all v0 v0.1.0 Apr 21, 2023 Changes in this version + const DefaultGasLimit + const DefaultGasPrice + const DefaultRPCAddress + type TxRelayer interface + Call func(from ethgo.Address, to ethgo.Address, input []byte) (string, error) + SendTransaction func(txn *ethgo.Transaction, key ethgo.Key) (*ethgo.Receipt, error) + SendTransactionLocal func(txn *ethgo.Transaction) (*ethgo.Receipt, error) + func NewTxRelayer(opts ...TxRelayerOption) (TxRelayer, error) + type TxRelayerImpl struct + func (t *TxRelayerImpl) Call(from ethgo.Address, to ethgo.Address, input []byte) (string, error) + func (t *TxRelayerImpl) SendTransaction(txn *ethgo.Transaction, key ethgo.Key) (*ethgo.Receipt, error) + func (t *TxRelayerImpl) SendTransactionLocal(txn *ethgo.Transaction) (*ethgo.Receipt, error) + type TxRelayerOption func(*TxRelayerImpl) + func WithClient(client *jsonrpc.Client) TxRelayerOption + func WithIPAddress(ipAddress string) TxRelayerOption + func WithReceiptTimeout(receiptTimeout time.Duration) TxRelayerOption