Skip to main content

Filters & field selection

Field selection​

{
"from_block": 0,
"field_selection": {
"block": ["height", "hash", "time"],
"transaction": ["txid", "block_height", "version", "size_bytes"]
}
}
Block fieldValue
heightBlock height
hash, previous_hashBlock hashes
timeUnix timestamp in seconds
raw, decodedFull serialized hex or stored node-decoded block
Transaction fieldValue
txid, block_heightID and containing height
indexZero-based position within the block
version, locktime, expiry_heightPublic format metadata
size_bytesSerialized byte length
transparent_input_count, transparent_output_countInput/output array lengths
sapling_spend_count, sapling_output_countPublic Sapling component counts
orchard_action_count, ironwood_action_countPublic action counts
is_coinbase, transaction_typeBlock-reward flag and public classification
vin, voutDecoded transparent inputs/outputs
raw, decodedFull transaction hex or node-decoded object

An empty selection array omits that collection. Selecting block decoded returns the full stored block, including its nested transactions.

Filters​

FilterMatches
txids, versionsAny listed ID or version
transparent_output_addressesAny listed public output address
has_sapling, has_orchard, has_ironwoodPresence/absence of that pool's public components
shielded_poolsAny listed pool: sapling, orchard, ironwood
is_coinbaseThe actual block-reward input marker

Different filter properties combine with AND; values within a list combine with OR. An empty list matches nothing. Transaction filters do not remove selected block headers.

Notes: Nested numbers in decoded JSON are strings; preserve exact values. Pool component counts do not count payments. Unknown or duplicate selections are rejected. See the full contract for field and filter bounds.