RPC reference
Phase JSON-RPC reference
This page is for dApp and wallet developers and for node operators. It describes the public mainnet endpoint, its limits, where Phase differs from Ethereum, and every phase_ and cells_ method. Responses marked real were taken from the public endpoint on 2026-10-30. Responses marked illustrative were built from the Rust types.
#Endpoints
Phase mainnet has one public JSON-RPC endpoint.
| Transport | URL |
|---|---|
| HTTPS | https://rpc-main.phase.xyz |
| WebSocket over TLS | wss://rpc-main.phase.xyz |
| Plain HTTP | http://rpc-main.phase.xyz:8545 |
| Plain WebSocket | ws://rpc-main.phase.xyz:8546 |
Use the HTTPS and WSS endpoints. Anyone on the network path can read or rewrite plain HTTP and WS traffic. Port 80 redirects to HTTPS.
A TLS proxy (nginx, with a Let's Encrypt certificate) answers on ports 443, 8545 and 8546. Behind it is a Phase node that follows the chain with full history. It holds no validator seat.
The proxy refuses some methods itself. It answers them with error -32601, the message method not available on the public endpoint and a null id. On 2026-10-30 it did so for txpool_status and debug_traceTransaction. A method the node does not serve gets -32601 Method not found with the request's id instead.
Responses carry Access-Control-Allow-Origin: *, so a web page can call the endpoint directly.
#The chain
| Parameter | Value |
|---|---|
| Chain id | 1015 (0x3f7) |
| Native currency | PHASE, 18 decimals |
| Block gas limit | 40,000,000 in every block (20,000,000 from the Hardening fork) |
| Base fee floor | 1 gwei (10 gwei from the Hardening fork) |
| EVM | Ethereum's fork set through Cancun |
| Genesis hash | 0x50b453b2fc402366a4341b111cd63539676277199c34339f07a10e73f964e2f7 |
PHASE is the native currency. Balances and fees are in wei: 1 PHASE is 10^18 wei. The Hardening fork runs on mainnet from 1,794,830,400 (2026-11-16 12:00:00 UTC): the values before the brackets hold for every block stamped before that time, the bracketed ones from it. Fabric runs it from 2026-11-09 13:15:00 UTC.
#Adding the network to a wallet
In a wallet that lets you add a network by hand, enter these values. The network name is a label of your choice.
| Field | Value |
|---|---|
| Network name | Phase |
| RPC URL | https://rpc-main.phase.xyz |
| Chain ID | 1015 |
| Currency symbol | PHASE |
A dApp can ask the wallet to add the network with wallet_addEthereumChain (EIP-3085):
await window.ethereum.request({
method: "wallet_addEthereumChain",
params: [{
chainId: "0x3f7",
chainName: "Phase",
nativeCurrency: { name: "PHASE", symbol: "PHASE", decimals: 18 },
rpcUrls: ["https://rpc-main.phase.xyz"],
}],
});#Limits
The node holds each client address to a share of its own. These per-address limits shipped in v1.1.0. The v1.1.0 release notes of 2026-10-30 say it is not yet rolled out to mainnet. Until the public node runs it, the per-address limits do not apply there.
The limits apply over HTTP and WS. IPC is not limited. An IPv6 client counts as its whole /64.
| Limit | Default | Past it |
|---|---|---|
| Calls a second | 100, with bursts of up to 200 | -32005 |
| EVM calls running or in line for a slot | half the node's slots, at least 1 (4 of 8 on the public node) | the call waits behind the client's own |
| EVM calls waiting behind those | 8 times the share above (32 on the public node) | -32005 |
| Heavy reads | the same two bounds as EVM calls, on a budget of their own | -32005 |
| WebSocket connections | 16 | HTTP 429 with a -32005 body |
| Subscriptions, over all of a client's WebSocket connections | 128 | -32005 |
Each entry of a batch counts as one call. Code -32005 is EIP-1474's "limit exceeded". The message names the limit:
rate limit exceeded: one address may make 100 calls a second, in bursts of twice that
too many EVM-executing calls from one address at once: at most 4 running or in line for a slot, and 32 waiting behind them
too many heavy reads from one address at once: at most 4 running or in line for a slot, and 32 waiting behind them
too many WebSocket connections from one address: at most 16 at once
too many subscriptions from one address: at most 128 at onceThe node also has limits for all clients together:
| Limit | Default on the public node | Past it |
|---|---|---|
| EVM calls running at once | 8 | the call waits for a slot |
| EVM calls waiting for a slot | 64 (8 times the slots) | -32009, Server is busy, try again later |
| Heavy reads | the same two bounds, on a budget of their own | -32009 |
| Batch size | 1,000 calls | -32010, The batch request was too large |
Storage keys in one eth_getProof | 1,024 | -32602 |
EVM calls are eth_call, eth_estimateGas, eth_createAccessList, eth_callMany, eth_simulateV1, eth_callBundle, eth_getLogs, eth_getFilterLogs, eth_getFilterChanges, eth_getProof, phase_getSoftCapShadow, and every trace_, debug_, ots_, mev_ and flashbots_ method. A read of the pending block that has to build the block counts as one too. Heavy reads are phase_getCommittee, phase_getSelectionSnapshot, phase_getScoringStatus, phase_getValidatorStatus, phase_getViewRecords, cells_getBlobsV1, cells_getBlobsV2 and cells_getBlobSidecar. Every other call takes no slot.
A client that gets -32005 or -32009 should wait and try again with a backoff.
#Namespaces
| Transport | Namespaces on the public node |
|---|---|
| HTTP | eth, net, web3, phase, cells |
| WebSocket | eth, net, web3 |
The phase_ and cells_ methods are served over HTTP only. Over WebSocket they answer -32601 Method not found. Subscriptions (eth_subscribe) need WebSocket.
The admin, debug, txpool and trace namespaces are not served over HTTP or WS on the public node. The cellsops_ methods are served over IPC only, whatever the flags say. The Engine API never runs on a Phase node.
#Where Phase differs from Ethereum
#Finality and the block tags
Phase orders and finalizes blocks with chained HotStuff. A block is final when a full quorum certificate closes a three-chain over it: three certificates in three consecutive views.
finalizednames the last block this node finalized.safenames the same block asfinalized. Phase does not tell them apart.latestis the node's head. It is not final, and it can be replaced by another block at the
same height until it is.
When a full quorum cannot form, the chain goes on with tentative certificates. Blocks are built and transactions execute, but nothing is finalized. In that state latest keeps moving while finalized stands still. When a full quorum returns, the next three-chain also finalizes the blocks beneath it.
Today nothing bounds how far latest can run ahead of finalized during such a run. From the activation of the Hardening fork (on mainnet from 2026-11-16 12:00:00 UTC), a tentative run stops at the block 481 above the finalized height it carries (number - difficulty = 481), and waits there for a full quorum. Either way, latest and a count of confirmations on it say nothing about settlement:
- Settle only on
finalized(orsafe, which is the same block). A block is final only when
its number is at or below finalized.number. Never settle on latest or on a number of blocks built on top of a transaction.
- A block's header shows how far the chain was from finality when the block was proposed. Its
difficulty field carries the finalized height the proposer stamped, so number - difficulty is how many blocks the chain then stood above its last finalized one: 3 while the chain finalizes, one more per block during a tentative run. Read on latest, it is a health signal for the chain. It is not the block's finality: the header never changes, so a block from a tentative run keeps its large gap after a later quorum finalizes it, and a block with a gap of 3 is not final when it is served.
- After a snapshot import the tags can name a tentative height until the node finalizes again.
On 2026-10-30 safe and finalized named the same block, three blocks behind latest.
Finality is per node, and nothing proves it. Two nodes can report different finalized blocks. Outside the fault model a finalized block can be reverted, and the node reports it loudly. Wait for finalized before you treat a payment as settled.
#Blocks, time and headers
- Block rate. The protocol constant
BLOCK_TIMEis one second, but a block comes with every
view that certifies. Mainnet averaged about 3.7 blocks a second from its relaunch on 2026-10-28 to 2026-10-30. Do not turn a block count into time with one or twelve seconds a block.
- Timestamps. A block's timestamp is in whole seconds, and it may equal its parent's. Only a
timestamp older than the parent's is invalid. Several blocks in a row often share one timestamp.
- Gas limit. Every block's header must carry exactly 40,000,000. It does not drift as on
Ethereum. A block holds at most 1,904 transactions. From the activation of the Hardening fork the header must carry exactly 20,000,000, which has room for 952 plain transfers.
- Epochs. An epoch is 20 blocks. The epoch of block
nisn / 20, rounded down. - Header fields. A block object adds
validatorsHashandscoringHash. It has no
withdrawalsRoot, blobGasUsed, excessBlobGas or parentBeaconBlockRoot. sha3Uncles, mixHash and nonce carry constant values.
difficulty. The header'sdifficultycarries the finalized watermark: the highest block
the proposer claimed as finalized, at most the block's number minus 3. It is not a measure of work, and a block object has no totalDifficulty.
extraData. It holds 16 bytes, the GPS latitude and longitude of the node that proposed
the block, or nothing. eth_getBlockGPS decodes them.
#Fees
- The base fee follows EIP-1559 above a floor of 1 gwei. It never falls below the floor, however
empty the blocks. A transaction priced under the floor is never included.
- The priority fee is burned with the base fee. The block proposer is paid no fee.
- On 2026-10-30
eth_gasPriceanswered 2 gwei andeth_maxPriorityFeePerGasanswered 1 gwei. - From the activation of the Hardening fork (on mainnet from 2026-11-16
12:00:00 UTC) the floor is 10 gwei, and from the block before it the pool refuses a transaction whose max fee is under that.
- Set a max fee of 2 × the latest block's
baseFeePerGas+ the tip (eth_maxPriorityFeePerGas),
or of eth_gasPrice plus a margin, read from the chain for each send; do not fix a value. The max fee is a cap: a type 2 transaction pays the base fee plus its tip, however high the cap. Do not send at plain eth_gasPrice. It is the latest base fee plus the tip, so the tip is its only margin, and a transaction priced at it waits in the pool once the base fee rises by more than that. A type 0 or type 1 transaction pays its whole gas price, margin included.
eth_blobBaseFeereturns an error: there is noexcessBlobGasto price blob gas from.
#Transaction types
| Type | What | On mainnet |
|---|---|---|
0x00, 0x01, 0x02 | legacy, EIP-2930, EIP-1559 | accepted |
0x03 | EIP-4844 blob transaction | refused |
0x04 | EIP-7702 set-code transaction | refused |
0x7d | Phase validator registration (Register) | accepted; built by the node itself |
0x7e | an old system call type | never valid |
Blob transactions are refused because mainnet's blob schedule names no activation, so the most blobs a block or a transaction may carry is zero. The pool answers too many blobs in transaction: have N, permitted 0. EIP-7702 transactions are refused because Prague is not in the fork set. The pool answers transaction type not supported.
A Register transaction registers or renews a validator. It is a system transaction: the node's own renewal service builds, signs and submits it, and no wallet produces one. It pays no fee. Its receipt has type 0x7d, gasUsed 21,000, effectiveGasPrice 0 and to 0xffffffffffffffffffffffffffffffffffffffff. Its transaction object carries ty ("Register"), nodeType, blsPublicKey, peerId and blsPop besides the usual fields. From v1.1.0 the object also carries to, value, gas and input. A registration lasts 320 blocks.
#Submitting transactions
Submit signed transactions with eth_sendRawTransaction or eth_sendRawTransactionSync. The node holds no keys: eth_accounts returns an empty list, and eth_sendTransaction and the eth_sign methods do not work.
The public node is not a validator. It sends each transaction it accepts to the beacons, the entry servers of the network. The beacons pass it on to the other beacons and to the voting seats of the committee, which build the blocks.
A node refuses a transaction it cannot deliver. It answers -32003 with a message that starts with no transaction route: . That happens while no beacon is connected, and while the node's head trails its beacons' by more than 40 blocks, until it is back within 20. Nothing is pooled and no nonce is taken. Send the same signed bytes again, to this node after a backoff or at once to another node. A node that already holds the transaction answers already known, so it cannot land twice. The error's data carries role, configured_beacons, connected_beacons, roles_known, and head and beacon_head while the node is behind.
{"jsonrpc":"2.0","id":1,"error":{"code":-32003,"message":"no transaction route: 0 of 4 configured beacons connected; the transaction was not pooled, submit it again once this node has a route","data":{"role":"client","configured_beacons":4,"connected_beacons":0,"roles_known":true}}}Illustrative.
The node checks the route before it validates the transaction. So while it has no route, this refusal also hides any other fault: a nonce too low, a transaction already included or a sender short of funds.
The node sends its beacons at most 16 transactions of one sender at a time, the lowest nonces first, and the next ones as earlier ones leave its pool. It sends a transaction again 20 blocks later if it is still pending, then after gaps that double.
Only beacons and committee seats see other nodes' pending transactions. The public node sees only what was submitted through it. So read the pending nonce (eth_getTransactionCount with "pending") from the node you submit through. A transaction submitted elsewhere shows up in eth_getTransactionByHash only once it is in a block.
#eth_syncing
eth_syncing answers an object from the node's start until its head first moves on a live block, and again while a backfill sync runs. Otherwise it answers false. In the object, highestBlock is the node's own head, not the network's. false does not mean the node is at the network's head. To judge freshness, compare the latest block's timestamp with the clock.
#Phase methods in the eth_ namespace
Phase adds these methods to the eth_ namespace. They are served on HTTP and WebSocket.
| Method | Parameters | Returns |
|---|---|---|
eth_getBlockGPS | block number, tag or hash | {"latitude": number, "longitude": number} from the header's extraData; both 0 when the block carries none |
eth_getNodeLiveness | none | up to 60 entries {"status": ...}, one a minute, oldest first; the last is the minute in progress; status is "synced", "syncing" or "offline" |
eth_syncing2 | none | always a sync object, never false: startingBlock, currentBlock, highestBlock, warpChunksAmount and warpChunksProcessed (both null), and stages, each stage's checkpoint |
eth_getValidatorRewards | address | a placeholder: 0x64 for every address |
Each liveness entry holds the last sample of its minute, not the worst, so an outage shorter than a minute can be missed.
In eth_syncing2, startingBlock is the node's head when it started. currentBlock and highestBlock are both the node's own head, as in eth_syncing, not the network's. A stage checkpoint moves when blocks are written to disk, so it can trail currentBlock. Releases up to v1.1.0 answer 0x0 for highestBlock.
eth_getValidatorRewards is a stub, and its answer means nothing.
curl -s https://rpc-main.phase.xyz -H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_getBlockGPS","params":["latest"]}'{"jsonrpc":"2.0","id":1,"result":{"latitude":48.8566,"longitude":2.3522}}Real.
#phase_ methods
These methods read the node's view of consensus: validators, scores, committees and views.
On the public node all ten are served over HTTP, and none over WebSocket.
#Conventions
- Parameters are positional. A trailing optional parameter can be left out.
- No block tag. No
phase_method takes a block number or tag. Each answers from the
node's current state.
- Epochs. An epoch is 20 blocks, and the epoch of block
nisn / 20. EpochK's
selection snapshot is written at block 20 * (K - 1), so the next epoch's is readable during the current one. A node keeps the snapshots of about the last 86,400 blocks by default. Older epochs answer null.
- BLS keys. A validator is named by its 48-byte compressed BLS public key, in hex, with or
without 0x.
- The registry lags the tip. Registry rows are written when a block is persisted, a few blocks
behind the head. A registration included at block X is readable only after that.
- Field names. Most
phase_results use snake_case field names.phase_getSigningStatus
uses camelCase.
- Hex. BLS keys inside
phase_getCommitteeandphase_getValidatorRegistrationresults
have no 0x prefix. Every other byte string has one.
- Large numbers. Every number is a JSON number, not a hex string. A
weightcan pass 2^53,
so parse it with a big-integer JSON parser in JavaScript.
#Errors
| Code | When |
|---|---|
-32602 | A parameter is malformed. A BLS key of the wrong length gives data invalid public key length. |
-32603 | The node could not read its database: database error in <step>: <error> or failed to open read-only database provider: <error>. |
-32009 | Only for the heavy reads and phase_getSoftCapShadow: the node's line for them is full. |
-32005 | A per-address limit (Limits, above). |
A result of null means the node has no such row. It is not an error.
#phase_getValidatorPeriodStats
The current epoch's running counts for one validator: the signatures it gave and missed.
Parameters: blsPublicKey (string).
Returns: an object, or null when the validator has not been seen in the current epoch. The epoch fold deletes a finished epoch's rows, so an earlier epoch is never returned. The last closed epoch is in the scoring state instead.
| Field | Type | Meaning |
|---|---|---|
weighted_successes_scaled | number | Signatures in quorum certificates this epoch, discounted per view and scaled by 10^9 |
weighted_failures_scaled | number | Missed signatures, and views the validator led that failed, discounted the same way |
raw_successes | number | Views in which its signature was in the certificate |
raw_failures | number | Views in which it was seated and its signature was missing |
leader_failures | number | Failed views in which it was the leader |
period | number | The epoch these counts belong to |
last_aggregated_block | number | The last block that updated the row |
curl -s https://rpc-main.phase.xyz -H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"phase_getValidatorPeriodStats","params":["a5bafcb2e70eb589f7f86aed715fbda1745970be2d58c09c5f2fa76e20804861ad97dc0713fea3fb2bce832eec769c24"]}'{"jsonrpc":"2.0","id":1,"result":{"weighted_successes_scaled":6861894039,"weighted_failures_scaled":0,"raw_successes":11,"raw_failures":0,"leader_failures":0,"period":34462,"last_aggregated_block":689250}}Real.
#phase_getValidatorScoringState
One validator's reputation score and the inputs behind it.
Parameters: blsPublicKey (string).
Returns: an object, or null when the validator has no scoring row. Divide a _scaled field by 1,000,000,000 to get its value.
| Field | Type | Meaning |
|---|---|---|
a_scaled | number | Beta success parameter a, scaled by 10^9 |
b_scaled | number | Beta failure parameter b, scaled by 10^9 |
lcb_scaled | number | Lower confidence bound of the reliability, 0 to 1, scaled by 10^9 |
score_scaled | number | Final score, 0 to 1, scaled by 10^9 |
observations | number | Epochs in which the validator was seated |
signed_count | number | Epochs in which its signature was in a certificate |
missed_count | number | Epochs in which it was seated and missed |
leader_failure_count | number | Views it led that timed out without a block |
last_updated_period | number | The epoch of the last update |
last_updated_block | number | The block of the last update |
curl -s https://rpc-main.phase.xyz -H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"phase_getValidatorScoringState","params":["0x8a012724680ff6e82f9ca8380c8b6059a6ee126438178d750c33cc2d8433608ab0ab4eb9249f712221eb5a922a1afede"]}'{"jsonrpc":"2.0","id":1,"result":{"a_scaled":3158413805,"b_scaled":6500658751,"lcb_scaled":112795835,"score_scaled":335850912,"observations":240,"signed_count":187,"missed_count":53,"leader_failure_count":0,"last_updated_period":34453,"last_updated_block":689080}}Real.
#phase_getValidatorStatus
One validator's lifecycle status: queued, on probation, full or jailed. A heavy read.
Parameters: blsPublicKey (string).
Returns: an object, or null when the validator has no status row.
| Field | Type | Meaning |
|---|---|---|
status | string | "Queued", "Probation", "Full" or "Jailed" |
entered_epoch | number | The epoch the status was entered; for Probation, the epoch probation starts |
changed_at_block | number | The block that last changed the status |
queue_position | number, optional | The 0-based place among live queue entries; present only while the status is Queued and the registration has not expired |
curl -s https://rpc-main.phase.xyz -H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"phase_getValidatorStatus","params":["0x8a012724680ff6e82f9ca8380c8b6059a6ee126438178d750c33cc2d8433608ab0ab4eb9249f712221eb5a922a1afede"]}'{"jsonrpc":"2.0","id":1,"result":{"status":"Full","entered_epoch":34204,"changed_at_block":684080}}Real.
#phase_getValidatorRegistration
The registration lease an address holds: when it was written, when it goes live, when it expires and when it may be renewed. The node's renewal service runs on this call.
Parameters: address (string, 20 bytes).
Returns: an object, or null when the address holds no live registration. An expired row the node has not yet deleted also answers null.
| Field | Type | Meaning |
|---|---|---|
registered_at | number | The block whose processing wrote the registration |
active_at | number | The first block at which it is live |
inactive_at | number | The first block at which it is no longer live; it does not apply to genesis validators, which never expire |
renewal_opens_at | number | The first block at which a new Register from this address is accepted |
is_genesis | boolean | Whether this is a genesis registration, which never expires |
is_active | boolean | Whether it is live at best_block_number |
bls_public_key | string | The registered BLS public key, hex without 0x |
peer_id | string | The registered network endpoint id, 32 bytes |
best_block_number | number | The node's head when it answered; the other fields were judged against it |
The row lags the tip, so a renewal that just landed reads back as the old lease for a few blocks. A Register takes a nonce, so sending it again makes a second transaction, not a replacement. Wait for registered_at to reach the block you submitted at.
curl -s https://rpc-main.phase.xyz -H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"phase_getValidatorRegistration","params":["0x00cd5bc3649e67ee9d264ade78d5835a5fe2f1fe"]}'{"jsonrpc":"2.0","id":1,"result":{"registered_at":689038,"active_at":689038,"inactive_at":689358,"renewal_opens_at":689198,"is_genesis":false,"is_active":true,"bls_public_key":"8a012724680ff6e82f9ca8380c8b6059a6ee126438178d750c33cc2d8433608ab0ab4eb9249f712221eb5a922a1afede","peer_id":"0x8e7c250ad637ee0d45a0f6b163ae5b2a24595b1cbc751ec429d6376418c61311","best_block_number":689206}}Real.
#phase_getCommittee
The committee of one epoch and committee round, rebuilt from the epoch's selection snapshot as consensus builds it. A heavy read.
Parameters: epoch (number), round (number). Round 0 is the epoch's regular committee. A higher round is a stall-recovery committee.
Returns: an object, or null when the epoch's snapshot is not written yet, was pruned, or seats no committee.
| Field | Type | Meaning |
|---|---|---|
epoch | number | The epoch |
round | number | The committee round |
size | number | All seats: the voting seats and the observer seats |
voting_size | number | The voting seats the quorum is taken over |
quorum_threshold | number | Votes a full quorum certificate needs |
anchor_count | number | Voting seats held by genesis anchors |
members | array | The members, voting seats first, then observer seats |
leader_eligible | array of numbers | The validator indices that may lead, in order; the leader of view v is leader_eligible[v % length] |
Each member:
| Field | Type | Meaning |
|---|---|---|
index | number | The validator's index for the epoch: its row in the selection snapshot |
address | string | The validator's address |
bls_public_key | string | Its BLS public key, hex without 0x |
weight | number | Its selection weight, frozen in the snapshot; can pass 2^53 |
is_probation | boolean | Whether it is on probation, in an observer seat |
counts_toward_quorum | boolean | Whether its signature counts toward the quorum |
is_anchor | boolean | Whether it is a genesis anchor |
leader_eligible | boolean | Whether it may lead |
bucket_id | string | Its operator bucket, 32 bytes; today derived from the address, one per validator |
curl -s https://rpc-main.phase.xyz -H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"phase_getCommittee","params":[34457,0]}'{"jsonrpc":"2.0","id":1,"result":{"epoch":34457,"round":0,"size":12,"voting_size":10,"quorum_threshold":7,"anchor_count":7,"members":[{"index":1,"address":"0x0d9971a2e3a8cea4ccbeebba62a9c3cb154bcc2a","bls_public_key":"a5bafcb2e70eb589f7f86aed715fbda1745970be2d58c09c5f2fa76e20804861ad97dc0713fea3fb2bce832eec769c24","weight":993200854551647641,"is_probation":false,"counts_toward_quorum":true,"is_anchor":true,"leader_eligible":true,"bucket_id":"0x0000000000000000000000000d9971a2e3a8cea4ccbeebba62a9c3cb154bcc2a"}],"leader_eligible":[1,19,16,2,5,31,11,6,21,4]}}Real, trimmed to one member of twelve.
#phase_getSelectionSnapshot
The frozen input every committee of an epoch is drawn from: the eligible validators with their weights and flags. A heavy read.
Parameters: epoch (number).
Returns: an object, or null when the snapshot is not written yet or was pruned.
| Field | Type | Meaning |
|---|---|---|
epoch | number | The epoch |
cap | number | The soft cap: a ceiling on how many validators may be eligible, not a number of committee seats. The admission pass at the boundary that opens epoch epoch + 1 reads it and admits no validator past it; the committee selection does not read it. It does not bound validators: only the earlier epochs' caps and the hard ceiling of 4,096 (MAX_ELIGIBLE_VALIDATORS) do, the two that admission clamps against, so validators can hold more rows than cap. 0 means no computed cap, leaving only that ceiling |
writer_block_hash | string | The hash of the block that wrote the snapshot, block 20 * (epoch - 1); zero for epochs 0 and 1, which genesis wrote |
writer_block_timestamp | number | That block's timestamp |
validators | array | The eligible validators, sorted by address; a row's position is the validator's index for the epoch |
Each row:
| Field | Type | Meaning |
|---|---|---|
address | string | The validator's address |
bls_public_key | string | Its BLS public key, 48 bytes, with 0x |
peer_id | string | Its network endpoint id, 32 bytes |
weight | number | Its selection weight; can pass 2^53 |
is_probation | boolean | Whether it is on probation for the epoch |
is_anchor | boolean | Whether it is a genesis anchor |
a_scaled | number | Its Beta success parameter, scaled by 10^9 |
b_scaled | number | Its Beta failure parameter, scaled by 10^9 |
bucket_id | string | Its operator bucket, 32 bytes |
curl -s https://rpc-main.phase.xyz -H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"phase_getSelectionSnapshot","params":[34457]}'{"jsonrpc":"2.0","id":1,"result":{"epoch":34457,"cap":4096,"writer_block_hash":"0xd14556e18cff894202d64697937517086650b7d407bbf0c596f7910e89dfd83b","writer_block_timestamp":1793363854,"validators":[{"address":"0x00cd5bc3649e67ee9d264ade78d5835a5fe2f1fe","bls_public_key":"0x8a012724680ff6e82f9ca8380c8b6059a6ee126438178d750c33cc2d8433608ab0ab4eb9249f712221eb5a922a1afede","peer_id":"0x8e7c250ad637ee0d45a0f6b163ae5b2a24595b1cbc751ec429d6376418c61311","weight":112795835091231744,"is_probation":false,"is_anchor":false,"a_scaled":3158413805,"b_scaled":6500658751,"bucket_id":"0x00000000000000000000000000cd5bc3649e67ee9d264ade78d5835a5fe2f1fe"}]}}Real, trimmed to one row of 34.
#phase_getScoringStatus
A summary of the validator set and the scoring tables. A heavy read.
Parameters: none.
Returns: an object.
| Field | Type | Meaning |
|---|---|---|
validators_with_period_stats | number | Validators seen so far in the current epoch |
validators_with_scoring_state | number | Validators with a scoring row |
current_epoch | number | best_block_number / 20 |
best_block_number | number | The node's head |
activation_queue_length | number | Live entries in the activation queue |
validators_queued | number | Registered validators with status Queued |
validators_probation | number | Registered validators with status Probation |
validators_full | number | Registered validators with status Full |
validators_jailed | number | Registered validators with status Jailed |
curl -s https://rpc-main.phase.xyz -H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"phase_getScoringStatus","params":[]}'{"jsonrpc":"2.0","id":1,"result":{"validators_with_period_stats":13,"validators_with_scoring_state":24,"current_epoch":34412,"best_block_number":688244,"activation_queue_length":0,"validators_queued":0,"validators_probation":0,"validators_full":34,"validators_jailed":0}}Real.
#phase_getSoftCapShadow
A calibration tool. It computes the soft cap an epoch's snapshot would produce under the given parameters, without applying anything. The live cap stays what the snapshot froze. It counts as an EVM call. The answer is large: about 270 KB, because each curve has 4,096 entries.
Parameters: one optional object. Every key is optional. An unknown key is refused with -32602.
| Key | Type | Default |
|---|---|---|
epoch | number | the epoch of the node's head |
liveness_target | number | 0.95 |
revenue_floor | number | 0 (the revenue constraint is off) |
shrinkage_c | number | 0.1 |
lcb_alpha | number | the chain's scoring lcb_alpha |
Returns: an object, or null when the epoch's snapshot is not written.
| Field | Type | Meaning |
|---|---|---|
epoch | number | The epoch evaluated |
eligible | number | Rows in the epoch's snapshot |
structural_cap | number | The highest cap considered, 4,096 |
live_cap | number | The cap the snapshot froze |
shadow_cap | number | The cap the formula picks, with no hysteresis |
shadow_cap_with_hysteresis | number | The cap the snapshot writer would freeze with these parameters |
prev_cap | number | The previous epoch's cap; 0 means none |
committee_size | number | The seats the liveness term is evaluated over: the epoch's seat count, 16 (below) |
m_max | number | The largest candidate size, 4,096 |
liveness_population | number | Rows whose bound enters the curve: the Full rows |
liveness_target, revenue_floor, shrinkage_c, lcb_alpha | number | The parameters it ran with |
m_min | number | The smallest candidate size; entry i of each curve is size m_min + i |
liveness_by_m | array of numbers | Quorum probability per candidate size, shrunk and correlated |
base_liveness_by_m | array of numbers | The unshrunk estimate per candidate size |
share_by_m | array of numbers | The modelled reward share per seat, 1 / m |
best_block_number | number | The node's head |
curl -s https://rpc-main.phase.xyz -H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"phase_getSoftCapShadow","params":[]}'{"jsonrpc":"2.0","id":1,"result":{"epoch":34493,"eligible":33,"structural_cap":4096,"live_cap":4096,"shadow_cap":18,"shadow_cap_with_hysteresis":4092,"prev_cap":4096,"committee_size":16,"m_max":4096,"liveness_population":33,"liveness_target":0.95,"revenue_floor":0.0,"shrinkage_c":0.1,"lcb_alpha":0.05,"m_min":1,"liveness_by_m":[0.8938833228,0.7990273947799691,0.9686076573242083],"base_liveness_by_m":[0.993203692,0.9864535738024309,0.9998620582979526],"share_by_m":[1.0,0.5,0.3333333333333333],"best_block_number":689864}}Real, each curve trimmed to its first three entries of 4,096.
committee_size is the epoch's seat count in the seat history, 16 in every epoch so far. It is not the number of voting seats a committee fills, the voting_size of phase_getCommittee. Under anchor-bounded voting those are the a anchors and at most (a - 1) / 2 graduates, rounded down: 10 on mainnet, with 7 anchors. The snapshot writer evaluates the soft cap over the same 16 seats. The shadow takes the writer's number on purpose, so that it describes the cap the writer would freeze. While the soft cap is switched off, the seat count changes no live value: the live cap is 4,096 whatever the curve says.
#phase_getViewRecords
The node's recent per-view records: who led each view, who signed, and whether a certificate formed. A heavy read.
Parameters: fromView (number, optional, default 0), limit (number, optional, default 1,000, at most 10,000).
Returns: an array of records with view at least fromView, oldest first. The node keeps the last 10,000 views by default (--consensus-rpc.view-records-retention), in memory only. A view number is not a block number.
| Field | Type | Meaning |
|---|---|---|
view | number | The view |
leader_index | number | The leader's validator index |
block_hash | string or null | The certified block; null when the view failed |
block_height | number or null | Its height |
epoch | number | The epoch whose committee ran the view |
committee_round | number | That committee's round |
members | array of numbers | The validator indices of the seats, voting seats first |
signers | array of numbers | The indices that signed; empty when the view failed |
signer_count | number | How many signed |
committee_size | number | Seats, observer seats included |
success | boolean | Whether a certificate formed |
is_tentative | boolean | Whether the certificate was tentative rather than full |
timestamp_secs | number | When this node saw it, by its own clock |
A tentative certificate later upgraded to a full one shows only the final state. Records the node dropped because it fell behind are skipped silently.
curl -s https://rpc-main.phase.xyz -H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"phase_getViewRecords","params":[null,1]}'{"jsonrpc":"2.0","id":1,"result":[{"view":681421,"leader_index":4,"block_hash":"0x37a8e3cd261a0a7b52c4ef7a1467c4449e779a3ac03c56dba72ef75941fee347","block_height":680398,"epoch":34019,"committee_round":0,"members":[1,2,4,6,17,20,32,24,16,7],"signers":[1,2,4,6,17,20,32,24,16],"signer_count":9,"committee_size":10,"success":true,"is_tentative":false,"timestamp_secs":1793361229}]}Real.
#phase_getSigningStatus
Whether this node's safety store lets it sign what the chain proposes now, and so whether it may register as a validator. Phones and the renewal service read it. On the public node it describes a follower that never signs.
Parameters: none.
Returns: an object with camelCase fields, or null while no consensus engine runs.
| Field | Type | Meaning |
|---|---|---|
durable | boolean | Whether a file backs the signing record |
restoreOutcome | string | How the record was arrived at |
floor | number or null | The highest view this key has signed in |
chainView | number or null | The highest view a peer has attested to |
chainFinalHeight | number or null | The database's final block height |
run | string | What the store concluded about the run the record was signed on: notChecked, noRecord, unanchored, anchorPending, undecided, sameRun, foreignRunDetected or foreignRunDiscarded |
foreignRunDetected | boolean | Whether the record looks like it was signed on an earlier run of this chain |
recordAnchorHeight | number or null | The height of the record's run anchor |
recordAnchorHash | string or null | The hash of the record's run anchor |
stranded | boolean | Whether the node booted stranded at genesis |
readiness | string | noHistory, ready, floorAhead, stranded or awaitingEvidence |
votesWithheld | boolean | Whether this boot withholds every vote; check it before trusting readiness |
canRegister | boolean | Whether the node may register or renew as a validator |
viewsUntilSignable | number or null | With floorAhead: how many views the chain must still advance |
canRegister: false means the node would refuse every vote for a long while, and registering it would seat a validator that never votes.
curl -s https://rpc-main.phase.xyz -H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"phase_getSigningStatus","params":[]}'{"jsonrpc":"2.0","id":1,"result":{"durable":false,"restoreOutcome":"Disabled(Ephemeral)","floor":null,"chainView":690906,"chainFinalHeight":689826,"run":"noRecord","foreignRunDetected":false,"recordAnchorHeight":null,"recordAnchorHash":null,"stranded":false,"readiness":"noHistory","votesWithheld":false,"canRegister":true,"viewsUntilSignable":null}}Real.
#cells_ methods
These methods serve the blob sidecars a node holds.
They are not a data-availability interface. A null means "not on this node", never "does not exist". A caller can check what it gets: the KZG commitments and proofs must match the blobVersionedHashes of the transaction, which are on chain.
On the public node all four are served over HTTP, and none over WebSocket. They always answer null, [null, ...] or false there, for two reasons. Mainnet carries no blob transactions, and only a beacon stores sidecars, which the public node is not.
| Code | When |
|---|---|
-32602 | More than 8 versioned hashes in one call, duplicates included: requested N versioned hashes, at most 8 are permitted |
-32603 | The node could not read its blob store |
-32009 | Only for cells_getBlobsV1, cells_getBlobsV2 and cells_getBlobSidecar: the node's line for heavy reads is full |
#cells_getBlobsV1
Parameters: versionedHashes (array of 32-byte strings, at most 8).
Returns: an array as long as the request. Each entry is {"blob": string, "proof": string}, or null when this node does not hold that blob. A heavy read.
curl -s https://rpc-main.phase.xyz -H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"cells_getBlobsV1","params":[["0x0100000000000000000000000000000000000000000000000000000000000000"]]}'{"jsonrpc":"2.0","id":1,"result":[null]}Real.
#cells_getBlobsV2
Parameters: versionedHashes (array of 32-byte strings, at most 8).
Returns: an array of {"blob": string, "proofs": [string, ...]} in request order when the node holds every requested blob, or null otherwise. It answers only for EIP-7594 sidecars. No Phase chain schedules Osaka, so today it answers null for everything. A heavy read.
curl -s https://rpc-main.phase.xyz -H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"cells_getBlobsV2","params":[["0x0100000000000000000000000000000000000000000000000000000000000000"]]}'{"jsonrpc":"2.0","id":1,"result":null}Real.
#cells_getBlobSidecar
Parameters: txHash (32-byte string).
Returns: the whole sidecar this node holds for the transaction, or null. An EIP-4844 sidecar is {"blobs": [...], "commitments": [...], "proofs": [...]}. An EIP-7594 sidecar is {"blobs": [...], "commitments": [...], "cellProofs": [...]}. It looks the sidecar up by transaction hash, so it can find one that cells_getBlobsV1 misses. A heavy read.
curl -s https://rpc-main.phase.xyz -H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"cells_getBlobSidecar","params":["0xe3ebd262dc28c7e5566ec5e52bd258306a6600a3ddfbb73620128c2c370632c1"]}'{"jsonrpc":"2.0","id":1,"result":null}Real.
#cells_hasBlobSidecar
Parameters: txHash (32-byte string).
Returns: true when this node holds the sidecar for the transaction, false otherwise. It takes no slot.
curl -s https://rpc-main.phase.xyz -H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"cells_hasBlobSidecar","params":["0xe3ebd262dc28c7e5566ec5e52bd258306a6600a3ddfbb73620128c2c370632c1"]}'{"jsonrpc":"2.0","id":1,"result":false}Real.
#cellsops_ methods (operator only)
These two methods are for the operator of a validator. The node serves them over IPC only, never over HTTP or WS, whatever --http.api and --ws.api say. They name a validator's weak points and the keys that equivocated. On the public endpoint they answer -32601 Method not found.
cellsops_getConsensusHealth: the consensus runner's latest health snapshot, ornullbefore
its first publish, a few milliseconds after consensus starts.
cellsops_getEvidence(fromSeq?, limit?): recorded equivocation evidence withseqat least
fromSeq, oldest first; at most limit entries, 64 by default and 256 at most.
#Standard methods
The eth_, net_ and web3_ methods follow Ethereum's JSON-RPC specification: https://ethereum.github.io/execution-apis/. These behave differently on Phase:
| Method | On Phase |
|---|---|
eth_getBlockByNumber and the other block reads | safe is the same block as finalized; the block object has Phase's header fields (above) |
eth_syncing | false once the node follows live blocks; not a sign that the node is at the network's head (above) |
eth_sendRawTransaction, eth_sendRawTransactionSync | can answer -32003 no transaction route: (above) |
eth_getTransactionCount with "pending", eth_getTransactionByHash for a pending transaction | see only what was submitted through this node (above) |
eth_accounts | always an empty list |
eth_sendTransaction, eth_sign, eth_signTransaction, eth_signTypedData | do not work: the node holds no keys |
eth_coinbase | -32603 unimplemented |
eth_blobBaseFee | -32603 excess blob gas missing in the EVM's environment after Cancun |
eth_getProof | at most 1,024 storage keys |
eth_getUncleCountByBlockNumber and the other uncle reads | no block has uncles |
eth_subscribe | WebSocket only |
web3_clientVersion | "reth" |
net_version | "1015" |
The public node serves no debug_ or trace_ methods, so an explorer that reads internal transactions needs its own access.