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": {
    "baseFeePerGas": "0x7",
    "difficulty": "0x0",
    "extraData": "0xd983010c01846765746889676f312e32302e3134856c696e7578",
    "gasLimit": "0x1c9c380",
    "gasUsed": "0xa410",
    "hash": "0x896076c1a5ef29129712a4cc4d18f85cebbbe39f8cd76a0c23b7490643ff1861",
    "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
    "miner": "0xf97e180c050e5ab072211ad2c213eb5aee4df134",
    "mixHash": "0x2c20c7227c798095bd176dc2ab621ed15365b0311edfdd357a4705e01d7affd0",
    "nonce": "0x0000000000000000",
    "number": "0x1d768",
    "parentHash": "0x6916798687ddf382d53241ee8eaf10ee5faf16c0a982269f760785d7d7c6c3d7",
    "receiptsRoot": "0xd95b673818fa493deec414e01e610d97ee287c9421c8eff4102b1647c1a184e4",
    "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
    "size": "0x324",
    "stateRoot": "0x0436880fcb0902265d1d11529fc520638cfb2a3d39896df64c7492b50175f8c3",
    "timestamp": "0x6737118c",
    "totalDifficulty": "0x1",
    "transactions": [
      "0xcd6a74130d49d9ec1fc045b281ddedb5f94d782d283d2887097aee61bc7d3fa8",
      "0xe8d14cdc0352d36a14f10239d1d2f5d6d02dd6bafd74b4cc7bca8360515daa99"
    ],
    "transactionsRoot": "0xf845eca893507dc0148a914501eaeea3109227adbb77623b1c9c75d603ba43e0",
    "uncles": [],
    "withdrawals": [],
    "withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
  }
}