Documentation ¶
Index ¶
- type Client
- func (c *Client) GetBalance(address, blk string) (*big.Int, error)
- func (c *Client) GetCode(address, blk string) ([]byte, error)
- func (c *Client) GetCodeAndStorageAt(address, position, blk string) ([]byte, common.Hash, error)
- func (c *Client) GetStorageAt(address, position, blk string) (common.Hash, error)
- type ErrResponse
- type RPCRequest
- type RPCResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrResponse ¶
func (*ErrResponse) Error ¶
func (e *ErrResponse) Error() string
type RPCRequest ¶
type RPCResponse ¶
type RPCResponse struct { ID int `json:"id"` JSONRpc string `json:"jsonrpc"` Result json.RawMessage `json:"result"` Err *ErrResponse `json:"error,omitempty"` }
Click to show internal directories.
Click to hide internal directories.