OBJECT

Query

link GraphQL Schema definition

  • type Query {
  • # Arguments
  • # id: [Not documented]
  • # block: 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: Set to `allow` to receive data even if the
  • # subgraph has skipped over errors while syncing.
  • token(id: ID!, block: Block_height, subgraphError: _SubgraphErrorPolicy_!): Token
  • # Arguments
  • # skip: [Not documented]
  • # first: [Not documented]
  • # orderBy: [Not documented]
  • # orderDirection: [Not documented]
  • # where: [Not documented]
  • # block: 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: Set to `allow` to receive data even if the
  • # subgraph has skipped over errors while syncing.
  • tokens(
  • skip: Int,
  • first: Int,
  • orderBy: Token_orderBy,
  • orderDirection: OrderDirection,
  • where: Token_filter,
  • block: Block_height,
  • subgraphError: _SubgraphErrorPolicy_!
  • ): [Token!]!
  • # Arguments
  • # id: [Not documented]
  • # block: 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: Set to `allow` to receive data even if the
  • # subgraph has skipped over errors while syncing.
  • owner(id: ID!, block: Block_height, subgraphError: _SubgraphErrorPolicy_!): Owner
  • # Arguments
  • # skip: [Not documented]
  • # first: [Not documented]
  • # orderBy: [Not documented]
  • # orderDirection: [Not documented]
  • # where: [Not documented]
  • # block: 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: Set to `allow` to receive data even if the
  • # subgraph has skipped over errors while syncing.
  • owners(
  • skip: Int,
  • first: Int,
  • orderBy: Owner_orderBy,
  • orderDirection: OrderDirection,
  • where: Owner_filter,
  • block: Block_height,
  • subgraphError: _SubgraphErrorPolicy_!
  • ): [Owner!]!
  • # Arguments
  • # id: [Not documented]
  • # block: 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: Set to `allow` to receive data even if the
  • # subgraph has skipped over errors while syncing.
  • contract(
  • id: ID!,
  • block: Block_height,
  • subgraphError: _SubgraphErrorPolicy_!
  • ): Contract
  • # Arguments
  • # skip: [Not documented]
  • # first: [Not documented]
  • # orderBy: [Not documented]
  • # orderDirection: [Not documented]
  • # where: [Not documented]
  • # block: 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: Set to `allow` to receive data even if the
  • # subgraph has skipped over errors while syncing.
  • contracts(
  • skip: Int,
  • first: Int,
  • orderBy: Contract_orderBy,
  • orderDirection: OrderDirection,
  • where: Contract_filter,
  • block: Block_height,
  • subgraphError: _SubgraphErrorPolicy_!
  • ): [Contract!]!
  • # Arguments
  • # id: [Not documented]
  • # block: 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: Set to `allow` to receive data even if the
  • # subgraph has skipped over errors while syncing.
  • transfer(
  • id: ID!,
  • block: Block_height,
  • subgraphError: _SubgraphErrorPolicy_!
  • ): Transfer
  • # Arguments
  • # skip: [Not documented]
  • # first: [Not documented]
  • # orderBy: [Not documented]
  • # orderDirection: [Not documented]
  • # where: [Not documented]
  • # block: 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: Set to `allow` to receive data even if the
  • # subgraph has skipped over errors while syncing.
  • transfers(
  • skip: Int,
  • first: Int,
  • orderBy: Transfer_orderBy,
  • orderDirection: OrderDirection,
  • where: Transfer_filter,
  • block: Block_height,
  • subgraphError: _SubgraphErrorPolicy_!
  • ): [Transfer!]!
  • # Access to subgraph metadata
  • #
  • # Arguments
  • # block: [Not documented]
  • _meta(block: Block_height): _Meta_
  • }

link Require by

This element is not required by anyone