import requests
url = "https://api.example.com/api/v1/metadata/chains"
response = requests.get(url)
print(response.text)curl --request GET \
--url https://api.example.com/api/v1/metadata/chains{
"result": {
"data": [],
"pagination": {
"before": "",
"after": "",
"total_count": 0
}
},
"success": true,
"suggestion": "",
"message": "",
"meta": {
"total": 123,
"offset": 123,
"limit": 123,
"has_more": true,
"after": "<string>",
"before": "<string>"
}
}{
"success": false,
"error": {
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}
}List supported chains
This operation retrieves the list of chains supported by the Cobo WaaS platform for a given wallet type. Results support cursor-based pagination using before and after. Pagination cursors are also returned in meta.after / meta.before (aligned with other list endpoints).
import requests
url = "https://api.example.com/api/v1/metadata/chains"
response = requests.get(url)
print(response.text)curl --request GET \
--url https://api.example.com/api/v1/metadata/chains{
"result": {
"data": [],
"pagination": {
"before": "",
"after": "",
"total_count": 0
}
},
"success": true,
"suggestion": "",
"message": "",
"meta": {
"total": 123,
"offset": 123,
"limit": 123,
"has_more": true,
"after": "<string>",
"before": "<string>"
}
}{
"success": false,
"error": {
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}
}Headers
Query Parameters
The wallet type to retrieve chains for. Use MPC.
Custodial, MPC A comma-separated list of Cobo chain IDs to filter by (for example, SETH,BASE_ETH). If omitted, all chains are returned.
The maximum number of items to return. Range: [1, 500].
1 <= x <= 500A cursor for backward pagination. Pass the before value from a previous response to retrieve the preceding page.
A cursor for forward pagination. Pass the after value from a previous response to retrieve the next page.
Response
Successful Response
Show child attributes
Show child attributes
Pagination metadata for list responses.
Supports both legacy offset-based and cursor-based pagination.
Cursor fields (has_more, after, before) are populated for
cursor-paginated endpoints. Legacy fields (offset, limit) are
populated when the caller uses the deprecated offset parameter.
Show child attributes
Show child attributes