VIZ RPC Reference
JSON-RPC 2.0 methods served by node.viz.cx. Endpoint: POST https://node.viz.cx
get_block_header
Returns block header only (lighter than get_block — no transactions).
Parameters
| Name | Type | Req | Description |
|---|---|---|---|
| block_num | number | ✓ | Block height (1-indexed) |
Returns
Object with previous, timestamp, and witness.
Example request
curl -X POST https://node.viz.cx \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "get_block_header",
"params": {
"block_num": 0
}
}'Try it
Target
Method
Parameters
block_numnumber*
Block height (1-indexed)
JSON-RPC request
{
"jsonrpc": "2.0",
"id": 1,
"method": "get_block_header",
"params": {
"block_num": 0
}
}POST https://node.viz.cx