Pre-General Availability: 2026-02-23
Generic Passthrough for Besu JSON-RPC
post
/v1/besu/proxy
Forwards the request body as-is to the configured Besu RPC node, and returns the upstream status and body.
Use this for any JSON-RPC method, such as eth_blockNumber or eth_getBalance.
Request
Header Parameters
-
X-Besu-Url: string
Optional upstream JSON-RPC URL override. When provided, the request is forwarded to this URL.
-
X-Request-Id: string
Optional request correlation identifier. Echoed in responses when provided.
Supported Media Types
- application/json
Root Schema : schema
Type:
objectAdditional Properties Allowed:
Show Source
true-
id(required):
id
Client-supplied identifier echoed in the response
-
jsonrpc(required): string
JSON-RPC protocol versionExample:
2.0 -
method(required): string
JSON-RPC method nameExample:
eth_blockNumber -
params(required): array
params
JSON-RPC params array; structure depends on the method
Nested Schema : id
Client-supplied identifier echoed in the response
Match One Schema
Show Source
Example:
1Nested Schema : params
Type:
arrayJSON-RPC params array; structure depends on the method
Show Source
Nested Schema : items
Type:
objectExamples
Back to Top
Response
Supported Media Types
- application/json
200 Response
Successful upstream response
Root Schema : JsonRpcResponse
Type:
objectAdditional Properties Allowed:
Show Source
true-
id:
id
Echoed request identifier
-
jsonrpc: string
JSON-RPC protocol versionExample:
2.0 -
result:
RPC result payload (varies by method)
Examples
4XX Response
Upstream or request error
Root Schema : JsonRpcErrorResponse
Type:
Show Source
object-
error: object
JsonRpcErrorObject
-
id:
id
Echoed request identifier when available
-
jsonrpc: string
JSON-RPC protocol versionExample:
2.0
Nested Schema : JsonRpcErrorObject
Type:
Show Source
object-
code: integer
Example:
-32603 -
data:
Upstream-supplied error data payload (type varies by method)
-
message: string
Example:
Internal error
5XX Response
Upstream or proxy error
Root Schema : JsonRpcErrorResponse
Type:
Show Source
object-
error: object
JsonRpcErrorObject
-
id:
id
Echoed request identifier when available
-
jsonrpc: string
JSON-RPC protocol versionExample:
2.0
Nested Schema : JsonRpcErrorObject
Type:
Show Source
object-
code: integer
Example:
-32603 -
data:
Upstream-supplied error data payload (type varies by method)
-
message: string
Example:
Internal error