Skip to main content

List Token Addresses

Retrieves a paginated list of all addresses for a token with optional filters by type and address.

Request

GET /v2/admin/kyc/tokens/{tokenID}

Parameters

NameTypeInDescription
tokenIDstringpathRequired. The ID of the token
typestringqueryOptional. Address type filter (blacklist, whitelist, distribution)
addressstringqueryOptional. Search by address
pageintegerqueryRequired. Page number (default: 1)
per_pageintegerqueryRequired. Items per page (default: 10, max: 100)

Headers

NameDescription
AuthorizationRequired. Bearer token for authentication

Example

curl --request GET \
--url '{{baseUrl}}/v2/admin/kyc/tokens/67d8774e903bfcbe7eb5d93e?type=blacklist&page=1&per_page=10' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'

Response

{
"data": [
{
"id": "67d8774e903bfcbe7eb5d93e",
"token_id": "67d8774e903bfcbe7eb5d93e",
"address": "0x1234567890123456789012345678901234567890",
"type": "blacklist",
"created_at": "2025-01-15T10:30:00.000Z",
"updated_at": "2025-01-15T10:30:00.000Z",
"deleted_at": null
}
],
"pagination": {
"page": 1,
"per_page": 10,
"total": 1
}
}

Response Fields

FieldTypeDescription
dataarrayArray of token address objects
paginationobjectPagination information
pagination.pageintegerCurrent page number
pagination.per_pageintegerNumber of items per page
pagination.totalintegerTotal number of items

Token Address Object Fields

FieldTypeDescription
idstringUnique identifier for the address entry
token_idstringID of the token
addressstringWallet address
typestringAddress type (blacklist, whitelist, or distribution)
created_atstringISO 8601 timestamp when the address was added
updated_atstringISO 8601 timestamp when the entry was updated
deleted_atstring/nullISO 8601 timestamp when the address was removed (null if not deleted)

Address Types

ValueDescription
blacklistAddress is blacklisted for the token
whitelistAddress is whitelisted for the token
distributionAddress is in the distribution group for the token

Status Codes

Status CodeDescription
200Success
400Bad Request - Invalid parameters
401Unauthorized - Invalid or missing authentication token
404Not Found - Token ID does not exist
500Internal Server Error