Agentic Portal

NEAR JSON-RPC

blockchain
Serving

Read-only JSON-RPC access to NEAR Protocol mainnet, served by the Pocket Network decentralised supplier set. Pay per request in USDC; no account, no API key.

Endpoint
POST https://agent.pocket.network/v1/near
Price per call
$0.005 USD
Networks payable on
Base (eip155:8453), Tempo (eip155:4217)
Protocol
jsonrpc

Calling it

The first call returns 402 Payment Required with the terms. Sign for those terms and retry the same request with the payment attached.

Example request

A real, working call — the request the service card verifies against.

curl -X POST https://agent.pocket.network/v1/near \
  -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":3,"method":"block","params":{"finality":"final"}}'
Example response

The response this call returned, captured 2026-09-21 23:48:24 UTC.

{
  "portal": {
    "provenance": "third-party-supplier",
    "serviceId": "near",
    "schemaCheck": "passed"
  },
  "data": {
    "jsonrpc": "2.0",
    "id": 3,
    "result": {
      "author": "bitwise_1.poolv1.near",
      "chunks": [
        {
          "balance_burnt": "155029063106800000000",
          "bandwidth_requests": {
            "V1": "…"
          },
          "chunk_hash": "CinN6Y5E4JL4cy5cKgpB7zNdMYXHkkcjNDsD3xdYqETy",
          "congestion_info": {
            "allowed_shard": 6,
            "buffered_receipts_gas": "0",
            "delayed_receipts_gas": "0",
            "receipt_bytes": 0
          },
          "encoded_length": 173,
          "encoded_merkle_root": "3go65vs8xZ7LvhDz7Fmw4NDqCUkxjCJsrJpWGAR89tNW",
          "gas_limit": 1000000000000000,
          "gas_used": 1833998564637,
          "height_created": 216694826,
          "height_included": 216694826,
          "outcome_root": "8oHTRo3z71Q3W1wK4gGQpVMHPqExh45vuWDifPp3kWB",
          "outgoing_receipts_root": "EzbZsugfvBSq423pBKpZqeQv78HwCYzfLFZk8h4DUdrE",
          "prev_block_hash": "5jtBnFgSw7kxEVyikHMEybXxL3hwjUKaUgCPKq9ZHVkw",
          "prev_state_root": "HWGmYd4XEaPw8SKp3bfVWY9kftFrhruJwaCntCDFTkT9",
          "proposed_split": null,
          "rent_paid": "0",
          "shard_id": 10,
          "signature": "ed25519:5qtyPJ4E9Hi8tPdtrDompmnz78eaRvzbDGLXTHVUESggAPKhLWtjVKRTMnNUhjNYet9aLh5wtRDXx8yVh7scgpVJ",
          "tx_root": "11111111111111111111111111111111",
          "validator_proposals": [],
          "validator_reward": "0"
        },
        {
          "balance_burnt": "222745051404100000000",
          "bandwidth_requests": {
            "V1": "…"
          },
          "chunk_hash": "4TevCab3ZkCjjxN6Pke45dJuJF7uV1d6yFkUSynydYLi",
          "congestion_info": {
            "allowed_shard": 7,
            "buffered_receipts_gas": "0",
            "delayed_receipts_gas": "0",
            "receipt_bytes": 0
          },
          "encoded_length": 1092,
          "encoded_merkle_root": "45LAAE8TyJ7raDuqHGSBcisbzUPJAhyG1HqhRH5uKx3A",
          "gas_limit": 1000000000000000,
          "gas_used": 2580934754264,
          "height_created": 216694826,
          "height_included": 216694826,
          "outcome_root": "EvhWAn44Lpe7BrMDGPkCrxvVKaZ7qZPP5xH7fWYU9FW2",
          "outgoing_receipts_root": "47jLomgcmSpcxQ6KSXziKWF5DYVXmRFZ1wKZ6qfwHnnB",
          "prev_block_hash": "5jtBnFgSw7kxEVyikHMEybXxL3hwjUKaUgCPKq9ZHVkw",
          "prev_state_root": "C2uoUJyfdMekgb3uS1wHWcrtukqP51CA95GddWUaa1CV",
          "proposed_split": null,
          "rent_paid": "0",
          "shard_id": 11,
          "signature": "ed25519:5iRLys4tGpEkMgeiMEbiZPtwVGAc2PBWfUok6xLfX5KFkKXfwb3RtkKmytqbqUxVtngkzhqZkKGQhn5LygG7BCGD",
          "tx_root": "11111111111111111111111111111111",
          "validator_proposals": [],
          "validator_reward": "0"
        },
        {
          "balance_burnt": "0",
          "bandwidth_requests": {
            "V1": "…"
          },
          "chunk_hash": "HiGn8MA88ys7N8w9tc34vQqNu1FQbYgN2kKzvpUvVpec",
          "congestion_info": {
            "allowed_shard": 4,
            "buffered_receipts_gas": "0",
            "delayed_receipts_gas": "0",
            "receipt_bytes": 0
          },
          "encoded_length": 8,
          "encoded_merkle_root": "9zYue7drR1rhfzEEoc4WUXzaYRnRNihvRoGt1BgK7Lkk",
          "gas_limit": 1000000000000000,
          "gas_used": 0,
          "height_created": 216694826,
          "height_included": 216694826,
          "outcome_root": "11111111111111111111111111111111",
          "outgoing_receipts_root": "GkXFM5VkSNfBLbDv8igetxFxFj9f3pcsnjKC37w1CzCA",
          "prev_block_hash": "5jtBnFgSw7kxEVyikHMEybXxL3hwjUKaUgCPKq9ZHVkw",
          "prev_state_root": "MDTDZwCxpfzpEYMKviVXWK7GwBzHrmykSLsM6QxJmCG",
          "proposed_split": null,
          "rent_paid": "0",
          "shard_id": 1,
          "signature": "ed25519:5dLNVQWnjgcZakRTRRRnfn9qXx6xYAe34pFQY2zfcWzgrwqdigeDN8VwUG3Vh72yHQCW1UEJJv5TH9Tmh44nG94",
          "tx_root": "11111111111111111111111111111111",
          "validator_proposals": [],
          "validator_reward": "0"
        }
      ],
      "header": {
        "approvals": [
          "ed25519:3EbJMHXVEGBXWNnsaRYQR8UaiJUPBaRLLaBoS742w87BRLHdGBR7Ry4vYJ5ZuvKfvfejyfinKwmVFFg9kF4Ykfvf",
          "ed25519:svjufLcaioGvfZrSZoqjGWTEnBK7fnvMAYoeBPdc9qHLJXti2vy3Lbp1gZjNY7PqrLq3neZQM9g6Xkhd5g5fm2D",
          "ed25519:4b9kJZ6EovjH2uKgbdVBbuoqcLRwNRktYx7JByfK39NGttfCzdGVUkAPGBjHAunC6KNb7TMEYYbfjFK8ArSM9Gce"
        ],
        "block_body_hash": "BVTgkGohsGRRGXKCcxPowrtWnWJiAfdJmN3XjJ484A2T",
        "block_merkle_root": "348Y9ui9CMwAVAjWhzQmXo6ZsnzR6f8znHmLtVoj6vtY",
        "block_ordinal": 206418996,
        "challenges_result": [],
        "challenges_root": "11111111111111111111111111111111",
        "chunk_endorsements": [
          [
            255,
            255,
            255
          ],
          [
            239,
            255,
            255
          ],
          [
            255,
            255,
            255
          ]
        ],
        "chunk_headers_root": "FTrjxBBy8aP7hTdFpz56siSkpKiZ3ikxhp3Tmj8quk98",
        "chunk_mask": [
          true,
          true,
          true
        ],
        "chunk_receipts_root": "FKR1yJLDpLRZaQ7tzQAAvuVvgm4NR3QEB6YU8vJTD88J",
        "chunk_tx_root": "2F2XJJvQMqLBvweVQA5pDntEYKjhhHhheUUYXpnoHFfQ",
        "chunks_included": 10,
        "epoch_id": "9SCupSgMK7RjUFc6erJR9wUAEjkqqxcJep7PQjuDcADq",
        "epoch_sync_data_hash": null,
        "gas_price": "100000000",
        "hash": "5UWMN4gWhJSStXRJyC3jztbfz2EQzwuNdjt5Uxkmg2v4",
        "height": 216694826,
        "last_ds_final_block": "5jtBnFgSw7kxEVyikHMEybXxL3hwjUKaUgCPKq9ZHVkw",
        "last_final_block": "UZmoNtJuXc81kjjr9ZeLBfoNo8m95fZD1BXgHHRQ2zV",
        "latest_protocol_version": 86,
        "next_bp_hash": "B8WP3zdg42BAE8t9ZWrz3E8mhxLKa7oiSNAVuH7NMPdV",
        "next_epoch_id": "98UAhpj5dZ1QnSME7rGAWi2sfbKeHdZhaUm5DvzqHsZz",
        "outcome_root": "3E3BGKXhwbRJvkVNiPDzNhpxDnEcf6ChcgeVsbgYGDZP",
        "prev_hash": "5jtBnFgSw7kxEVyikHMEybXxL3hwjUKaUgCPKq9ZHVkw",
        "prev_height": 216694825,
        "prev_state_root": "BStwhPr743pC42pkRJrstrxosRTRz5rPzGN2Krx67tAR",
        "random_value": "GJQ8Av3pe89KQ8J4WgbFe9CLuxnp7diK8jZEBpDSuJo3",
        "rent_paid": "0",
        "shard_split": null,
        "signature": "ed25519:5nrLDuWBiL5zmPPGATXDTHbpDtPL1AMwdPyaYS1KyoEs9h4WC7UsQJPvdD7otFR4hBaKb6b6VCp77UtgqRTS3Rj4",
        "…": "+5 more field(s)"
      }
    }
  }
}

