GoChain RPC Proxy

This is an example call for eth_getBlockByNumber.

Request

{
  "jsonrpc": "2.0",
  "id": "1",
  "method": "eth_getBlockByNumber",
  "params": [
    "latest",
    false
  ]
}

Response

{
  "jsonrpc": "2.0",
  "id": "1",
  "result": {
    "difficulty": "0x3",
    "extraData": "0x476f436861696e20320000000000000000000000000000000000000000000000",
    "gasLimit": "0x822d320",
    "gasUsed": "0x0",
    "hash": "0x1a6358db481b3caed0f4136fe70311539a41cb56f93379c70095de1229b5bea1",
    "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
    "miner": "0xdd7e460302a911f9162a208370cdcdc37b892453",
    "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "nonce": "0x0000000000000000",
    "number": "0xba6e45",
    "parentHash": "0xe007a84ba8289a4d449437086ab593d32d06ecd86f6cd9999593011fb79f7a3f",
    "receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
    "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
    "signer": "0x6c1707399888cd249e949c029033a0e81fd62fb5781c2d7741e6184e74bae60c29e0de4480d9ee0260081424a89a9187d43f2ad9e8a5ac55022fe4bb4d96a67200",
    "signers": [],
    "size": "0x265",
    "stateRoot": "0xa40d1a09cad41b849f43cbbdf234ef6f341f6d1dba4bbc9ce3371598b2194adb",
    "timestamp": "0x5edaed7e",
    "totalDifficulty": "0x387eee7",
    "transactions": [],
    "transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
    "uncles": [],
    "voters": []
  }
}