Steem LogoSDS API Reference0.1.10


blocks_api


/ getConfig

Blocks

/ getBlock / :blockNum / :withTransactions? / :withVirtualOps?

/ getBlockById / :blockId / :withTransactions? / :withVirtualOps?

/ getBlocksInRange / :fromBlockNum - :toBlockNum / :withTransactions? / :withVirtualOps?

Transactions

/ getTransactionsInBlock / :blockNum

/ getTransactionsInBlockRange / :fromBlockNum - :toBlockNum

Operations

/ getOpsInBlock / :blockNum / :withVirtualOps? / :opTypes?

/ getOpsInBlockRange / :fromBlockNum - :toBlockNum / :withVirtualOps? / :opTypes?

/ getOpsInBlockRangeAsArray / :fromBlockNum - :toBlockNum / :withVirtualOps? / :opTypes?

/ getOpsInBlockRangeGrouped / :fromBlockNum - :toBlockNum / :withVirtualOps? / :opTypes?

/ getVirtualOpsInBlock / :blockNum

/ getVirtualOpsInBlockRange / :fromBlockNum - :toBlockNum

State

/ getLastIrreversibleBlockNum

/ getLastReversibleBlockNum

Active Config


{
   "db_path": "~/sds_data1",
   "id": "blocks_api",
   "group_id": "base",
   "parsing_order": 10,
   "referenced_modules": [
      "chain_api"
   ],
   "data_source_contents": [
      "blocks"
   ],
   "parse_reversible": false,
   "parsed_virtual_ops": true,
   "allow_vacuum": false,
   "compress_backup": false,
   "auto_backup": true,
   "blocks_per_row": 250,
   "request_limit": 250,
   "row_compression_alg": "lzma",
   "row_compression_level": 9,
   "row_compression_threads": 1,
   "block_compressor_config": {
      "is_active": true,
      "compress_content": true,
      "compress_ops": true,
      "removed_fields_block": [
         "previous",
         "transaction_merkle_root",
         "witness_signature",
         "signing_key",
         "extensions",
         "transaction_ids"
      ],
      "removed_fields_transaction": [
         "ref_block_num",
         "ref_block_prefix",
         "signatures",
         "extensions",
         "block_num",
         "transaction_num"
      ]
   }
}

Database Info


{
   "name": "blocks_api",
   "size": "104.246 GB",
   "page_size": "4096 Bytes",
   "type": "SQLITE",
   "journal_mode": "WAL",
   "busy_timeout": 10000,
   "log_level": "INFO"
}