OBJECT

Query

Root node with entry queries.

link GraphQL Schema definition

  • type Query {
  • # Finds a single `Auction` by its unique `domainName` and `startedAtLevel`.
  • #
  • # Arguments
  • # atBlock: Filters entities by block history.
  • # domainName: The domain name corresponding to the auction.
  • # startedAtLevel: The auction's first bid block level.
  • auction(
  • atBlock: BlockHistoryFilter,
  • domainName: String!,
  • startedAtLevel: Int!
  • ): Auction
  • # Finds all `Auction`-s corresponding to specified filters.
  • #
  • # Arguments
  • # after: Only return edges after the specified cursor.
  • # atBlock: Filters entities by block history.
  • # before: Only return edges prior to the specified cursor.
  • # first: Specifies the maximum number of edges to return,
  • # starting after the cursor specified by `after`, or the first number of edges if
  • # `after` is not specified.
  • # last: Specifies the maximum number of edges to return, starting
  • # prior to the cursor specified by `before`, or the last number of edges if
  • # `before` is not specified.
  • # order: Ordering options for `Auction`-s.
  • # where: Complex object with filter conditions for filtering
  • # `Auction`-s.
  • auctions(
  • after: String,
  • atBlock: BlockHistoryFilter,
  • before: String,
  • first: Int,
  • last: Int,
  • order: AuctionOrder,
  • where: AuctionsFilter
  • ): AuctionConnection!
  • # Finds bidder balances for the given address.
  • #
  • # Arguments
  • # address: The address for which current bidder balances should
  • # be obtained.
  • # atBlock: Filters entities by block history.
  • bidderBalances(address: String!, atBlock: BlockHistoryFilter): BidderBalances!
  • # Finds the latest indexed `Block` (head) or a specific `Block` by its `hash` or
  • # `level` when supplied. Note: Only blocks starting with the origination of the
  • # smart contracts are available.
  • #
  • # Arguments
  • # hash: The hash of the block to find.
  • # level: The level of the block to find.
  • block(hash: String, level: Int): Block
  • # Finds a single `Offer` by its `buyerAddress`, `tokenId`, and offer creation
  • # block level.
  • #
  • # Arguments
  • # atBlock: Filters entities by block history.
  • # buyerAddress: Buyer address corresponding to the offer.
  • # startedAtLevel: The offer's creation block level.
  • # tokenId: The NFT token id corresponding to a domain.
  • buyOffer(
  • atBlock: BlockHistoryFilter,
  • buyerAddress: Address!,
  • startedAtLevel: Int!,
  • tokenId: Int!
  • ): BuyOffer
  • # Finds all `Offer`-s corresponding to specified filters.
  • #
  • # Arguments
  • # after: Only return edges after the specified cursor.
  • # atBlock: Filters entities by block history.
  • # before: Only return edges prior to the specified cursor.
  • # first: Specifies the maximum number of edges to return,
  • # starting after the cursor specified by `after`, or the first number of edges if
  • # `after` is not specified.
  • # last: Specifies the maximum number of edges to return, starting
  • # prior to the cursor specified by `before`, or the last number of edges if
  • # `before` is not specified.
  • # order: Ordering options for `Offer`-s.
  • # where: Complex object with filter conditions for filtering
  • # `Offer`-s.
  • buyOffers(
  • after: String,
  • atBlock: BlockHistoryFilter,
  • before: String,
  • first: Int,
  • last: Int,
  • order: OfferOrder,
  • where: BuyOffersFilter
  • ): BuyOfferConnection!
  • # Finds a single `Auction` by its `domainName` in current/specified time.
  • #
  • # Arguments
  • # atBlock: Filters entities by block history.
  • # domainName: The domain name corresponding to the auction.
  • currentAuction(atBlock: BlockHistoryFilter, domainName: String!): Auction
  • # Finds a single valid `Offer` by its `domain` name.
  • #
  • # Arguments
  • # atBlock: Filters entities by block history.
  • # buyerAddress: The buyer's address corresponding to the offer.
  • # domainName: The domain name corresponding to the offer.
  • currentBuyOffer(
  • atBlock: BlockHistoryFilter,
  • buyerAddress: Address!,
  • domainName: String!
  • ): BuyOffer
  • # Finds a single valid `Offer` by its `domain` name.
  • #
  • # Arguments
  • # atBlock: Filters entities by block history.
  • # domainName: The domain name corresponding to the offer.
  • currentOffer(atBlock: BlockHistoryFilter, domainName: String!): Offer
  • # Finds a single `Domain`` by its unique `name` and specified filters.
  • #
  • # Arguments
  • # atBlock: Filters entities by block history.
  • # name: Unique name of the domain to find.
  • # validity: Filters validity of the entity based on its validity
  • # `DateTime`. Default is `VALID`.
  • domain(atBlock: BlockHistoryFilter, name: String!, validity: RecordValidity): Domain
  • # Finds all `Domain`-s corresponding to specified filters.
  • #
  • # Arguments
  • # after: Only return edges after the specified cursor.
  • # atBlock: Filters entities by block history.
  • # before: Only return edges prior to the specified cursor.
  • # first: Specifies the maximum number of edges to return,
  • # starting after the cursor specified by `after`, or the first number of edges if
  • # `after` is not specified.
  • # last: Specifies the maximum number of edges to return, starting
  • # prior to the cursor specified by `before`, or the last number of edges if
  • # `before` is not specified.
  • # order: Ordering options for `Domain`-s.
  • # where: Complex object with filter conditions for filtering
  • # `Domain`-s.
  • domains(
  • after: String,
  • atBlock: BlockHistoryFilter,
  • before: String,
  • first: Int,
  • last: Int,
  • order: DomainOrder,
  • where: DomainsFilter
  • ): DomainConnection!
  • # Finds all `Event`-s corresponding to specified filters.
  • #
  • # Arguments
  • # after: Only return edges after the specified cursor.
  • # before: Only return edges prior to the specified cursor.
  • # first: Specifies the maximum number of edges to return,
  • # starting after the cursor specified by `after`, or the first number of edges if
  • # `after` is not specified.
  • # last: Specifies the maximum number of edges to return, starting
  • # prior to the cursor specified by `before`, or the last number of edges if
  • # `before` is not specified.
  • # order: Ordering options for `Event`-s.
  • # where: Complex object with filter conditions for filtering
  • # `Event`-s.
  • events(
  • after: String,
  • before: String,
  • first: Int,
  • last: Int,
  • order: EventOrder,
  • where: EventsFilter
  • ): EventConnection!
  • # Finds a single `Offer` by its `sellerAddress`, `tokenId`, and offer creation
  • # block level.
  • #
  • # Arguments
  • # atBlock: Filters entities by block history.
  • # sellerAddress: Seller address corresponding to the offer.
  • # startedAtLevel: The offer's creation block level.
  • # tokenId: The NFT token id corresponding to a domain.
  • offer(
  • atBlock: BlockHistoryFilter,
  • sellerAddress: Address!,
  • startedAtLevel: Int!,
  • tokenId: Int!
  • ): Offer
  • # Finds all `Offer`-s corresponding to specified filters.
  • #
  • # Arguments
  • # after: Only return edges after the specified cursor.
  • # atBlock: Filters entities by block history.
  • # before: Only return edges prior to the specified cursor.
  • # first: Specifies the maximum number of edges to return,
  • # starting after the cursor specified by `after`, or the first number of edges if
  • # `after` is not specified.
  • # last: Specifies the maximum number of edges to return, starting
  • # prior to the cursor specified by `before`, or the last number of edges if
  • # `before` is not specified.
  • # order: Ordering options for `Offer`-s.
  • # where: Complex object with filter conditions for filtering
  • # `Offer`-s.
  • offers(
  • after: String,
  • atBlock: BlockHistoryFilter,
  • before: String,
  • first: Int,
  • last: Int,
  • order: OfferOrder,
  • where: OffersFilter
  • ): OfferConnection!
  • # Finds a single ReverseRecord by its unique `address` and specified filters.
  • #
  • # Arguments
  • # address: Unique address of reverse record to find.
  • # atBlock: Filters entities by block history.
  • # validity: Filters validity of the entity based on its validity
  • # `DateTime`. Default is `VALID`.
  • reverseRecord(
  • address: String!,
  • atBlock: BlockHistoryFilter,
  • validity: RecordValidity
  • ): ReverseRecord
  • # Finds all `ReverseRecord`-s corresponding to specified filters.
  • #
  • # Arguments
  • # after: Only return edges after the specified cursor.
  • # atBlock: Filters entities by block history.
  • # before: Only return edges prior to the specified cursor.
  • # first: Specifies the maximum number of edges to return,
  • # starting after the cursor specified by `after`, or the first number of edges if
  • # `after` is not specified.
  • # last: Specifies the maximum number of edges to return, starting
  • # prior to the cursor specified by `before`, or the last number of edges if
  • # `before` is not specified.
  • # order: Ordering options for `ReverseRecord`-s.
  • # where: Complex object with filter conditions for filtering
  • # `ReverseRecord`-s.
  • reverseRecords(
  • after: String,
  • atBlock: BlockHistoryFilter,
  • before: String,
  • first: Int,
  • last: Int,
  • order: ReverseRecordOrder,
  • where: ReverseRecordsFilter
  • ): ReverseRecordConnection!
  • }

link Require by

This element is not required by anyone