BYTES32

32-byte fixed bytes value. It is raw binary storage, not a decimal number; cast to UINT256/INT256 only when the bytes represent an EVM integer, and use hex(value) or VARCHAR casts for display.

Family
Fixed bytes
Physical
BLOB
Used by
20 functions
Examples
0 samples

Used by functions

Derived from generated function parameters and return types.

Input and output

  • create_access_list

    Builds an EIP-2930 access list for a transaction request. Each result row identifies an accessed account or storage slot and includes request status.

    table function Live RPC RPC 3 overloads
  • evm_abi_word

    Encodes an ADDRESS, BYTES32, BOOLEAN, or integer as one 32-byte Solidity ABI word. ADDRESS and unsigned integer values are left-padded with zeros. Signed integers are sign-extended in two's-complement form; BOOLEAN uses 0 or 1. BYTES32 values are copied unchanged.

    scalar function Offline 69 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
  • keccak256

    Computes the Keccak-256 hash used by the EVM, returning a BYTES32 digest. Non-0x VARCHAR input is hashed as UTF-8, 0x-prefixed VARCHAR input is decoded to bytes first, and multi-argument overloads hash the exact unframed concatenation in argument order.

    scalar function Offline 8 overloads
  • storage_at

    Returns one raw 32-byte storage word for a contract and BYTES32 slot in live, pinned, or retained execution state. Without a CLIENT, it builds a reusable READ and does not access state.

    scalar function Live RPC RPC 3 overloads

Accepted as input

  • assume_storage

    Declares the exact 32-byte value supplied for one contract storage slot in a PROGRAM's initial state.

    scalar function Offline 1 overload
  • create2_mine

    Scans a bounded local CPU salt range for EIP-1014 CREATE2 addresses. It performs no network I/O, deployment, chain-state lookup, collision check, or vanity-address safety proof.

    table function Offline 2 overloads
  • create2_predict

    Computes the EIP-1014 CREATE2 address from the executing deployer, exact salt, and complete init-code hash. This is deterministic local arithmetic and does not query or mutate chain state.

    scalar function Offline 2 overloads
  • hex

    Formats a BLOB-backed EVM byte value as uppercase hexadecimal text without a 0x prefix. hex and to_hex are compatibility aliases with identical behavior.

    scalar function Offline 1 overload
  • length

    Returns the number of bytes in a BLOB or BLOB-backed EVM value such as ADDRESS, BYTES32, UINT256, or INT256.

    scalar function Offline 1 overload
  • 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 6 overloads
  • to_hex

    Formats a BLOB-backed EVM byte value as uppercase hexadecimal text without a 0x prefix. hex and to_hex are compatibility aliases with identical behavior.

    scalar function Offline 1 overload

Returned as output

  • compile

    Compiles Solidity or Vyper source through the configured external service and normalizes one row per returned contract artifact. It performs network I/O and sends the supplied source to that service.

    table function External Service 4 overloads
  • event_signature

    Returns EVM topic0 by hashing already-canonical event signature text exactly; use it to filter non-anonymous logs.

    scalar function Offline 1 overload
  • event_signature_json

    Returns EVM topic0 for an event described by JSON ABI; use it to filter or validate non-anonymous logs.

    scalar function Offline 1 overload
  • evm_disassemble

    Decodes bytecode with evmone advanced static analysis fixed to the Osaka revision. It exposes 27 instruction, PUSH, block, stack, gas, storage, and call-hint columns without executing the code.

    table function Offline 1 overload
  • 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
  • run

    Executes candidate EVM programs sequentially against exact CLIENT state, then atomically publishes compact receipts and auditable local evidence. It never submits transactions or mutates the connected chain.

    table function Existing simulation RPC Existing simulation Mutates simulation 1 overload