Skip to content

Blockchain Data

Low-level blockchain data access: blocks, transactions, traces, and logs.

Get Block

GET/v1/chains/{chain}/blocks/{blockNumber}
ParameterTypeDescription
chain*stringChain slug (e.g., ethereum)
blockNumber*integerBlock number

Get Transaction

GET/v1/chains/{chain}/transactions/{txHash}

Returns full transaction details including status, gas used, and decoded input data (when available).

Get Transaction Receipt

GET/v1/chains/{chain}/transactions/{txHash}/receipt

Returns the transaction receipt with event logs and gas consumption.

Get Transaction Traces

GET/v1/chains/{chain}/transactions/{txHash}/traces

Returns internal call traces (EVM debug_traceTransaction data). Available on chains with trace indexing enabled.

Trace availability

Not all chains support tracing. Check has_traces in the chain registry response.

Get Logs

GET/v1/chains/{chain}/logs
ParameterTypeDescription
chain*stringChain slug
fromBlock*integerStart block
toBlock*integerEnd block (max range: 1000 blocks)
addressoptionalstringFilter by contract address
topic0optionalstringFilter by event signature hash

Returns event logs matching the filter criteria. Useful for tracking specific contract events.

CryptaChain API — built by CryptaCount Luxembourg S.a r.l.