Skip to main content
GET
Trades - Latest Block Number

Latest trade-observed block number for a chain.

  • Use this endpoint to anchor polling, freshness checks, or lag detection for trade-indexed data.
  • Response is just the latest block number Birdeye has indexed for trade data on that chain.
  • This endpoint consumes 1 CU per request.
  • Detect whether downstream trade consumers are caught up to current chain activity.
  • Build health checks for ingestion lag or polling drift.
  • Use as a reference point before paginating recent trade ranges.
  • Set the chain header for the supported network.
  • Compare the returned block number with your last processed or stored checkpoint.
  • Poll this lightly as a liveness indicator instead of using heavier trade endpoints for simple freshness checks.
  • Store the returned block number alongside recent trade sync jobs.
  • Solana only.

Authorizations

X-API-KEY
string
header
required

API key for authentication

Headers

x-chain
enum<string>
default:solana

A chain name listed in supported networks.

Available options:
solana,
ethereum,
bsc,
base,
robinhood,
sui,
mantle,
hyperevm,
arbitrum,
avalanche,
optimism,
polygon,
zksync,
monad,
aptos,
fogo,
megaeth

Response

JSON object containing the block number of the latest transaction on a chain

success
boolean
required
data
object
required