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

    Fetches a block by decimal height, supported block tag, or block hash. The block defaults to latest and include_transactions defaults to false.

    table function Live RPC RPC 5 overloads
  • get_logs

    Reads logs matching emitter, inclusive block bounds, and topic filters. Live clients use eth_getLogs; retained execution clients read stored execution logs.

    table function Live RPC RPC 12 overloads
  • get_transaction

    Fetches a transaction by hash, then makes a separate receipt request for receipt metadata.

    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