Skip to main content
GET
/
tenant
/
{tenantId}
/
admin
/
assets
Get Tenant Assets
curl --request GET \
  --url https://api.example.com/tenant/{tenantId}/admin/assets
{
  "isSuccess": true,
  "isFailure": false,
  "error": null,
  "value": {
    "id": 42,
    "name": "Example"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.numium.com/llms.txt

Use this file to discover all available pages before exploring further.

Description

Retrieves the complete list of blockchain assets (native currencies and tokens) that are configured and available for use within a specific tenant’s environment.

Input

  • tenantId (long, required) - The unique identifier of the tenant.

Output

Returns an EmbeddedAssetListModel containing:
  • tenantId (string) - The tenant identifier as a string.
  • assets (array) - List of asset view models with details about each available asset.

Examples

Request
GET /api/tenant/1024/admin/assets
Response (200 OK)
{
  "tenantId": "1024",
  "assets": [
    {
      "id": 1,
      "name": "USD Coin",
      "code": "USDC",
      "country": "United States",
      "numCode": 840,
      "minorUnits": "cents",
      "isAvailable": true,
      "isHistorical": false
    }
  ]
}

Errors

  • 400 Bad Request: The supplied tenant identifier failed validation.
  • 401 Unauthorized: The caller is not authenticated.
  • 403 Forbidden: The caller is not authorized to view tenant assets.
  • 404 Not Found: The tenant could not be found.
  • 500 Internal Server Error: An unexpected server error occurred.

Notes

This endpoint returns all assets that have been configured for the tenant, regardless of approval status.

Path Parameters

tenantId
integer<int64>
required

The unique identifier of the tenant.

Query Parameters

api-version
string | null

Response

Assets retrieved successfully.

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:
{
  "tenantId": "1024",
  "assets": [
    {
      "id": 1,
      "name": "USD Coin",
      "symbol": "USDC",
      "decimals": 6,
      "isAvailable": true
    },
    {
      "id": 2,
      "name": "Ethereum",
      "symbol": "ETH",
      "decimals": 18,
      "isAvailable": true
    }
  ]
}