List accepted assets
Returns all assets accepted by the Suward gateway. No authentication required.
GET
/v1/assetsPublicResponse
200 OK
| Field | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
itemsoptional | AssetResponse[] | |||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| Field | Type | Description |
|---|---|---|
idoptional | AssetID | Asset id-string used everywhere else in the API, e.g. USDT_ARBITRUM. |
| ||
blockchainIdoptional | integer | Internal blockchain ID (corresponds to GET /v1/blockchains[].id). |
contractAddressoptional | stringnull | ERC20 contract address; null for native coins (ETH, BNB, POL, XPL). |
decimalsoptional | integer | Number of decimal places: smallest-unit amounts are whole tokens * 10^decimals. |
groupoptional | string | Asset group, e.g. USDT, USDC, ETH. |
nameoptional | string | Human-readable asset name. |
Request
curl https://api.suward.com/v1/assetsconst response = await fetch('https://api.suward.com/v1/assets', { method: 'GET',});const data = await response.json();package main import ( "fmt" "io" "net/http") func main() { req, _ := http.NewRequest("GET", "https://api.suward.com/v1/assets", nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() data, _ := io.ReadAll(res.Body) fmt.Println(string(data))}import requests, os response = requests.get( 'https://api.suward.com/v1/assets',)data = response.json()Response · 200 OK
{ "items": []}Illustrative values. Every field, type and status on this page is generated from the OpenAPI specification.
Something unclear? payments@suward.com — we treat every integration question as a documentation defect.