CSV exports

Download a CSV attachment for up to 12 consecutive blocks ending at the selected height. A quiet range can contain only the column headers.

GET/download.csv

Parameters

kindQuery · optional
blocks, transactions (default) or transfers.
endQuery · optional
Inclusive decimal end height. Defaults to the current head. To page backwards, request the previous window’s start minus one until you reach genesis.

Request · cURL

curl -fsS 'https://api.qlattice.xyz/dev/v1/download.csv?kind=blocks&end=0'

Columns by dataset

blocksCSV
block, hash, timestamp_utc, transactions, gas_used, gas_limit
transactionsCSV
transaction_hash, block, from, to, value_base_units, nonce
transfersCSV
transaction_hash, block, log_index, format, contract, from, to, token_id, quantity_raw