BLOCK_NUMBER

EVM block height. Use explicit block numbers for reproducible historical reads.

Family
Logical
Physical
BIGINT
Used by
5 functions
Examples
0 samples

Used by functions

Derived from generated function parameters and return types.

Accepted as input

  • pin

    Resolves a live CLIENT to one exact block and returns a pinned CLIENT for repeatable state reads. Pin by tag, number, hash, or a matching number/hash pair, with optional canonicality enforcement. Identical normalized requests using the same constructed live-CLIENT wrapper share one resolution within a SQL statement; separate client(transport) constructions resolve independently, and a later statement resolves the selector again.

    scalar function Live RPC RPC 4 overloads

Returned as output

  • get_block

    Returns block metadata for a block number, tag, or hash. Set include_transactions to request expanded transaction objects in transactions_full; otherwise transactions contains hashes.

    table function Live RPC RPC 5 overloads
  • get_logs

    Returns EVM event logs matching the supplied emitter, block, and topic filters. Supply a human-readable event signature or JSON ABI to append typed decoded fields.

    table function Live RPC RPC 12 overloads
  • get_transaction

    Returns transaction fields and available receipt metadata for a transaction hash. The client must point to the chain where the transaction exists.

    table function Live RPC RPC 2 overloads
  • get_transaction_logs

    Returns logs from a transaction receipt, optionally filtered by emitter or indexed topics. Supply an event signature or JSON ABI to append typed decoded fields.

    table function Live RPC RPC 6 overloads