Blockchain link (Beta)

List blockchains with pagination and filtering

Returns the tenant's blockchains, paginated and filterable by state, network environment, and free-text search, with configurable sorting.

get/blockchain_link/blockchains

Request

Query parameters

pageCursorstring

tenant_id is extracted from JWT token context. Opaque cursor for the requested page. Currently encodes the 1-based page number as a decimal string ("1", "2", ...); treat as opaque on the client. Absent = first page.

pageSizenumber

Maximum number of items per page. Default 20, clamped to [1, 1000].

searchstring

Free-text search across chain and symbol name.

statusBlockchainStateFilter[]

Include filter (repeated query params).

blockchainEnv'MAINNET' | 'TESTNET'

Blockchain network environment.

Filter by network.

sortBy'createdAt' | 'chainName' | 'symbolName' | 'status'

Field to sort the blockchain list by.

Sort field. Default: createdAt.

order'ASC' | 'DESC'

Sort order. Default: DESC.

statusExcludeBlockchainStateFilter[]

Exclude filter (repeated query params).

Response

OK

totalnumber required

Total number of items across all pages, matching the current filter.

nextstring

Cursor for the next page; absent when the current page is the last. Opaque base64 blob bundling the target pageCursor and current query params (pageSize, search, status, statusExclude, blockchainEnv, sortBy, order).

prevstring

Cursor for the previous page; absent when the current page is the first.

Example response

{
  "data": [],
  "total": 100,
  "next": "some_value",
  "prev": "some_value"
}

Changes

No recorded changes to this operation across all 1 revision of this API.