Get all assets
curl --request GET \
--url https://api.byzantine.fi/v1/query/assets \
--header 'X-Pubkey: <x-pubkey>' \
--header 'X-Pubkey, X-Timestamp, X-Signature: <api-key>' \
--header 'X-Signature: <x-signature>' \
--header 'X-Timestamp: <x-timestamp>'import requests
url = "https://api.byzantine.fi/v1/query/assets"
headers = {
"X-Pubkey": "<x-pubkey>",
"X-Timestamp": "<x-timestamp>",
"X-Signature": "<x-signature>",
"X-Pubkey, X-Timestamp, X-Signature": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-Pubkey': '<x-pubkey>',
'X-Timestamp': '<x-timestamp>',
'X-Signature': '<x-signature>',
'X-Pubkey, X-Timestamp, X-Signature': '<api-key>'
}
};
fetch('https://api.byzantine.fi/v1/query/assets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"address": "<string>",
"name": "<string>",
"symbol": "<string>",
"decimals": 123,
"image_url": "<string>",
"approx_price": 123,
"category": "<string>",
"chain_id": 123
}
]{
"error": "Resource not found",
"status": 404
}Products
Get all assets
GET
/
v1
/
query
/
assets
Get all assets
curl --request GET \
--url https://api.byzantine.fi/v1/query/assets \
--header 'X-Pubkey: <x-pubkey>' \
--header 'X-Pubkey, X-Timestamp, X-Signature: <api-key>' \
--header 'X-Signature: <x-signature>' \
--header 'X-Timestamp: <x-timestamp>'import requests
url = "https://api.byzantine.fi/v1/query/assets"
headers = {
"X-Pubkey": "<x-pubkey>",
"X-Timestamp": "<x-timestamp>",
"X-Signature": "<x-signature>",
"X-Pubkey, X-Timestamp, X-Signature": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-Pubkey': '<x-pubkey>',
'X-Timestamp': '<x-timestamp>',
'X-Signature': '<x-signature>',
'X-Pubkey, X-Timestamp, X-Signature': '<api-key>'
}
};
fetch('https://api.byzantine.fi/v1/query/assets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"address": "<string>",
"name": "<string>",
"symbol": "<string>",
"decimals": 123,
"image_url": "<string>",
"approx_price": 123,
"category": "<string>",
"chain_id": 123
}
]{
"error": "Resource not found",
"status": 404
}Headers
Response
Assets retrieved successfully

