đī¸Synthetic Realities Subgraph
Querying Vaults
This query returns the first 5 vaults and vital statistics about the vault.
{
vaults(first: 5) {
id
totalPremiumEarned
underlyingAsset
underlyingSymbol
}
}
Querying Vault APY
This query returns a chronological list of pricePerShare
values for the vault.
{
vaultPerformanceUpdates(
where:{vault:"0x25751853eab4d0eb3652b5eb6ecb102a2789644b"},
orderBy:timestamp, orderDirection:asc) {
id
pricePerShare
timestamp
}
}
Querying Vault Fees
This query returns fee information for the vaults.
{
vaults(first: 5) {
id
totalFeeCollected
managementFeeCollected
performanceFeeCollected
underlyingAsset
underlyingSymbol
}
}
Last updated