List Tokens

GET /api/v2/travelrule/tokens

Returns a list of tokens supported by the Ospree Travel Rule module. Each token entry includes metadata such as the DTI, DTI short name (symbol), and the associated chain name. This ensures clients can accurately select the correct token when creating a Travel Rule transfer.

Query Parameters

Name
Type
Description
Required

page

integer

The current page number in pagination.

Minimum: 1

Default: 1

false

size

integer

The size or number of records per page.

Minimum: 1

Default: 50

false

chain_name

string

Filter results by chain.

Example: bitcoin

false

symbol

string

Filter results by token symbol.

Example: BTC

false

Response

{
    "status": "success",
    "data": {
        "items": [
            {
                "chain_name": "bitcoin",
                "symbol": "BTC",
                "name": "Bitcoin",
                "dti": "4H95J0R2X",
                "contract": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"
            }
        ],
        "total": 1,
        "page": 1,
        "size": 50
    }
}

Last updated