Api Endpoint

Pocket Network

Read-only JSON-RPC access to zkSync Era, the ZK rollup on Ethereum, served by the Pocket Network decentralised supplier set. Pay per request in USDC; no account, no API key.

Open interactive test console

Offering

Provider
agent.pocket.network
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://agent.pocket.network/v1/zksync-era
MIME type
application/json
First seen
2026-10-16T01:50:19.913Z
Last seen
Tags
blockchain, zksync-era, jsonrpc

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0xF732ea490c5766071785a2310523f7fA2CEbB829"
  }
]

Observed health

Status
Reachable
Latest latency
393 ms
Average latency
460 ms
HTTP status
405
Last checked
Reachability
100% over 20 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "POST",
        "PUT",
        "PATCH"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "type": "object",
      "properties": {
        "method": {
          "type": "string",
          "description": "JSON-RPC read method, e.g. eth_getBalance",
          "examples": [
            "eth_accounts",
            "eth_blockNumber",
            "eth_call",
            "eth_chainId",
            "eth_coinbase",
            "eth_estimateGas",
            "eth_feeHistory",
            "eth_gasPrice",
            "eth_getBalance",
            "eth_getBlockByHash",
            "eth_getBlockByNumber",
            "eth_getBlockReceipts",
            "eth_getBlockTransactionCountByHash",
            "eth_getBlockTransactionCountByNumber",
            "eth_getCode",
            "eth_getFilterChanges",
            "eth_getFilterLogs",
            "eth_getLogs",
            "eth_getStorageAt",
            "eth_getTransactionByBlockHashAndIndex",
            "eth_getTransactionByBlockNumberAndIndex",
            "eth_getTransactionByHash",
            "eth_getTransactionCount",
            "eth_getTransactionReceipt",
            "eth_getUncleCountByBlockHash",
            "eth_getUncleCountByBlockNumber",
            "eth_maxPriorityFeePerGas",
            "eth_newBlockFilter",
            "eth_newFilter",
            "eth_newPendingTransactionFilter",
            "eth_syncing",
            "eth_uninstallFilter",
            "net_listening",
            "net_peerCount",
            "net_version",
            "web3_clientVersion"
          ]
        },
        "params": {
          "description": "Parameters per the Ethereum JSON-RPC spec"
        }
      },
      "required": [
        "method"
      ]
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "portal": {
          "type": "object",
          "properties": {
            "provenance": {
              "const": "third-party-supplier"
            },
            "serviceId": {
              "const": "zksync-era"
            },
            "schemaCheck": {
              "enum": [
                "passed",
                "undeclared",
                "unchecked"
              ]
            }
          },
          "required": [
            "provenance",
            "serviceId",
            "schemaCheck"
          ]
        },
        "data": {
          "type": "object",
          "description": "JSON-RPC 2.0 response envelope. Exactly one of `result` or `error` is present. `result` takes the shape the called method defines: hex-encoded quantities and byte strings per the Ethereum JSON-RPC specification, an object for block and receipt reads.",
          "properties": {
            "jsonrpc": {
              "type": "string",
              "description": "The protocol version, always \"2.0\""
            },
            "id": {
              "type": [
                "string",
                "number",
                "null"
              ],
              "description": "The request id, echoed back"
            },
            "result": {
              "description": "The method's result, in the shape the called method defines. Present when the call succeeded; absent when `error` is."
            },
            "error": {
              "type": "object",
              "description": "Present instead of `result` when the call failed",
              "properties": {
                "code": {
                  "type": "integer",
                  "description": "A JSON-RPC 2.0 error code"
                },
                "message": {
                  "type": "string"
                },
                "data": {
                  "description": "Method-specific detail, when the node supplies it"
                }
              }
            }
          },
          "examples": [
            {
              "jsonrpc": "2.0",
              "id": 1,
              "result": false
            }
          ]
        }
      },
      "required": [
        "portal",
        "data"
      ]
    }
  },
  "required": [
    "type"
  ]
}