Vaults
Returns the annual percentage yield (APY) for a given vault address over a specified lookback period.
The address of the vault.
0x19e099B7aEd41FA52718D780dDA74678113C0b32
Block number to calculate the APY at. Optional. Defaults to the latest block.
Number of days to look back for the APY calculation. Defaults to 7 if not provided.
7
Successful response with APY details
Bad request. Invalid input provided.
Internal server error.
GET /v1/vaults/apy HTTP/1.1
Host: api.paxoslabs.com
Accept: */*
{
"apy": 12.5,
"error": null
}
Fetches a list of transfers including chain ID, vault, time, transaction hash, sender, receiver, and amount.
The address of the vault. Optional.
0x9Ed15383940CC380fAEF0a75edacE507cC775f22
Successful response with transfers.
Invalid request.
Internal server error.
GET /v1/vaults/transfers HTTP/1.1
Host: api.paxoslabs.com
Accept: */*
[
{
"chain_id": 1,
"vault": "0x19e099b7aed41fa52718d780dda74678113c0b32",
"time": 1733053355,
"tx_hash": "0x5e1c28334e39c5273966b0986e9c00bc88f8e1e4f4372aea78b48cab4abc2509",
"from": "0x0000000000000000000000000000000000000000",
"to": "0xfbe0c54d696fa6c93f35d4ca7d656561816c15f6",
"amount": 32764931240122292
}
]
Returns a list of all deposit events, which can be filtered by user or vault.
The address of the vault. Optional.
0x9Ed15383940CC380fAEF0a75edacE507cC775f22
User's address. Optional.
0x04354e44ed31022716e77eC6320C04Eda153010c
Successful response with deposit events.
Invalid request (e.g., incorrect address format).
Internal server error.
GET /v1/vaults/deposits HTTP/1.1
Host: api.paxoslabs.com
Accept: */*
[
{
"chain_id": 1,
"vault": "text",
"time": 1,
"tx_hash": "text",
"asset": "text",
"asset_amount": 1,
"share_amount": 1,
"from": "text",
"to": "text"
}
]
Fetches an object containing each vault's unique cumulative holders over time.
The address of the vault. Optional.
0x9Ed15383940CC380fAEF0a75edacE507cC775f22
Return results starting from this timestamp. Optional.
1732679943
Return results before this timestamp. Optional.
173868000
Indicate if the results should show the most recent snapshot of holders count. Defaults to false. Optional.
false
Successful response.
Invalid request.
Internal server error.
GET /v1/vaults/holders HTTP/1.1
Host: api.paxoslabs.com
Accept: */*
[
{
"id": 1,
"vault": "0x19e099b7aed41fa52718d780dda74678113c0b32",
"timestamp": 1733053355,
"total_count": 888
}
]
Supported assets are assets that can be deposited into a vault. There can be different supported assets on each blockchain network the vault is deployed on. Returns the mapping of supported assets for the specified vaaults on each chain.
The address of the vault. Optional.
0x9Ed15383940CC380fAEF0a75edacE507cC775f22
Successful response with supported vault addresses.
Invalid request (e.g., incorrect chain ID format).
Internal server error.
GET /v1/vaults/assets HTTP/1.1
Host: api.paxoslabs.com
Accept: */*
{
"1329": {
"0xa8a3a5013104e093245164ea56588dbe10a3eb48": [
"0x215dc1cc32d9d08a0081e55e55895c8cf006839a"
]
},
"42161": {
"0xa8a3a5013104e093245164ea56588dbe10a3eb48": [
"0x215dc1cc32d9d08a0081e55e55895c8cf006839a"
]
}
}
Returns the internal asset composition of the vault.
The address of the vault.
0xA8A3A5013104e093245164eA56588DBE10a3Eb48
Successful response with token balances categorized by chain ID and token label.
Bad request. Missing or invalid parameters.
Internal server error.
GET /v1/vaults/underlying_strategies HTTP/1.1
Host: api.paxoslabs.com
Accept: */*
{
"1": {
"apxETH": {
"valueInBase": 1.023232424,
"pendingDeposits": 0,
"pendingWithdrawals": 0,
"tokenAddress": "0xTokenA",
"decimals": 18,
"allocationPercentage": 50
},
"ezETH": {
"valueInBase": "3000232.1230\"",
"pendingDeposits": 123.2,
"pendingWithdrawals": 123.2,
"tokenAddress": "0xTokenB",
"decimals": 18,
"allocationPercentage": 20
}
},
"1923": {
"weETH": {
"valueInBase": 1.023232424,
"pendingDeposits": 0,
"pendingWithdrawals": 0,
"tokenAddress": "0xTokenC",
"decimals": 18,
"allocationPercentage": 30
}
}
}
Returns APY data for a given vault address over a specified period.
The address of the vault.
0x19e099B7aEd41FA52718D780dDA74678113C0b32
Start timestamp for the period.
1732679943
End timestamp for the period.
173868000
Intervals for the period.
86400
Number of days to look back for APY calculation. Defaults to 14 if not provided.
14
Successful response with historic APY data.
GET /v1/vaults/historical-apy HTTP/1.1
Host: api.paxoslabs.com
Accept: */*
Successful response with historic APY data.
{
"interval": 86400,
"data": [
{
"timeStamp": 1,
"apy": 1.23
}
]
}
Returns TVL (Total Value Locked) data for a given vault address over a specified time period.
The address of the vault.
0x19e099B7aEd41FA52718D780dDA74678113C0b32
Start timestamp for the data range (in seconds). Defaults to 60 days ago if not provided.
1732679943
End timestamp for the data range (in seconds). Defaults to current time if not provided.
173868000
Time interval between data points in seconds. Defaults to 86400 (1 day) if not provided.
86400
Successful response with historic TVL data.
Bad request. Missing or invalid parameters.
Internal server error.
GET /v1/vaults/historical-tvl HTTP/1.1
Host: api.paxoslabs.com
Accept: */*
{
"interval": 86400,
"base_asset": 1.0970776880180083e+48,
"base_asset_name": "WETH",
"data": [
{
"time_stamp": 1732679943,
"tvl": 1500000.5
}
]
}