Documentation
¶
Index ¶
- Variables
- func GetAddress() ([]byte, error)
- func GetNonce(t *testing.T, block string, addr string) hexutil.Uint64
- func GetTransactionReceipt(t *testing.T, hash ethcmn.Hash) map[string]interface{}
- func UnlockAllAccounts(t *testing.T)
- func WaitForReceipt(t *testing.T, hash ethcmn.Hash) map[string]interface{}
- type RPCError
- type Request
- type Response
Constants ¶
This section is empty.
Variables ¶
View Source
var (
HOST = os.Getenv("HOST")
)
Functions ¶
func GetAddress ¶
func GetTransactionReceipt ¶
nolint
func UnlockAllAccounts ¶
Types ¶
type Request ¶
type Request struct {
Version string `json:"jsonrpc"`
Method string `json:"method"`
Params interface{} `json:"params"`
ID int `json:"id"`
}
func CreateRequest ¶
type Response ¶
type Response struct {
Error *RPCError `json:"error"`
ID int `json:"id"`
Result json.RawMessage `json:"result,omitempty"`
}
func CallWithError ¶
Click to show internal directories.
Click to hide internal directories.