Type: _Meta_
_meta
will return you the protocol subgraph metadata.
Arguments
auction
Type: Auction
auction
enables you to fetch on-chain data about a certain auction on the Moxie protocol.
Arguments
Name | Description |
---|
id
ID! | |
block
Block_height | The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the
block number, or a { number_gte: Int } containing the minimum block
number. In the case of number_gte , the query will be executed on the
latest block only if the subgraph has progressed to or past the minimum
block number. Defaults to the latest block when omitted. |
subgraphError
SubgraphErrorPolicy! | Set to allow to receive data even if the subgraph has skipped over errors while syncing. |
auctions
Type: [Auction!]!
auctions
enables you to fetch on-chain data about all auctions on the Moxie protocol with filters available to fetch auctions that fulfill certain requirements.
Arguments
Name | Description |
---|
skip
Int | |
first
Int | |
orderBy
Auction_orderBy | |
orderDirection
OrderDirection | |
where
Auction_filter | |
block
Block_height | The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the
block number, or a { number_gte: Int } containing the minimum block
number. In the case of number_gte , the query will be executed on the
latest block only if the subgraph has progressed to or past the minimum
block number. Defaults to the latest block when omitted. |
subgraphError
SubgraphErrorPolicy! | Set to allow to receive data even if the subgraph has skipped over errors while syncing. |
auctionUser
Type: AuctionUser
auctionUser
enables you to fetch a certain user that has registered for auction on the Moxie protocol.
Arguments
Name | Description |
---|
id
ID! | |
block
Block_height | The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the
block number, or a { number_gte: Int } containing the minimum block
number. In the case of number_gte , the query will be executed on the
latest block only if the subgraph has progressed to or past the minimum
block number. Defaults to the latest block when omitted. |
subgraphError
SubgraphErrorPolicy! | Set to allow to receive data even if the subgraph has skipped over errors while syncing. |
auctionUsers
auctionUsers
enables you to fetch all users that have registered for auction on the Moxie protocol with filters available to fetch users that fulfill certain requirements.
Type: [AuctionUser!]!
Arguments
Name | Description |
---|
skip
Int | |
first
Int | |
orderBy
AuctionUser_orderBy | |
orderDirection
OrderDirection | |
where
AuctionUser_filter | |
block
Block_height | The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the
block number, or a { number_gte: Int } containing the minimum block
number. In the case of number_gte , the query will be executed on the
latest block only if the subgraph has progressed to or past the minimum
block number. Defaults to the latest block when omitted. |
subgraphError
SubgraphErrorPolicy! | Set to allow to receive data even if the subgraph has skipped over errors while syncing. |
blockInfo
Type: BlockInfo
blockInfo
enables you to fetch on-chain data related to a certain block.
Arguments
Name | Description |
---|
id
ID! | |
block
Block_height | The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the
block number, or a { number_gte: Int } containing the minimum block
number. In the case of number_gte , the query will be executed on the
latest block only if the subgraph has progressed to or past the minimum
block number. Defaults to the latest block when omitted. |
subgraphError
SubgraphErrorPolicy! | Set to allow to receive data even if the subgraph has skipped over errors while syncing. |
blockInfos
Type: [BlockInfo!]!
blockInfos
enables you to fetch on-chain data related to blocks indexed by the subgraph, that is when certain events from the Moxie protocol occurs.
This is most useful when you include it in the response field when calling other APIs.
Arguments
Name | Description |
---|
skip
Int | |
first
Int | |
orderBy
BlockInfo_orderBy | |
orderDirection
OrderDirection | |
where
BlockInfo_filter | |
block
Block_height | The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the
block number, or a { number_gte: Int } containing the minimum block
number. In the case of number_gte , the query will be executed on the
latest block only if the subgraph has progressed to or past the minimum
block number. Defaults to the latest block when omitted. |
subgraphError
SubgraphErrorPolicy! | Set to allow to receive data even if the subgraph has skipped over errors while syncing. |
order
Type: Order
order
allows you to fetch a certain buy and sell order that occurs in the Moxie protocol.
Arguments
Name | Description |
---|
id
ID! | |
block
Block_height | The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the
block number, or a { number_gte: Int } containing the minimum block
number. In the case of number_gte , the query will be executed on the
latest block only if the subgraph has progressed to or past the minimum
block number. Defaults to the latest block when omitted. |
subgraphError
SubgraphErrorPolicy! | Set to allow to receive data even if the subgraph has skipped over errors while syncing. |
orders
Type: [Order!]!
order
provides you with all the buy and sell orders occurs in the Moxie protocol.
Arguments
Name | Description |
---|
skip
Int | |
first
Int | |
orderBy
Order_orderBy | |
orderDirection
OrderDirection | |
where
Order_filter | |
block
Block_height | The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the
block number, or a { number_gte: Int } containing the minimum block
number. In the case of number_gte , the query will be executed on the
latest block only if the subgraph has progressed to or past the minimum
block number. Defaults to the latest block when omitted. |
subgraphError
SubgraphErrorPolicy! | Set to allow to receive data even if the subgraph has skipped over errors while syncing. |
portfolio
Type: Portfolio
portfolio
allows you to fetch the user's balance of a certain fan token, by providing the id
input with ${user-address}-${token-address}
format.
Arguments
Name | Description |
---|
id
ID! | portfolio ID, formatted as ${user-address}-${token-address} |
block
Block_height | The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the
block number, or a { number_gte: Int } containing the minimum block
number. In the case of number_gte , the query will be executed on the
latest block only if the subgraph has progressed to or past the minimum
block number. Defaults to the latest block when omitted. |
subgraphError
SubgraphErrorPolicy! | Set to allow to receive data even if the subgraph has skipped over errors while syncing. |
portfolios
Type: [Portfolio!]!
portfolios
indexes with the subject token holdings of a certain user or list of holders of certain subject tokens.
Arguments
Name | Description |
---|
skip
Int | |
first
Int | |
orderBy
Portfolio_orderBy | |
orderDirection
OrderDirection | |
where
Portfolio_filter | |
block
Block_height | The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the
block number, or a { number_gte: Int } containing the minimum block
number. In the case of number_gte , the query will be executed on the
latest block only if the subgraph has progressed to or past the minimum
block number. Defaults to the latest block when omitted. |
subgraphError
SubgraphErrorPolicy! | Set to allow to receive data even if the subgraph has skipped over errors while syncing. |
protocolFeeBeneficiaries
Type: [ProtocolFeeBeneficiary!]!
protocolFeeBeneficiaries
indexes the address and details of the beneficiary that receives the protocol fees.
Arguments
Name | Description |
---|
skip
Int | |
first
Int | |
orderBy
ProtocolFeeBeneficiary_orderBy | |
orderDirection
OrderDirection | |
where
ProtocolFeeBeneficiary_filter | |
block
Block_height | The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the
block number, or a { number_gte: Int } containing the minimum block
number. In the case of number_gte , the query will be executed on the
latest block only if the subgraph has progressed to or past the minimum
block number. Defaults to the latest block when omitted. |
subgraphError
SubgraphErrorPolicy! | Set to allow to receive data even if the subgraph has skipped over errors while syncing. |
protocolFeeBeneficiary
Type: ProtocolFeeBeneficiary
protocolFeeBeneficiary
indexes the address and details of the beneficiary that receives the protocol fees.
Arguments
Name | Description |
---|
id
ID! | |
block
Block_height | The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the
block number, or a { number_gte: Int } containing the minimum block
number. In the case of number_gte , the query will be executed on the
latest block only if the subgraph has progressed to or past the minimum
block number. Defaults to the latest block when omitted. |
subgraphError
SubgraphErrorPolicy! | Set to allow to receive data even if the subgraph has skipped over errors while syncing. |
protocolFeeTransfer
Type: ProtocolFeeTransfer
protocolFeeTransfer
tracks and indexes all the protocol fee transfers that occur on the Moxie protocol. This API will return you a certain protocol fee transfer that you specify.
Arguments
Name | Description |
---|
id
ID! | |
block
Block_height | The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the
block number, or a { number_gte: Int } containing the minimum block
number. In the case of number_gte , the query will be executed on the
latest block only if the subgraph has progressed to or past the minimum
block number. Defaults to the latest block when omitted. |
subgraphError
SubgraphErrorPolicy! | Set to allow to receive data even if the subgraph has skipped over errors while syncing. |
protocolFeeTransfers
Type: [ProtocolFeeTransfer!]!
protocolFeeTransfers
tracks and indexes all the protocol fee transfers that occur on the Moxie protocol. This API will return you all the protocol fee transfers that occur on the protocol and you can add more filters to fetch certain transfers that fulfill the specified requirements.
Arguments
Name | Description |
---|
skip
Int | |
first
Int | |
orderBy
ProtocolFeeTransfer_orderBy | |
orderDirection
OrderDirection | |
where
ProtocolFeeTransfer_filter | |
block
Block_height | The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the
block number, or a { number_gte: Int } containing the minimum block
number. In the case of number_gte , the query will be executed on the
latest block only if the subgraph has progressed to or past the minimum
block number. Defaults to the latest block when omitted. |
subgraphError
SubgraphErrorPolicy! | Set to allow to receive data even if the subgraph has skipped over errors while syncing. |
subjectFeeTransfer
Type: SubjectFeeTransfer
subjectFeeTransfer
tracks and indexes all the subject fee transfers that occur on the Moxie protocol. This API will return you a certain subject fee transfer.
Arguments
Name | Description |
---|
id
ID! | |
block
Block_height | The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the
block number, or a { number_gte: Int } containing the minimum block
number. In the case of number_gte , the query will be executed on the
latest block only if the subgraph has progressed to or past the minimum
block number. Defaults to the latest block when omitted. |
subgraphError
SubgraphErrorPolicy! | Set to allow to receive data even if the subgraph has skipped over errors while syncing. |
subjectFeeTransfers
Type: [SubjectFeeTransfer!]!
subjectFeeTransfers
tracks and indexes all the subject fee transfers that occur on the Moxie protocol. This API will return you all the subject fee transfers that occur on the protocol and you can add more filters to fetch certain transfers that fulfill the specified requirements.
Arguments
Name | Description |
---|
skip
Int | |
first
Int | |
orderBy
SubjectFeeTransfer_orderBy | |
orderDirection
OrderDirection | |
where
SubjectFeeTransfer_filter | |
block
Block_height | The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the
block number, or a { number_gte: Int } containing the minimum block
number. In the case of number_gte , the query will be executed on the
latest block only if the subgraph has progressed to or past the minimum
block number. Defaults to the latest block when omitted. |
subgraphError
SubgraphErrorPolicy! | Set to allow to receive data even if the subgraph has skipped over errors while syncing. |
subjectToken
Type: SubjectToken
subjectToken
indexes all the subject tokens that was created on the Moxie protocol. This API helps you to fetch a certain subject token.
Arguments
Name | Description |
---|
id
ID! | |
block
Block_height | The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the
block number, or a { number_gte: Int } containing the minimum block
number. In the case of number_gte , the query will be executed on the
latest block only if the subgraph has progressed to or past the minimum
block number. Defaults to the latest block when omitted. |
subgraphError
SubgraphErrorPolicy! | Set to allow to receive data even if the subgraph has skipped over errors while syncing. |
subjectTokenDailySnapshot
Type: SubjectTokenDailySnapshot
subjectTokenDailySnapshot
indexes the daily snapshot information details of all subject tokens on the Moxie protocol. This API can help you to get a certain snapshot.
Arguments
Name | Description |
---|
id
ID! | |
block
Block_height | The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the
block number, or a { number_gte: Int } containing the minimum block
number. In the case of number_gte , the query will be executed on the
latest block only if the subgraph has progressed to or past the minimum
block number. Defaults to the latest block when omitted. |
subgraphError
SubgraphErrorPolicy! | Set to allow to receive data even if the subgraph has skipped over errors while syncing. |
subjectTokenDailySnapshots
Type: [SubjectTokenDailySnapshot!]!
subjectTokenDailySnapshots
indexes the daily snapshot information details of all subject tokens on the Moxie protocol. This API can help you to get all snapshots and filter them based on certain requirements.
Arguments
Name | Description |
---|
skip
Int | |
first
Int | |
orderBy
SubjectTokenDailySnapshot_orderBy | |
orderDirection
OrderDirection | |
where
SubjectTokenDailySnapshot_filter | |
block
Block_height | The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the
block number, or a { number_gte: Int } containing the minimum block
number. In the case of number_gte , the query will be executed on the
latest block only if the subgraph has progressed to or past the minimum
block number. Defaults to the latest block when omitted. |
subgraphError
SubgraphErrorPolicy! | Set to allow to receive data even if the subgraph has skipped over errors while syncing. |
subjectTokenHourlySnapshot
Type: SubjectTokenHourlySnapshot
subjectTokenHourlySnapshot
indexes the hourly snapshot information details of all subject tokens on the Moxie protocol. This API can help you to get a certain snapshot.
Arguments
Name | Description |
---|
id
ID! | |
block
Block_height | The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the
block number, or a { number_gte: Int } containing the minimum block
number. In the case of number_gte , the query will be executed on the
latest block only if the subgraph has progressed to or past the minimum
block number. Defaults to the latest block when omitted. |
subgraphError
SubgraphErrorPolicy! | Set to allow to receive data even if the subgraph has skipped over errors while syncing. |
subjectTokenHourlySnapshots
Type: [SubjectTokenHourlySnapshot!]!
subjectTokenHourlySnapshots
indexes the hourly snapshot information details of all subject tokens on the Moxie protocol. This API can help you to get all snapshots and filter them based on certain requirements.
Arguments
Name | Description |
---|
skip
Int | |
first
Int | |
orderBy
SubjectTokenHourlySnapshot_orderBy | |
orderDirection
OrderDirection | |
where
SubjectTokenHourlySnapshot_filter | |
block
Block_height | The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the
block number, or a { number_gte: Int } containing the minimum block
number. In the case of number_gte , the query will be executed on the
latest block only if the subgraph has progressed to or past the minimum
block number. Defaults to the latest block when omitted. |
subgraphError
SubgraphErrorPolicy! | Set to allow to receive data even if the subgraph has skipped over errors while syncing. |
subjectTokenRollingDailySnapshot
Type: SubjectTokenRollingDailySnapshot
subjectTokenRollingDailySnapshot
indexes the rolling daily snapshot information details of all subject tokens on the Moxie protocol. This API can help you to get a certain snapshot.
Arguments
Name | Description |
---|
id
ID! | |
block
Block_height | The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the
block number, or a { number_gte: Int } containing the minimum block
number. In the case of number_gte , the query will be executed on the
latest block only if the subgraph has progressed to or past the minimum
block number. Defaults to the latest block when omitted. |
subgraphError
SubgraphErrorPolicy! | Set to allow to receive data even if the subgraph has skipped over errors while syncing. |
subjectTokenRollingDailySnapshots
Type: [SubjectTokenRollingDailySnapshot!]!
subjectTokenRollingDailySnapshots
indexes the rolling daily snapshot information details of all subject tokens on the Moxie protocol. This API can help you to get all snapshots and filter them based on certain requirements.
Arguments
Name | Description |
---|
skip
Int | |
first
Int | |
orderBy
SubjectTokenRollingDailySnapshot_orderBy | |
orderDirection
OrderDirection | |
where
SubjectTokenRollingDailySnapshot_filter | |
block
Block_height | The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the
block number, or a { number_gte: Int } containing the minimum block
number. In the case of number_gte , the query will be executed on the
latest block only if the subgraph has progressed to or past the minimum
block number. Defaults to the latest block when omitted. |
subgraphError
SubgraphErrorPolicy! | Set to allow to receive data even if the subgraph has skipped over errors while syncing. |
subjectTokens
Type: [SubjectToken!]!
subjectTokens
indexes all the subject tokens that was created on the Moxie protocol. This API helps you to fetch all subject tokens and can filter by adding certain requirements.
Arguments
Name | Description |
---|
skip
Int | |
first
Int | |
orderBy
SubjectToken_orderBy | |
orderDirection
OrderDirection | |
where
SubjectToken_filter | |
block
Block_height | The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the
block number, or a { number_gte: Int } containing the minimum block
number. In the case of number_gte , the query will be executed on the
latest block only if the subgraph has progressed to or past the minimum
block number. Defaults to the latest block when omitted. |
subgraphError
SubgraphErrorPolicy! | Set to allow to receive data even if the subgraph has skipped over errors while syncing. |
summaries
Type: [Summary!]!
summaries
will return you the Moxie protocol summary information.
Arguments
Name | Description |
---|
skip
Int | |
first
Int | |
orderBy
Summary_orderBy | |
orderDirection
OrderDirection | |
where
Summary_filter | |
block
Block_height | The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the
block number, or a { number_gte: Int } containing the minimum block
number. In the case of number_gte , the query will be executed on the
latest block only if the subgraph has progressed to or past the minimum
block number. Defaults to the latest block when omitted. |
subgraphError
SubgraphErrorPolicy! | Set to allow to receive data even if the subgraph has skipped over errors while syncing. |
summary
Type: Summary
summaries
will return you the Moxie protocol summary information.
Arguments
Name | Description |
---|
id
ID! | |
block
Block_height | The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the
block number, or a { number_gte: Int } containing the minimum block
number. In the case of number_gte , the query will be executed on the
latest block only if the subgraph has progressed to or past the minimum
block number. Defaults to the latest block when omitted. |
subgraphError
SubgraphErrorPolicy! | Set to allow to receive data even if the subgraph has skipped over errors while syncing. |
user
Type: User
user
indexes all users on the Moxie protocol. This API can help you get a certain user's related information, such as buy/sell orders, fan token portfolio, etc.
Arguments
Name | Description |
---|
id
ID! | |
block
Block_height | The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the
block number, or a { number_gte: Int } containing the minimum block
number. In the case of number_gte , the query will be executed on the
latest block only if the subgraph has progressed to or past the minimum
block number. Defaults to the latest block when omitted. |
subgraphError
SubgraphErrorPolicy! | Set to allow to receive data even if the subgraph has skipped over errors while syncing. |
users
Type: [User!]!
users
indexes all users on the Moxie protocol. This API can help you get all Moxie users' related information, such as buy/sell orders, fan token portfolio, etc.
Arguments
Name | Description |
---|
skip
Int | |
first
Int | |
orderBy
User_orderBy | |
orderDirection
OrderDirection | |
where
User_filter | |
block
Block_height | The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the
block number, or a { number_gte: Int } containing the minimum block
number. In the case of number_gte , the query will be executed on the
latest block only if the subgraph has progressed to or past the minimum
block number. Defaults to the latest block when omitted. |
subgraphError
SubgraphErrorPolicy! | Set to allow to receive data even if the subgraph has skipped over errors while syncing. |