TriportRPC

JSON-RPC

Last updated:

Applies to: All chains

In more detail

Ethereum-compatible nodes and Solana nodes both speak it. Errors carry a numeric code: the specification reserves -32700 (parse error), -32600 (invalid request), -32601 (method not found), -32602 (invalid params) and -32603 (internal error), and -32000 to -32099 for server-defined errors.

A batch is an array of requests; the responses may come back in any order and must be matched to requests by id. Notifications — requests without an id — get no response.

See also

Sources

All terms in the RPC and blockchain glossary