Read EVM state
Read contract return values, native balances, and storage from live, pinned, or retained execution state.
Query contract state with SQLThe chain records what happened. Execute alternatives.
Determica is EVM execution and analysis software built on DuckDB and evmone. Use SQL for historical chain analysis and local EVM execution, keeping the declared inputs, returned rows, and execution evidence visible together.
Start with a runnable guide. Use the function, type, and table references for catalog-backed details.
Start here
Run the notebook to call latestRoundData on Chainlink’s
ETH/USD feed on Ethereum mainnet.
read_contract returns ABI-decoded SQL values. The query
formats the oracle answer and converts the update time to a timestamp.
Workflows
Use the linked functions for individual operations. Open the guide for a runnable notebook.
Read contract return values, native balances, and storage from live, pinned, or retained execution state.
Query contract state with SQLSelect logs by emitter, block range, transaction receipt, or indexed topic. Decode matching event fields when an event signature or ABI is available.
Analyze ERC-20 transfers for a UTC dayEncode contract calldata and assemble typed assumptions with sequential, non-atomic EVM call steps.
Compare Uniswap V3 and V4 routesResolve a CLIENT to one exact block. Execute candidate programs against the resolved state. Schedule keyed reads at the pre and terminal checkpoints.
Compare Uniswap V3 and V4 routesRun declared programs against exact CLIENT state. Query each execution receipt. Restore retained execution state by execution ID.
Compare Uniswap V3 and V4 routesReview local execution evidence. Decode revert output and logs with locally registered contract ABIs.
Compare Uniswap V3 and V4 routesReference
http_transport Read a contract read_contract Query event logs get_logs Parse a token amount parse_units Format a raw balance format_units Build calldata encode_function_data Resolve one exact block pin Build a program step execute_call Query transfer events get_logs Run candidate programs run Compute a CREATE2 address create2_predict Mine CREATE2 salts create2_mine ADDRESS 20-byte Ethereum address stored as raw bytes BYTES Dynamic-length raw byte array BYTES32 Fixed 32-byte raw value UINT256 Unsigned 256-bit EVM integer INT256 Signed 256-bit EVM integer TRANSPORT Typed JSON transport configuration CLIENT Live, pinned, or execution-checkpoint state identity PROGRAM Sequential, non-atomic EVM program manifest