List priced deposit tokens for a chain
curl --request GET \
--url https://{host}/extern/svr/{accountTypeId}/intent/discovery/deposit/tokens \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{host}/extern/svr/{accountTypeId}/intent/discovery/deposit/tokens', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/extern/svr/{accountTypeId}/intent/discovery/deposit/tokens"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"status": "success",
"data": [
{
"chainId": 8453,
"address": "0x1234567890abcdef1234567890abcdef12345678",
"symbol": "<string>",
"name": "<string>",
"decimals": 1,
"logoURI": "<string>",
"price": {
"USD": 1234.56,
"EUR": 1135.79
},
"balance": "<string>",
"amount": {
"USD": 1234.56,
"EUR": 1135.79
}
}
]
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}List priced deposit tokens for a chain
GET
/
extern
/
svr
/
{accountTypeId}
/
intent
/
discovery
/
deposit
/
tokens
List priced deposit tokens for a chain
curl --request GET \
--url https://{host}/extern/svr/{accountTypeId}/intent/discovery/deposit/tokens \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{host}/extern/svr/{accountTypeId}/intent/discovery/deposit/tokens', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/extern/svr/{accountTypeId}/intent/discovery/deposit/tokens"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"status": "success",
"data": [
{
"chainId": 8453,
"address": "0x1234567890abcdef1234567890abcdef12345678",
"symbol": "<string>",
"name": "<string>",
"decimals": 1,
"logoURI": "<string>",
"price": {
"USD": 1234.56,
"EUR": 1135.79
},
"balance": "<string>",
"amount": {
"USD": 1234.56,
"EUR": 1135.79
}
}
]
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}{
"status": "error",
"code": "INTENT_WRONG_STATUS",
"message": "Session must be in OPEN status for this action."
}Headers
Query Parameters
Was this page helpful?