List all products
curl --request GET \
--url https://api.byzantine.fi/v1/query/top-vaults \
--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/top-vaults"
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/top-vaults', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"vault_address": "<string>",
"chain_id": 123,
"is_active": true,
"is_asynchronous": true,
"strategy_vault_address": "<string>",
"fallback_adapter": "<string>"
}
]Products
List all products
Returns a list of all Byzantine vaults from configuration. “Vaults” are deposit products, the main entities in the Byzantine protocol.
GET
/
v1
/
query
/
top-vaults
List all products
curl --request GET \
--url https://api.byzantine.fi/v1/query/top-vaults \
--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/top-vaults"
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/top-vaults', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"vault_address": "<string>",
"chain_id": 123,
"is_active": true,
"is_asynchronous": true,
"strategy_vault_address": "<string>",
"fallback_adapter": "<string>"
}
]
