GoChain RPC Proxy

This is an example call for eth_getBlockByHash.

Request

{
  "jsonrpc": "2.0",
  "id": "1",
  "method": "eth_getBlockByHash",
  "params": [
    "0x2c9c3FF339e1a38340987cd7fc5982Be7E39936d",
    false
  ]
}

Response

{
  "jsonrpc": "2.0",
  "id": "1",
  "error": {
    "code": -32602,
    "message": "invalid argument 0: hex string has length 40, want 64 for common.Hash"
  }
}