Quicknode RPC icon

Quicknode RPC

Interact with blockchain via Quicknode RPC

Custom RPC

AI-generated

Summary

Execute a custom JSON-RPC method against a Quicknode Ethereum node.

Inputs

  • rpcMethod (required) — The JSON-RPC method name (e.g., 'eth_getBalance').
  • rpcParams — Parameters for the method, provided as a JSON array (default is empty array).

Output shape

One item per input item containing the raw result, the executed method name, and the network name.

Standard Quicknode network name (e.g., 'mainnet', 'goerli'). No additional formatting is applied to the result.

Examples

Example 1: Retrieve the latest block number using the 'eth_blockNumber' method.

rpcMethod: eth_blockNumber, rpcParams: []

Example 2: Get the balance of a specific address in wei.

rpcMethod: eth_getBalance, rpcParams: ["0x123...", "latest"]

Links

Discussion