RPC Methods
https://api.cerulea.app/v1
JSON-RPC 2.0 endpoint for direct blockchain interactions. All RPC calls are sent as
POST
requests to
/rpc.
POST
/rpc
Execute a JSON-RPC 2.0 method
JSON
{
"jsonrpc": "2.0",
"id": 1,
"method": "blockchain.getBlock",
"params": {
"blockchainId": "bc_01HXYZ",
"number": 1500000
}
}Available Methods
blockchain.getBlock
Get block by number or hash
blockchain.getTransaction
Get transaction details and status
blockchain.getBalance
Get account balance at a given block
transaction.send
Broadcast a signed transaction
transaction.simulate
Dry-run a transaction without broadcasting
contract.call
Read-only contract call (no gas)
contract.execute
Execute a state-changing contract method