Latest Block Number
Table function
The eth_latest_block_rpc table provides the latest block number of EVM chains.
Inputs
Args
Types
Info
rpc_url
VARCHAR
URL of the Ethereum node
Ouputs
Column Name
Type
Description
number
BIGINT
The latest block number.
Examples
D set variable eth_url = 'https://eth-mainnet.g.alchemy.com/v2/{API_KEY}';
D select * from eth_latest_block_rpc(getvariable('eth_url'));
ββββββββββββββββ
β latest_block β
β int64 β
ββββββββββββββββ€
β 21623511 β
ββββββββββββββββDependent RPC Method
eth_blockNumber
Last updated