🪙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:
or
string · enumOptionalPossible values:
searchstringOptional
Responses
200

Default Response

application/json
post
/v1/swaps/get-destination-tokens
POST /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