Try it

Make one real paid call from your own wallet — about $0.005 on Base (eip155:8453). The wallet signs; nothing here holds a key. You'll see exactly what the service answers.

No browser wallet found. Install MetaMask, Rabby, or Coinbase Wallet to try a call here.

Supported methods

Methods the registry lists for this service. The portal forwards any call as sent; the supplier decides what it answers, and a delivered answer is settled.

Methods NEAR JSON-RPC accepts, and whether each reads or writes.
MethodEffect
EXPERIMENTAL_changesread
EXPERIMENTAL_changes_in_blockread
EXPERIMENTAL_congestion_levelread
EXPERIMENTAL_genesis_configread
EXPERIMENTAL_light_client_block_proofread
EXPERIMENTAL_light_client_proofread
EXPERIMENTAL_maintenance_windowsread
EXPERIMENTAL_protocol_configread
EXPERIMENTAL_receiptread
EXPERIMENTAL_split_storage_inforead
EXPERIMENTAL_tx_statusread
EXPERIMENTAL_validators_orderedread
blockread
changesread
chunkread
client_configread
gas_priceread
genesis_configread
healthread
light_client_proofread
maintenance_windowsread
network_inforead
next_light_client_blockread
queryread
statusread
txread
validatorsread

Schemas

Published by the service itself. The example above is generated from these.

