Queries
getAccount
Type: MajoraAccount!
Get user related data
Arguments
Name | Description |
---|---|
address | The address of the account |
getAllVaultList
Type: MajoraVaultList!
Return a vault list
Arguments
Name | Description |
---|---|
search | |
chainIds | |
offset | |
limit | |
orderByAttribute | |
orderByIsAscending |
getAvailableBlocks
Type: [MajoraBlock!]!
Return available blocks for a specific chain
Arguments
Name | Description |
---|---|
chainId | The ID of the blockchain network where the blocks are held. |
getAvailableChains
Type: [EVMChain!]!
Return chains where Majora is deployed
getBlockById
Type: MajoraBlock!
Return a specific block
Arguments
Name | Description |
---|---|
chainId | The ID of the blockchain network where the block is held. |
id | The unique identifier of the block. |
getBlockProtocolList
Type: [Protocol!]!
Return a list of protocol blocks
getBlockResolvedParams
Type: BlockParamsResolved!
Return resolved parameters for a specific block and configuration
Arguments
Name | Description |
---|---|
chainId | The ID of the blockchain network where the block is held. |
blockAddress | The address of the block contract. |
args | The arguments required for resolving block parameters. |
getBlocksByProtocolId
Type: [MajoraBlock!]!
Return blocks by protocol ID
Arguments
Name | Description |
---|---|
chainId | The ID of the blockchain network where the blocks are held. |
id | The protocol ID used to filter blocks. |
getChain
Type: EVMChain!
Return chain where Majora is deployed
Arguments
Name | Description |
---|---|
chainId | The ID of the blockchain network where the assets are held. |
getERC3525Shares
Type: MajoraERC3525SharesList!
Return ERC3525 shares owned by a user
Arguments
Name | Description |
---|---|
address | The address of the user to retrieve shares for. |
offset | The number of items to skip before starting to collect the result set. |
limit | The maximum number of items to return. |
orderByAttribute | The attribute by which to order the shares. |
orderByIsAscending | Whether to order the results in ascending order. |
getExplorerChainIds
Type: [Float!]!
Return the list of supported chain IDs for the DeFi explorer
getExplorerDefiPool
Type: DefiYield!
Return the details of a specific DeFi pool
Arguments
Name | Description |
---|---|
chainId | The ID of the blockchain network where the pool exists. |
project | The project name associated with the DeFi pool. |
pool | The pool ID to retrieve details for. |
getExplorerDefiPools
Type: [DefiYield!]!
Return the list of DeFi pools based on the search criteria
Arguments
Name | Description |
---|---|
search | The search criteria for retrieving DeFi pools. |
getExplorerDefiPoolsHistory
Type: [DefiYield!]!
Return the historical data for a specific DeFi pool
Arguments
Name | Description |
---|---|
pool | The ID of the pool to retrieve history for. |
from | The start time in UNIX timestamp for retrieving the history. |
to | The end time in UNIX timestamp for retrieving the history. |
getExplorerProtocolChainIds
Type: [Float!]!
Return the list of supported chain IDs for a specific protocol in the DeFi explorer
Arguments
Name | Description |
---|---|
protocolId | The protocol ID to retrieve chain IDs for. |
getExplorerProtocolIds
Type: [String!]!
Return the list of protocol IDs supported by the DeFi explorer
getFeeCollectorTransactions
Type: [FeeCollectorTransaction!]!
Deprecated: Not implemented yet
Return transactions executed by the fee collector
Arguments
Name | Description |
---|---|
chainId | The chain ID to retrieve transactions for. |
getFeeEpochs
Type: [FeeEpoch!]!
Return all fee epochs with associated fee receivers
getFeeReceiverBalanceClaimed
Type: [FeeReceiverBalance!]!
Return all feeReceivers claimed by an address and epochId
Arguments
Name | Description |
---|---|
address | The address of the user to retrieve claimed rewards for. |
epochId | The epoch ID for which to retrieve claimed rewards. |
getFeeReceivers
Type: [FeeReceiver!]!
Return all fee receivers
getFeeTotalSupply
Type: [FeeTotalSupply!]!
Return total fee supply for each contract
getGlobalAverageAPY
Type: Float!
Return the average APY on global TVL
getGlobalDepositorsCount
Type: Float!
Return total number of distinct users who deposited on vaults
getGlobalTVL
Type: [ChainGlobalTVL!]!
Return the total TVL of Majora
getMajoraLeaderboardList
Type: MajoraRankingList!
Return the leaderboard with pagination and optional ordering by attributes
Arguments
Name | Description |
---|---|
offset | The number of items to skip before starting to collect the result set. |
limit | The maximum number of items to return. |
getMOPTBalance
Type: [AccountMOPTBalance!]!
Return message to sign for term of service approval
Arguments
Name | Description |
---|---|
address | The address of the user who needs to sign the terms of service. |
getMOPTDepositHistory
Type: MOPTDepositHistory!
Return MOPT deposit history for a specific address
Arguments
Name | Description |
---|---|
address | The address of the user to retrieve deposit history for. |
offset | The number of items to skip before starting to collect the result set. |
limit | The maximum number of items to return. |
getMostValuable
Type: [MajoraVault!]!
Return the most valuable vaults
Arguments
Name | Description |
---|---|
limit | The maximum number of most valuable vaults to return. |
getOperationsByChainId
Type: [OperationsResult!]!
Return operations made by operators for a specific chain
Arguments
Name | Description |
---|---|
chainId | The ID of the blockchain network. |
offset | The number of items to skip before starting to collect the result set. |
limit | The maximum number of items to return. |
orderByAttribute | The attribute to order the results by. |
orderByIsAscending | Whether to sort results in ascending order. |
getOperationsByPayer
Type: OperationsResult!
Return operations made by operators for a specific payer
Arguments
Name | Description |
---|---|
address | The address of the payer. |
offset | The number of items to skip before starting to collect the result set. |
limit | The maximum number of items to return. |
orderByAttribute | The attribute to order the results by. |
orderByIsAscending | Whether to sort results in ascending order. |
getOperationsByVault
Type: OperationsResult!
Return operations made by operators for a specific vault
Arguments
Name | Description |
---|---|
chainId | The ID of the blockchain network. |
address | The vault address to retrieve the operations for. |
offset | The number of items to skip before starting to collect the result set. |
limit | The maximum number of items to return. |
orderByAttribute | The attribute to order the results by. |
orderByIsAscending | Whether to sort results in ascending order. |
getOperatorsByChainId
Type: [Operator!]!
Return operators list for a specific chain
Arguments
Name | Description |
---|---|
chainId | The ID of the blockchain network. |
offset | The number of items to skip before starting to collect the result set. |
limit | The maximum number of items to return. |
orderByAttribute | The attribute to order the results by. |
orderByIsAscending | Whether to sort results in ascending order. |
getOracles
Type: [Oracle!]!
Return oracles list
Arguments
Name | Description |
---|---|
offset | The number of items to skip before starting to collect the result set. |
limit | The maximum number of items to return. |
orderByAttribute | The attribute by which the oracles should be ordered. |
orderByIsAscending | Determines whether the order is ascending (true) or descending (false). |
getOraclesByChainId
Type: [Oracle!]!
Return oracles list for a specific chain
Arguments
Name | Description |
---|---|
chainId | The chain ID for which the oracles should be retrieved. |
offset | The number of items to skip before starting to collect the result set. |
limit | The maximum number of items to return. |
orderByAttribute | The attribute by which the oracles should be ordered. |
orderByIsAscending | Determines whether the order is ascending (true) or descending (false). |
getPortfolio
Type: Portfolio!
Return user's assets in its wallet
Arguments
Name | Description |
---|---|
chainId | The ID of the blockchain network where the assets are held. |
address | The address of the user whose portfolio is to be fetched. |
getRebalancedWithdrawalQuote
Type: GetRebalancedWithdrawalQuoteOutput!
Return a quote for withdrawal rebalance from operators
Arguments
Name | Description |
---|---|
Input data for generating a withdrawal rebalance quote. |
getRewardsClaimableOf
Type: [FeeReceiverBalance!]!
Return all feeReceivers claimable by an address
Arguments
Name | Description |
---|---|
address | The address of the user to retrieve claimable rewards for. |
getRewardsOf
Type: [FeeReceiverBalance!]!
Return rewards for a specific user
Arguments
Name | Description |
---|---|
address | The address of the user to retrieve rewards for. |
getTosMessageToSign
Type: String!
Return message to sign for term of service approval
Arguments
Name | Description |
---|---|
address | The address of the user who needs to sign the terms of service. |
getTotalUsersInStrategies
Type: Float!
Return total unique users who's deposited on specified user's strategies
Arguments
Name | Description |
---|---|
address |
getUserAllTimeFeesEarned
Type: Float!
Return all time total creator fees earned
Arguments
Name | Description |
---|---|
address |
getUserCreatedStrategiesTotalTvl
Type: Float!
Return total TVL deposited in user's owned strategies
Arguments
Name | Description |
---|---|
address |
getUserTotalTvl
Type: Float!
Return total TVL deposited by a user in Strateg protocol
Arguments
Name | Description |
---|---|
address |
getUserTransactionHistory
Type: TransactionHistory!
Return user's transactions history on Majora protocol
Arguments
Name | Description |
---|---|
address | The address of the user whose transaction history is to be retrieved. |
offset | The offset from where the transactions should be fetched. |
limit | The number of transactions to retrieve. |
orderByAttribute | The attribute to order the transactions by. |
orderByIsAscending | Whether the order should be ascending or descending. |
getVaultById
Type: MajoraVault!
Return a specific vault
Arguments
Name | Description |
---|---|
chainId | The ID of the blockchain network where the vault is held. |
address | The address of the vault. |
getVaultList
Type: MajoraVaultList!
Return a list of vaults
Arguments
Name | Description |
---|---|
offset | The number of items to skip before starting to collect the result set. |
limit | The maximum number of items to return. |
orderByAttribute | The attribute by which to order the vaults. |
orderByIsAscending | Whether to order the results in ascending order. |
getVaultListFiltered
Type: MajoraVaultList!
Return result of a vault search string
Arguments
Name | Description |
---|---|
search | |
chainIds | |
protocols | |
offset | |
limit | |
orderByAttribute | |
orderByIsAscending |
getVaultOwnedBy
Type: MajoraVaultList!
Return vaults owned by a user
Arguments
Name | Description |
---|---|
address | |
offset | |
limit | |
orderByAttribute | |
orderByIsAscending |
getVaultsByChainId
Type: MajoraVaultList!
Return vaults for a specific chain
Arguments
Name | Description |
---|---|
chainId | The ID of the blockchain network where the assets are held. |
offset | The number of items to skip before starting to collect the result set. |
limit | The maximum number of items to return. |
orderByAttribute | The attribute by which to order the results. |
orderByIsAscending | Whether to order the results in ascending order. |
getVaultsHoldedByFiltered
Type: InvestList!
Return vaults holded by a user
Arguments
Name | Description |
---|---|
address | |
search | |
offset | |
limit | |
orderByAttribute | |
orderByIsAscending |
getVaultsSponsoredBy
Type: MajoraVaultSponsoredBy!
Return vaults sponsorized by a specific address
Arguments
Name | Description |
---|---|
address | |
offset | |
limit | |
orderByAttribute | |
orderByIsAscending |
getVaultsSponsors
Type: MajoraVaultSponsoredBy!
Return sponsors of a specific vault
Arguments
Name | Description |
---|---|
chainId | |
address | |
offset | |
limit | |
orderByAttribute | |
orderByIsAscending |
getVaultStatus
Type: String!
Return the status of a specific vault
Arguments
Name | Description |
---|---|
chainId | The ID of the blockchain network where the vault is held. |
address | The address of the vault. |
getVestingScheduleOf
Type: [VestingSchedule!]!
Return the vesting schedule for a specific beneficiary
Arguments
Name | Description |
---|---|
beneficiary | The address of the beneficiary to retrieve the vesting schedule for. |