Pinax
    Standard Ethereum JSON-RPC 2.0
    Resources & endpoints
    execution

    eth_call

    Simulate a call

    Executes a read-only contract call against the given block state. No transaction is broadcast.
    POST
    https://eth.rpc.pinax.network/v1/<API_KEY>/

    Required parameters

    NameTypeDescription
    torequired
    addressContract address being called.
    e.g. 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
    datarequired
    hexABI-encoded call data.
    e.g. 0x18160ddd
    blockrequired
    blockBlock number (hex) or tag.
    e.g. latest

    Optional parameters

    NameTypeDescription
    from
    addressOptional sender to use for the simulation.

    Request body

    {
      "jsonrpc": "2.0",
      "id": 1,
      "method": "eth_call",
      "params": [
        "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
        "0x18160ddd",
        null,
        "latest"
      ]
    }

    Response

    200 OK

    Hex-encoded ABI return data.

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