🪙Get destination tokens
post
Lookup destination tokens available for swaps. It can be filtered by specific tokens user owns or by searching by keywords
Authorizations
Body
protocolany ofOptional
string · enumOptionalPossible values:
string · enumOptionalPossible values:
searchstringOptional
Responses
200
Default Response
application/json
400
Invalid input
application/json
401
Unauthorized
application/json
404
Not found
application/json
429
Rate limit exceeded
application/json
500
Internal server error
application/json
post
/v1/swaps/get-destination-tokensPOST /v1/swaps/get-destination-tokens HTTP/1.1
Host: api.secretkeylabs.io
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 163
{
"protocol": "runes",
"search": "",
"userTokens": [
{
"ticker": "840000:795",
"protocol": "runes",
"divisibility": 1,
"symbol": "🐒",
"name": "BITCOIN•MONKEY",
"logo": "🐒"
}
]
}{
"items": [
{
"ticker": "text",
"protocol": "runes",
"name": "text",
"symbol": "text",
"divisibility": 1,
"logo": "text",
"contract": "text"
}
]
}Last updated