Request schema
{
  "type": "object",
  "properties": {
    "method": {
      "type": "string",
      "description": "JSON-RPC read method, e.g. query",
      "examples": [
        "EXPERIMENTAL_changes",
        "EXPERIMENTAL_changes_in_block",
        "EXPERIMENTAL_congestion_level",
        "EXPERIMENTAL_genesis_config",
        "EXPERIMENTAL_light_client_block_proof",
        "EXPERIMENTAL_light_client_proof",
        "EXPERIMENTAL_maintenance_windows",
        "EXPERIMENTAL_protocol_config",
        "EXPERIMENTAL_receipt",
        "EXPERIMENTAL_split_storage_info",
        "EXPERIMENTAL_tx_status",
        "EXPERIMENTAL_validators_ordered",
        "block",
        "changes",
        "chunk",
        "client_config",
        "gas_price",
        "genesis_config",
        "health",
        "light_client_proof",
        "maintenance_windows",
        "network_info",
        "next_light_client_block",
        "query",
        "status",
        "tx",
        "validators"
      ]
    },
    "params": {
      "description": "Parameters per the NEAR RPC spec (positional or named)"
    }
  },
  "required": [
    "method"
  ]
}
Response schema
{
  "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 per the NEAR RPC specification; NEAR conventionally echoes a string id.",
  "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": "dontcare",
      "result": {
        "gas_price": "100000000"
      }
    }
  ]
}