Base URL: /api
Request and response types are defined in Typescript here.
All responses are wrapped in the ResultResponse<T> type. If a response is an error then the ErrorResponse type is returned.
Returns indexer status, current height, version and availability.
Response: Info
Query Parameters (BlockQuery):
cursor?: number– cursor-based paginationoffset?: number– offset-based pagination (mutually exclusive with cursor)limit?: number(default: implementation-defined)order?: "asc" | "desc"(default: desc)relevant?: boolean– only blocks containing indexed transactions
Response: PaginatedResponse<BlockRow>
Latest indexed block.
Response: BlockRow
Path Param: height_or_hash – block height (as number string) or block hash (hex)
Response: BlockRow
404 if not found
Path Param: height – block height
Response: PaginatedResponse<TransactionRow>
Query Parameters (TransactionQuery):
- same pagination fields as
BlockQuery height?: numbercontract?: string– filter by contract address
Response: PaginatedResponse<TransactionRow>
Response: TransactionRow
404 if not indexed
Parses the transaction and returns every detected op with its execution result (if any).
Response: OpWithResult[]
Inspects an arbitrary transaction hex (does not need to be indexed).
Request Body: TransactionHex
Response: OpWithResult[]
Simulates the execution of a transaction's operations. Useful for testing transaction before broadcasting.
Request Body: TransactionHex
Response: OpWithResult[]
Full compose (commit + reveal) in one call.
Request Body: ComposeQuery
Response: ComposeOutputs
Only the commit phase (for 2-step reveals).
Request Body: ComposeQuery
Response: CommitOutputs
Only the reveal phase (when you already have a commit).
Request Body: RevealQuery
Response: RevealOutputs
List all deployed contracts.
Response: ContractListRow[]
Path Param: address – contract address (as string)
Response: ContractResponse
404 if contract not found
503 if indexer runtime is not available
Execute a read-only view expression against the contract state.
Path Param: address – contract address
Request Body: ViewExpr
Response: ViewResult
503 if indexer runtime is not available
Query Parameters (ResultQuery):
- same pagination fields as others
height?: numberstart_height?: number (mutually exclusive with height)contract?: stringfunc?: string (requires contract)
Response: PaginatedResponse<ResultRow>
Path Param: id – txid_inputIndex_opIndex (e.g. a94a8f..._0_0)
Response: ResultRow | null
Base URL: /ws
Upon connection, the client will be subscribed to indexer events (see WsResponse).
Request: WsRequest
Response: WsResponse