Skip to main content

RPC

PressChain V3 exposes an Ethereum-compatible JSON-RPC surface at the canonical public endpoint:
The RPC is the most direct read path into chain state and the transport used for signed transaction submission. Application APIs and indexers can make higher-level queries easier, but they do not replace JSON-RPC as the underlying protocol interface.

Basic request

JSON-RPC requests are HTTP POST bodies with a protocol version, request ID, method and parameter array.
A healthy response returns a hexadecimal block number in result.

Useful read methods

Developers building a PressChain client will commonly use standard Ethereum RPC methods such as:

Browser use

For user actions, prefer PressKey rather than sending unsigned transaction material to your own server.
PressKey exposes an EIP-style request API and maps its network state to PressChain Chain ID 77117002.

Server-side reads

Servers can use the public RPC for reads and indexing without holding a user key. A simple Node read helper looks like this:
This helper is suitable for reads. It is not a reason to add user private keys to the backend.

Production behavior

Treat RPC as network infrastructure, not a function call that can never fail. Set request timeouts. Retry safe reads with bounded backoff. Do not blindly retry eth_sendRawTransaction without understanding whether the original signed transaction was accepted. When a write request times out, query the transaction hash or sender nonce before generating a different transaction. Duplicate submission and nonce races are application concerns even when the RPC itself is healthy.

Indexing with logs

An indexer should read events in bounded block ranges and store the block number, block hash, transaction hash and log index with every projected event. The tuple of transaction hash and log index is useful for idempotency, while block hash lets the projection detect reorganization. Do not assume a log is permanently final simply because it was returned once. Your finality policy should be explicit and appropriate to the environment.

Endpoint authority

The V3 platform authority names https://rpc.presschain.io as the canonical public RPC. Client-specific proxies may exist, but they should not quietly become the protocol source of truth. PressKey source, for example, can use a web proxy as an implementation detail. Application documentation should still identify the canonical network endpoint from the current authority configuration.