Core endpoints
Get supported tokens
Get the list of all tokens supported by Mesh to perform transfers, including which networks and integrations are supported.
GET
/
api
/
v1
/
transfers
/
managed
/
tokens
Get supported tokens
curl --request GET \
--url https://integration-api.meshconnect.com/api/v1/transfers/managed/tokens \
--header 'X-Client-Id: <api-key>' \
--header 'X-Client-Secret: <api-key>'import requests
url = "https://integration-api.meshconnect.com/api/v1/transfers/managed/tokens"
headers = {
"X-Client-Secret": "<api-key>",
"X-Client-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-Client-Secret': '<api-key>', 'X-Client-Id': '<api-key>'}
};
fetch('https://integration-api.meshconnect.com/api/v1/transfers/managed/tokens', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://integration-api.meshconnect.com/api/v1/transfers/managed/tokens",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Client-Id: <api-key>",
"X-Client-Secret: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://integration-api.meshconnect.com/api/v1/transfers/managed/tokens"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Client-Secret", "<api-key>")
req.Header.Add("X-Client-Id", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://integration-api.meshconnect.com/api/v1/transfers/managed/tokens")
.header("X-Client-Secret", "<api-key>")
.header("X-Client-Id", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://integration-api.meshconnect.com/api/v1/transfers/managed/tokens")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Client-Secret"] = '<api-key>'
request["X-Client-Id"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"content": {
"tokens": [
{
"token": "ADA",
"networks": [
{
"isTracked": false,
"id": "f7a660cd-bac0-4ae8-8ddb-c54d321b55dc",
"name": "Cardano",
"logoUrl": "https://file-cdn.meshconnect.com/public/logos/networks/Cardano.svg"
}
],
"supportedIntegrations": [
"gemini",
"binanceInternational"
]
}
]
},
"status": "ok",
"message": "",
"errorHash": "35664305",
"teamCode": "P4",
"errorType": ""
}Authorizations
Response
200 - application/json
OK
Was this page helpful?
⌘I
Get supported tokens
curl --request GET \
--url https://integration-api.meshconnect.com/api/v1/transfers/managed/tokens \
--header 'X-Client-Id: <api-key>' \
--header 'X-Client-Secret: <api-key>'import requests
url = "https://integration-api.meshconnect.com/api/v1/transfers/managed/tokens"
headers = {
"X-Client-Secret": "<api-key>",
"X-Client-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-Client-Secret': '<api-key>', 'X-Client-Id': '<api-key>'}
};
fetch('https://integration-api.meshconnect.com/api/v1/transfers/managed/tokens', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://integration-api.meshconnect.com/api/v1/transfers/managed/tokens",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Client-Id: <api-key>",
"X-Client-Secret: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://integration-api.meshconnect.com/api/v1/transfers/managed/tokens"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Client-Secret", "<api-key>")
req.Header.Add("X-Client-Id", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://integration-api.meshconnect.com/api/v1/transfers/managed/tokens")
.header("X-Client-Secret", "<api-key>")
.header("X-Client-Id", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://integration-api.meshconnect.com/api/v1/transfers/managed/tokens")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Client-Secret"] = '<api-key>'
request["X-Client-Id"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"content": {
"tokens": [
{
"token": "ADA",
"networks": [
{
"isTracked": false,
"id": "f7a660cd-bac0-4ae8-8ddb-c54d321b55dc",
"name": "Cardano",
"logoUrl": "https://file-cdn.meshconnect.com/public/logos/networks/Cardano.svg"
}
],
"supportedIntegrations": [
"gemini",
"binanceInternational"
]
}
]
},
"status": "ok",
"message": "",
"errorHash": "35664305",
"teamCode": "P4",
"errorType": ""
}