Developers / API Reference / Demo / Travel Rule API
Tokens
The tokens (assets) supported for travel-rule transfers.
List Tokens
GET
https://sandbox.ospree.io/api/v2/travelrule/tokens/
Return the list of tokens supported by the Ospree Travel Rule module, including the Digital Token Identifier (DTI), symbol, and associated blockchain network, to help select the correct token for a transfer.
dti is the stable identifier for a token. Every token listed here is accepted by POST /transfers when the transfer identifies its asset by dti, and every token that path accepts is listed here. The same chain and symbol can name several distinct assets (two USD Coins on arbitrum-one, for instance): name and contract tell them apart, and the chain+symbol form of POST /transfers cannot resolve such a pair — send those by dti.
The chain, symbol and dti filters all match exactly. Filtering by dti returns the single asset that identifier names, which is the only way to address one asset of a pair that shares a chain and symbol.
Required API Key Scopes: travel_rule:read
Parameters
Name
In
Type
Required
Description
chain
query
string | null
No
Filter by chain (exact match)
symbol
query
string | null
No
Filter by symbol (exact match)
dti
query
string | null
No
Filter by Digital Token Identifier (exact match, case-insensitive)
page
query
integer
No
Default: 1.
size
query
integer
No
Default: 50.
Responses
Status
Description
200
A page of sendable assets, as the DTI registry records them.
401
Unauthorized
403
Forbidden - the API key does not have a Scope this operation requires
422
Unprocessable Entity - Validation Error
500
Internal Server Error
JSON
{ "status": "success", "data": { "items": [ { "chain": "bitcoin", "symbol": "BTC", "name": "Bitcoin", "dti": "4H95J0R2X", "decimals": 8, "dti_type": 1 }, { "chain": "arbitrum-one", "symbol": "USDC", "name": "USD Coin", "dti": "X9J2T7K4M", "contract": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831", "decimals": 6, "dti_type": 2 } ], "total": 2, "page": 1, "size": 50, "pages": 1 }}