RPC

JSON-RPC proxy

Send a single JSON-RPC request or a JSON-RPC batch (array). Replace {apiKey} with your actual API key.

post/rpc/{chainId}/{apiKey}

Path parameters

chainIdstring required

Chain ID (e.g. 1 for Ethereum, 137 for Polygon, 8453 for Base).

apiKeystring password required

Your RouteMesh API key (from the dashboard).

Request body

OR

Response

JSON-RPC response (single or batch)

OR

Changes

Changed in 3 of the 14 revisions of this API.881

    • removed the media type application/json for the response with the status 400

      response-media-type-removed

    • removed the media type application/json for the response with the status 422

      response-media-type-removed

    • removed the media type application/json for the response with the status 424

      response-media-type-removed

    • removed the media type application/json for the response with the status 429

      response-media-type-removed

    • removed the media type application/json for the response with the status 504

      response-media-type-removed

    • removed the media type text/plain for the response with the status 401

      response-media-type-removed

    • removed the media type text/plain for the response with the status 403

      response-media-type-removed

    • the optional response header X-Batch-Id removed for the status 400

      optional-response-header-removed

    • the optional response header X-Batch-Id removed for the status 401

      optional-response-header-removed

    • the optional response header X-Batch-Id removed for the status 403

      optional-response-header-removed

    • the optional response header X-Batch-Id removed for the status 422

      optional-response-header-removed

    • the optional response header X-Batch-Id removed for the status 424

      optional-response-header-removed

    • the optional response header X-Batch-Id removed for the status 429

      optional-response-header-removed

    • the optional response header X-Batch-Id removed for the status 500

      optional-response-header-removed

    • the optional response header X-Batch-Id removed for the status 504

      optional-response-header-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 27 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog