Skip to main content

Documentation Index

Fetch the complete documentation index at: https://polynode.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Both SDKs include a method to send JSON-RPC requests through rpc.polynode.dev. Transaction submission goes directly to the current block-producing validator for optimal inclusion. Read calls are served from our P2P infrastructure.

Usage

// Block number (served locally, no external call)
const blockNum = await pn.rpc('eth_blockNumber');

// Gas price (from PolyNode's gas oracle)
const gasPrice = await pn.rpc('eth_gasPrice');

// Read calls (proxied to public RPC)
const balance = await pn.rpc('eth_getBalance', ['0xabc...', 'latest']);
const block = await pn.rpc('eth_getBlockByNumber', ['latest', false]);
See the RPC documentation for the full list of supported methods and limitations.