Skip to main content
GET
/
tenant
/
{tenantId}
/
wallets
/
tokens_info
Retrieves token balances and metadata for a tenant wallet on a specific blockchain.
curl --request GET \
  --url https://api.example.com/tenant/{tenantId}/wallets/tokens_info
{
  "isSuccess": true,
  "isFailure": false,
  "error": null,
  "value": {
    "id": 42,
    "name": "Example"
  }
}

Path Parameters

TenantId
integer<int64>
required

Gets the tenant identifier associated with the wallet lookup. 1024

Query Parameters

tenantId
integer<int64>

Identifier of the tenant whose wallet data is being requested.

Address
string

Gets the blockchain address whose token information is requested. 0x1234567890abcdef1234567890abcdef12345678

BlockchainId
integer<int64>

Gets or sets the blockchain identifier constraining the wallet query. 137

Response

200 - application/json

Returns the requested wallet token information when the operation succeeds.

Wrapper for API operation results containing success status, error information, and return value.

isSuccess
boolean

True if the operation completed successfully, false otherwise.

Example:

true

isFailure
boolean

True if the operation failed, false otherwise.

Example:

false

error
object

Error information returned when the operation fails.

Example:
{
"code": "ValidationError",
"message": "The request parameters failed validation.",
"info": [
"The Name field is required.",
"The Id field must be greater than 0."
]
}
value
object

The result value returned when the operation is successful.

Example:
{
"blockchainCode": 69,
"address": "0x1234567890abcdef1234567890abcdef12345678",
"blockchainName": "Polygon",
"blockchainIcon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA",
"balance": 12.345,
"balanceBlockchainName": "Polygon",
"balanceCoinName": "MATIC",
"usdBalance": 10452.32,
"usdCoinPrice": 0.84,
"tokenHoldings": [{ "tokenName": "USDC", "amount": 1200.5 }]
}