karatBC 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": "0x4b61726174204e6f646520494900000000000000000000000000000000000000",
    "gasLimit": "0x822d320",
    "gasUsed": "0x0",
    "hash": "0x8079b6204288f6c575b72851f1b4e5affd670520fd2324d711ead65badda88ef",
    "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
    "miner": "0x3939bd0504c038de7e9a115c6560e38b6f2027ba",
    "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "nonce": "0x0000000000000000",
    "number": "0xd8ab7c",
    "parentHash": "0xddc0ec905fb6d4d9a4bcfbdc22b4917ca46d1211bf995fdee03f58594ac1716d",
    "receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
    "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
    "signer": "0x930de285d50648dc75e9cd18f68d8baa2ea3a995d0768ca3a3d22299f21f8e0d4b639b39121c09105afd03ec578b9a6f38a57a221b8886e20c03e3ceb8881c8a00",
    "signers": [],
    "size": "0x265",
    "stateRoot": "0xc5e4aa726cffc2f16653f701fc54005bd7efb7c01d456b1697064ee8e23e2314",
    "timestamp": "0x678b0c41",
    "totalDifficulty": "0x298e531",
    "transactions": [],
    "transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
    "uncles": [],
    "voters": []
  }
}