Token blocks

Token blocks are periodic snapshots of token-related data captured at specific blockchain blocks. These are used in vault logic and on-chain analytics.

Structure

Each token block object includes:

  • _id (string) — Unique identifier

  • tokenId (string) — ID of the associated token

  • tokenAddress (string) — Ethereum address of the token (0x... format)

  • price (string) — Price of the token at this block

  • block (object)

    • number (number) — Block number

    • timestamp (number) — Unix timestamp (UTC)

  • createdAt, updatedAt (string) — ISO timestamps

  • createdBy, updatedBy (string) — Actor IDs

List all token blocks

get
Responses
200

A list of token blocks

application/json
get
/token-blocks
200

A list of token blocks

Get token block by ID

get
Path parameters
tokenBlockIdstringRequired
Responses
200

Token block details

application/json
get
/token-blocks/{tokenBlockId}
200

Token block details

Last updated