Skip to main content
Tavchain’s Ethereum JSON-RPC endpoint uses JSON-RPC 2.0. Each response identifies the request by id and contains either result or error.

Successful response

Field formats

Use integer-safe parsing for quantities. Native balances use atav, with 10^18 atav per TAV. Contract return data is ABI-encoded and must be decoded according to the contract’s ABI.

Errors and execution status

Inspect the JSON-RPC error object separately from the HTTP status. HTTP 429, HTTP 503 and connection failures can occur before a JSON-RPC response is returned. Receipt status 0x1 means execution succeeded; 0x0 means execution failed. A successful HTTP request does not imply a successful contract transaction. RPC limits · Receipts · Troubleshooting