Fundamentals
Block Tags
Many methods accept a block parameter that specifies which state to query. This can be a block tag or a hex-encoded block number.
Many methods accept a block parameter that specifies which state to query. This can be a block tag or a hex-encoded block number.
Block tags
| Tag | Description |
|---|---|
"latest" | The most recent mined block |
"earliest" | The genesis block (block 0) |
"pending" | The pending state (transactions in the mempool) |
"safe" | The latest safe block |
"finalized" | The latest finalized block |
Block numbers
Hex-encoded block numbers are also accepted:
"0x0" - block 0 (genesis)
"0x100" - block 256
"0x18b704b" - block 25984075
Archive node
This is a full archive node. All historical state is available. You can query any block number from genesis to the latest block.
# Balance at block 1,000,000
curl -s -X POST https://rpc.pulsechain.box \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_getBalance",
"params": ["0x3693693693693693693693693693693693693693", "0xf4240"],
"id": 1
}'
Non-archive nodes only keep the latest state and return errors for historical queries. This endpoint does not have that limitation.
