Raw chain-state lookup for a transaction hash on EVM or UTXO networks
Documentation Index
Fetch the complete documentation index at: https://docs.leokit.dev/llms.txt
Use this file to discover all available pages before exploring further.
| Path parameter | Type | Required | Description |
|---|---|---|---|
chain | string | Yes | Chain code (case-insensitive) — see supported list below |
hash | string | Yes | Transaction hash |
ETH, ARB / ARBITRUM, BASE, OP / OPTIMISM, BSC / BNB / BNBCHAIN, AVAX / AVAX_CCHAIN, POLYGON / MATIC, FTM, LINEA, SCROLL, BLAST, ZKSYNC, SONIC, HYPERLIQUID
BTC, LTC, DOGE, BCH
| Field | Description |
|---|---|
type | "evm" |
block_number | Block height |
status | "success" (0x1), "failed" (0x0), or null if pending |
confirmations | latestBlock - blockNumber |
gas_used | Gas units consumed |
effective_gas_price_gwei | Effective gas price formatted as a 4-decimal string (gwei) |
nonce | Sender nonce |
log_count | Number of event logs |
input_data | Raw transaction calldata hex |
| Field | Description |
|---|---|
type | "utxo" |
block_height | Block height when confirmed |
confirmed_at | Block time as ISO-8601 |
fee_sat | Total fee in satoshis |
size | Transaction size in bytes |
vsize | Virtual size (witness-discounted) in bytes |
| Status | Description |
|---|---|
400 | Missing hash path parameter |
500 | Upstream RPC/explorer call failed |
eth_getTransactionByHash or eth_getTransactionReceipt fails — fields will be null rather than the request erroring out.type discriminates EVM vs UTXO). Future chains will use new type values./leokit/status instead.