VIZ.cx

VIZ RPC Reference

JSON-RPC 2.0 methods served by node.viz.cx. Endpoint: POST https://node.viz.cx

get_ops_in_block

Returns all operations in a block, with an option to return only virtual operations.

Parameters

NameTypeReqDescription
block_numnumberBlock height
only_virtualbooleanReturn only virtual ops

Returns

Array of HistoryItem objects (same shape as get_account_history items).

Example request

curl -X POST https://node.viz.cx \
  -H 'Content-Type: application/json' \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "get_ops_in_block",
  "params": {
    "block_num": 0,
    "only_virtual": false
  }
}'

Try it

Target
Method
Parameters
block_numnumber*

Block height

only_virtualboolean*

Return only virtual ops

JSON-RPC request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "get_ops_in_block",
  "params": {
    "block_num": 0,
    "only_virtual": false
  }
}
POST https://node.viz.cx