Skip to main content

Queries

getAccount​

Type: MajoraAccount!

Get user related data

Arguments

NameDescription

address
String!

The address of the account

getAllVaultList​

Type: MajoraVaultList!

Return a vault list

Arguments

NameDescription

search
String!

chainIds
[Float!]!

offset
Float!

limit
Float!

orderByAttribute
String!

orderByIsAscending
Boolean!

getAvailableBlocks​

Type: [MajoraBlock!]!

Return available blocks for a specific chain

Arguments

NameDescription

chainId
Float!

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

NameDescription

chainId
Float!

The ID of the blockchain network where the block is held.

id
String!

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

NameDescription

chainId
Float!

The ID of the blockchain network where the block is held.

blockAddress
String!

The address of the block contract.

args
String!

The arguments required for resolving block parameters.

getBlocksByProtocolId​

Type: [MajoraBlock!]!

Return blocks by protocol ID

Arguments

NameDescription

chainId
Float!

The ID of the blockchain network where the blocks are held.

id
String!

The protocol ID used to filter blocks.

getChain​

Type: EVMChain!

Return chain where Majora is deployed

Arguments

NameDescription

chainId
Float!

The ID of the blockchain network where the assets are held.

getERC3525Shares​

Type: MajoraERC3525SharesList!

Return ERC3525 shares owned by a user

Arguments

NameDescription

address
String!

The address of the user to retrieve shares for.

offset
Float!

The number of items to skip before starting to collect the result set.

limit
Float!

The maximum number of items to return.

orderByAttribute
String!

The attribute by which to order the shares.

orderByIsAscending
Boolean!

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

NameDescription

chainId
Float!

The ID of the blockchain network where the pool exists.

project
String!

The project name associated with the DeFi pool.

pool
String!

The pool ID to retrieve details for.

getExplorerDefiPools​

Type: [DefiYield!]!

Return the list of DeFi pools based on the search criteria

Arguments

NameDescription

search
DefiYieldQuery!

The search criteria for retrieving DeFi pools.

getExplorerDefiPoolsHistory​

Type: [DefiYield!]!

Return the historical data for a specific DeFi pool

Arguments

NameDescription

pool
String!

The ID of the pool to retrieve history for.

from
Float!

The start time in UNIX timestamp for retrieving the history.

to
Float!

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

NameDescription

protocolId
String!

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

NameDescription

chainId
Float!

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

NameDescription

address
String!

The address of the user to retrieve claimed rewards for.

epochId
Int!

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

NameDescription

offset
Int!

The number of items to skip before starting to collect the result set.

limit
Int!

The maximum number of items to return.

getMOPTBalance​

Type: [AccountMOPTBalance!]!

Return message to sign for term of service approval

Arguments

NameDescription

address
String!

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

NameDescription

address
String!

The address of the user to retrieve deposit history for.

offset
Float!

The number of items to skip before starting to collect the result set.

limit
Float!

The maximum number of items to return.

getMostValuable​

Type: [MajoraVault!]!

Return the most valuable vaults

Arguments

NameDescription

limit
Float!

The maximum number of most valuable vaults to return.

getOperationsByChainId​

Type: [OperationsResult!]!

Return operations made by operators for a specific chain

Arguments

NameDescription

chainId
Float!

The ID of the blockchain network.

offset
Float!

The number of items to skip before starting to collect the result set.

limit
Float!

The maximum number of items to return.

orderByAttribute
String!

The attribute to order the results by.

orderByIsAscending
Boolean!

Whether to sort results in ascending order.

getOperationsByPayer​

Type: OperationsResult!

Return operations made by operators for a specific payer

Arguments

NameDescription

address
String!

The address of the payer.

offset
Float!

The number of items to skip before starting to collect the result set.

limit
Float!

The maximum number of items to return.

orderByAttribute
String!

The attribute to order the results by.

orderByIsAscending
Boolean!

Whether to sort results in ascending order.

getOperationsByVault​

Type: OperationsResult!

Return operations made by operators for a specific vault

Arguments

NameDescription

chainId
Float!

The ID of the blockchain network.

address
String!

The vault address to retrieve the operations for.

offset
Float!

The number of items to skip before starting to collect the result set.

limit
Float!

The maximum number of items to return.

orderByAttribute
String!

The attribute to order the results by.

orderByIsAscending
Boolean!

Whether to sort results in ascending order.

getOperatorsByChainId​

Type: [Operator!]!

Return operators list for a specific chain

Arguments

NameDescription

chainId
Float!

The ID of the blockchain network.

offset
Float!

The number of items to skip before starting to collect the result set.

limit
Float!

The maximum number of items to return.

orderByAttribute
String!

The attribute to order the results by.

orderByIsAscending
Boolean!

Whether to sort results in ascending order.

getOracles​

Type: [Oracle!]!

Return oracles list

Arguments

NameDescription

offset
Float!

The number of items to skip before starting to collect the result set.

limit
Float!

The maximum number of items to return.

orderByAttribute
String!

The attribute by which the oracles should be ordered.

orderByIsAscending
Boolean!

