Pinax
    Standard Ethereum JSON-RPC 2.0
    Resources & endpoints
    state

    eth_getBalance

    Get balance

    Returns the wei balance of an account at a given block.
    POST
    https://eth.rpc.pinax.network/v1/<API_KEY>/

    Required parameters

    NameTypeDescription
    addressrequired
    address20-byte account address.
    e.g. 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
    blockrequired
    blockBlock number (hex), tag (latest, earliest, pending, safe, finalized), or block hash.
    e.g. latest

    Request body

    {
      "jsonrpc": "2.0",
      "id": 1,
      "method": "eth_getBalance",
      "params": [
        "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
        "latest"
      ]
    }

    Response

    200 OK

    Hex-encoded wei balance.

    {
      "jsonrpc": "2.0",
      "id": 1,
      "result": "0x4563918244f40000"
    }