On-Chain Table Schema
Discover tables and columns before writing SQL or structured queries. Example: call this endpoint first, then use agent.ethereum_dex_trades in /v1/onchain/query or /v1/onchain/sql.
The response includes database name, table name, column names, types, and comments. Pass the optional table parameter to include bounded physical source metadata: engine, partition key, sorting key, primary key, row estimate, and compressed bytes.
For transfer tables, amount is decimal-adjusted display units and amount_raw is the original base-unit value.
Query parameters
Optional logical table name from the agent database. Use this to include bounded physical partition, ordering-key, and size metadata.
Optional logical table name from the agent database. Use this to include bounded physical partition, ordering-key, and size metadata.
Response
OK
Example response
{
"$schema": "https://example.com/schemas/DataResponseOnchainSchemaTable.json"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.