Documentation ¶
Index ¶
- type Client
- func (c *Client) ChainID() (*big.Int, error)
- func (c *Client) CreateCallMessage(from common.Address, to common.Address, value *big.Int, data []byte) (*ethereum.CallMsg, error)
- func (c *Client) CreateTransaction(msg ethereum.CallMsg, gasMultiplier float64) (*types.Transaction, error)
- func (c *Client) ReadLogs(fromBlock *big.Int, toBlock *big.Int, contractABI abi.ABI, ...) ([]interface{}, error)
- func (c *Client) SendTransaction(tx *types.Transaction) (*string, error)
- type ClientError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) CreateCallMessage ¶
func (*Client) CreateTransaction ¶
func (c *Client) CreateTransaction(msg ethereum.CallMsg, gasMultiplier float64) (*types.Transaction, error)
func (*Client) SendTransaction ¶
func (c *Client) SendTransaction(tx *types.Transaction) (*string, error)
type ClientError ¶
type ClientError uint
const ( Unknown ClientError = common.ErrorDomainWallet + iota BadRPCConnection GasEstimateFailed TransactionFailed )
func (ClientError) Error ¶
func (e ClientError) Error() string
Click to show internal directories.
Click to hide internal directories.