Determines whether the order is ascending (true) or descending (false).

getOraclesByChainId​

Type: [Oracle!]!

Return oracles list for a specific chain

Arguments

NameDescription

chainId
Float!

The chain ID for which the oracles should be retrieved.

offset
Float!

The number of items to skip before starting to collect the result set.

limit
Float!

The maximum number of items to return.

orderByAttribute
String!

The attribute by which the oracles should be ordered.

orderByIsAscending
Boolean!

Determines whether the order is ascending (true) or descending (false).

getPortfolio​

Type: Portfolio!

Return user's assets in its wallet

Arguments

NameDescription

chainId
Float!

The ID of the blockchain network where the assets are held.

address
String!

The address of the user whose portfolio is to be fetched.

getRebalancedWithdrawalQuote​

Type: GetRebalancedWithdrawalQuoteOutput!

Return a quote for withdrawal rebalance from operators

Arguments

NameDescription

input
GetRebalancedWithdrawalQuoteInput!

Input data for generating a withdrawal rebalance quote.

getRewardsClaimableOf​

Type: [FeeReceiverBalance!]!

Return all feeReceivers claimable by an address

Arguments

NameDescription

address
String!

The address of the user to retrieve claimable rewards for.

getRewardsOf​

Type: [FeeReceiverBalance!]!

Return rewards for a specific user

Arguments

NameDescription

address
String!

The address of the user to retrieve rewards for.

getTosMessageToSign​

Type: String!

Return message to sign for term of service approval

Arguments

NameDescription

address
String!

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

NameDescription

address
String!

getUserAllTimeFeesEarned​

Type: Float!

Return all time total creator fees earned

Arguments

NameDescription

address
String!

getUserCreatedStrategiesTotalTvl​

Type: Float!

Return total TVL deposited in user's owned strategies

Arguments

NameDescription

address
String!

getUserTotalTvl​

Type: Float!

Return total TVL deposited by a user in Strateg protocol

Arguments

NameDescription

address
String!

getUserTransactionHistory​

Type: TransactionHistory!

Return user's transactions history on Majora protocol

Arguments

NameDescription

address
String!

The address of the user whose transaction history is to be retrieved.

offset
Float!

The offset from where the transactions should be fetched.

limit
Float!

The number of transactions to retrieve.

orderByAttribute
String!

The attribute to order the transactions by.

orderByIsAscending
Boolean!

Whether the order should be ascending or descending.

getVaultById​

Type: MajoraVault!

Return a specific vault

Arguments

NameDescription

chainId
Float!

The ID of the blockchain network where the vault is held.

address
String!

The address of the vault.

getVaultList​

Type: MajoraVaultList!

Return a list of vaults

Arguments

NameDescription

offset
Float!

The number of items to skip before starting to collect the result set.

limit
Float!

The maximum number of items to return.

orderByAttribute
String!

The attribute by which to order the vaults.

orderByIsAscending
Boolean!

Whether to order the results in ascending order.

getVaultListFiltered​

Type: MajoraVaultList!

Return result of a vault search string

Arguments

NameDescription

search
String!

chainIds
[Float!]!

protocols
[String!]!

offset
Float!

limit
Float!

orderByAttribute
String!

orderByIsAscending
Boolean!

getVaultOwnedBy​

Type: MajoraVaultList!

Return vaults owned by a user

Arguments

NameDescription

address
String!

offset
Float!

limit
Float!

orderByAttribute
String!

orderByIsAscending
Boolean!

getVaultsByChainId​

Type: MajoraVaultList!

Return vaults for a specific chain

Arguments

NameDescription

chainId
Float!

The ID of the blockchain network where the assets are held.

offset
Float!

The number of items to skip before starting to collect the result set.

limit
Float!

The maximum number of items to return.

orderByAttribute
String!

The attribute by which to order the results.

orderByIsAscending
Boolean!

Whether to order the results in ascending order.

getVaultsHoldedByFiltered​

Type: InvestList!

Return vaults holded by a user

Arguments

NameDescription

address
String!

search
String!

offset
Float!

limit
Float!

orderByAttribute
String!

orderByIsAscending
Boolean!

getVaultsSponsoredBy​

Type: MajoraVaultSponsoredBy!

Return vaults sponsorized by a specific address

Arguments

NameDescription

address
String!

offset
Float!

limit
Float!

orderByAttribute
String!

orderByIsAscending
Boolean!

getVaultsSponsors​

Type: MajoraVaultSponsoredBy!

Return sponsors of a specific vault

Arguments

NameDescription

chainId
Float!

address
String!

offset
Float!

limit
Float!

orderByAttribute
String!

orderByIsAscending
Boolean!

getVaultStatus​

Type: String!

Return the status of a specific vault

Arguments

NameDescription

chainId
Float!

The ID of the blockchain network where the vault is held.

address
String!

The address of the vault.

getVestingScheduleOf​

Type: [VestingSchedule!]!

Return the vesting schedule for a specific beneficiary

Arguments

NameDescription

beneficiary
String!

The address of the beneficiary to retrieve the vesting schedule for.