Whitelist
List whitelists in the same workspace.
Which page to fetch
1Page size to use
30Whitelist status
Sort by attribute
createdAtPossible values: Sort order
ascPossible values: Filter whitelists by the currency of the addresses they hold
Only return whitelists holding at least one address in any of these currencies
Only return whitelists holding at least one address in this currency
^\w+$Case-insensitive substring search over the whitelist label and its address values and labels.
Successful response
Current page
Next page or null if there is none
Previous page or null if there is none
Max count of items per page
Total count of items
Invalid input data
Authorization not provided
Insufficient access
Not found
Internal server error
GET /rest/whitelists HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"page": 1,
"next": 1,
"prev": 1,
"pageSize": 1,
"total": 1,
"results": [
{
"id": "text",
"legacyId": 1,
"name": "text",
"type": "TRANSACTION",
"status": "ACTIVE",
"addresses": [
{
"name": "text",
"currency": "text",
"address": "text",
"destinationTag": "text"
}
],
"addressCount": 1,
"createdAt": "text",
"updatedAt": "text",
"description": "text"
}
]
}Find a whitelist by ID.
Id of the target whitelist
Successful response
Whitelist
Internal unique identifier
Legacy internal unique identifier (for retro-compatibility)
Whitelist name
Whitelist usage type
Whitelist status
Number of addresses (entries) held by the whitelist
Creation timestamp
Last modification timestamp
Whitelist description
Invalid input data
Authorization not provided
Insufficient access
Not found
Internal server error
GET /rest/whitelists/{id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "text",
"legacyId": 1,
"name": "text",
"type": "TRANSACTION",
"status": "ACTIVE",
"addresses": [
{
"name": "text",
"currency": "text",
"address": "text",
"destinationTag": "text"
}
],
"addressCount": 1,
"createdAt": "text",
"updatedAt": "text",
"description": "text"
}List addresses in a whitelist.
Id of the target whitelist
Which page to fetch
1Page size to use
30Sort by attribute
namePossible values: Sort order
ascPossible values: Filter the whitelist's addresses by currency
Only return addresses in any of these currencies
Only return addresses in this currency
^\w+$Case-insensitive substring search over the whitelist's addresses values and labels.
Successful response
Current page
Next page or null if there is none
Previous page or null if there is none
Max count of items per page
Total count of items
Invalid input data
Authorization not provided
Insufficient access
Not found
Internal server error
GET /rest/whitelists/{whitelistId}/addresses HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"page": 1,
"next": 1,
"prev": 1,
"pageSize": 1,
"total": 1,
"results": [
{
"name": "text",
"currency": "text",
"address": "text",
"destinationTag": "text"
}
]
}Last updated