Skip to main content

Get Wallet Network Assets

Returns what one node wallet holds on one network: the network's native coin and every active stablecoin deployed on that network, each with the wallet's balance and its US dollar and Turkish lira value. The network must belong to the wallet's chain. The owning node is read from the wallet, and that node must be your own node or below it.

Balances are best-effort: when the custody provider cannot report the native balance it is "0", when it cannot report the stablecoin balances assets is empty, and the USD/TRY values are omitted when no price is available.

Required permission: node:summary:view

Request​

GET /v2/admin/wallets/{wallet_id}/networks/{network_id}/assets

Parameters​

NameTypeInDescription
wallet_idstringpathRequired. A node wallet's id
network_idstringpathRequired. A network of the wallet's chain (Get Wallet Networks)

Headers​

NameDescription
AuthorizationRequired. Bearer <access_token>

Example​

curl --request GET \
--url '{{baseUrl}}/v2/admin/wallets/6a53f3dfad48accdb46eaf9e/networks/6740e0a20000000000000101/assets' \
--header 'Authorization: Bearer <access_token>'

Response​

{
"network_id": "6740e0a20000000000000101",
"network_name": "Ethereum",
"native_currency_symbol": "ETH",
"native_currency_logo": "https://s3.tokenizationtr.com/currencies/eth.svg",
"native_currency_decimal": 18,
"balance_native": "0.10861192205980251",
"balance_native_usd": "352.17",
"balance_native_try": "12051.88",
"assets": [
{
"id": "690a3dbd60db602e220d3d12",
"name": "USD Coin",
"symbol": "USDC",
"logo": "https://s3.tokenizationtr.com/currencies/usdc.svg",
"decimal": 6,
"amount": "1250.5",
"amount_usd": "1250.5",
"amount_try": "42795.17"
}
]
}

Response Fields​

FieldTypeDescription
network_idstringNetwork id
network_namestringNetwork name
native_currency_symbolstringSymbol of the network's native coin
native_currency_logostringLogo URL of the native coin
native_currency_decimalintegerDecimal places of the native coin
balance_nativestringThe wallet's native-coin balance
balance_native_usdstringThat balance in US dollars. Omitted when no price is available
balance_native_trystringThat balance in Turkish lira. Omitted when no price is available
assetsarrayThe active stablecoins (currency tokens) deployed on the network, with the wallet's balance. Empty when their balances could not be read
assets[].idstringCurrency token id (what Withdraw takes as currency_token_id)
assets[].namestringToken name
assets[].symbolstringToken symbol
assets[].logostringLogo URL. Empty when the token has no logo
assets[].decimalintegerDecimal places of the token
assets[].amountstringThe wallet's balance
assets[].amount_usdstringThat balance in US dollars. Omitted when no price is available
assets[].amount_trystringThat balance in Turkish lira. Omitted when no price is available

The native coin is reported inline rather than in assets because it has no currency token id. Amounts are decimal strings; see Amounts and Percentages.

Errors​

StatusCodeDescription
40010016wallet_id is not a valid id
40010001Wallet not found, it is not a node wallet, its node no longer exists, or the network is not on the wallet's chain (node domain 2)
40310005The wallet's node is outside your part of the hierarchy (node domain 2)

See Errors for the error format and common codes.