OBJECT

Query

Root node with entry queries.

link GraphQL Schema definition

  • type Query {
  • # Finds a single domain by it's unique name and specified filters.
  • #
  • # Arguments
  • # atBlock: Filters entities by block history.
  • # validity: Filters validity of the entity based on it's validity
  • # date-time.
  • # name: Unique name of domain to fetch.
  • domain(atBlock: BlockHistoryFilter, validity: RecordValidity, name: String!): Domain
  • # Finds all domains corresponding to specified filters.
  • #
  • # Arguments
  • # after: Only return edges after 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.
  • # atBlock: Filters entities by block history.
  • # where: Complex object with filter conditions.
  • # order: Ordering options. Default is `{ field: DOMAIN,
  • # direction: ASC }`.
  • # before: Only return edges prior to the specified cursor.
  • # 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.
  • domains(
  • after: String,
  • first: Int,
  • atBlock: BlockHistoryFilter,
  • where: DomainsFilter,
  • order: DomainOrder,
  • before: String,
  • last: Int
  • ): DomainConnection!
  • # Finds a single reverse record by it's unique address and specified filters.
  • #
  • # Arguments
  • # atBlock: Filters entities by block history.
  • # validity: Filters validity of the entity based on it's validity
  • # date-time.
  • # address: Unique address of reverse record to fetch.
  • reverseRecord(
  • atBlock: BlockHistoryFilter,
  • validity: RecordValidity,
  • address: String!
  • ): ReverseRecord
  • # Finds all reverse records corresponding to specified filters.
  • #
  • # Arguments
  • # after: Only return edges after 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.
  • # atBlock: Filters entities by block history.
  • # where: Complex object with filter conditions.
  • # order: Ordering options. Default is `{ field: NAME, direction:
  • # ASC }`.
  • # before: Only return edges prior to the specified cursor.
  • # 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.
  • reverseRecords(
  • after: String,
  • first: Int,
  • atBlock: BlockHistoryFilter,
  • where: ReverseRecordsFilter,
  • order: ReverseRecordOrder,
  • before: String,
  • last: Int
  • ): ReverseRecordConnection!
  • # Finds the latest indexed block (head) or a specific block by its hash, level
  • # when supplied. Note: Only blocks starting with the origination of the smart
  • # contracts are available.
  • #
  • # Arguments
  • # hash: The hash of the block to fetch.
  • # level: The level of the block to fetch.
  • block(hash: String, level: Int): Block
  • # Finds a single auction by the domain's name and the first bid block level.
  • #
  • # Arguments
  • # domainName: The domain name corresponding to the auction.
  • # startedAtLevel: The auction's first bid block level.
  • # atBlock: Filters entities by block history.
  • auction(
  • domainName: String!,
  • startedAtLevel: Int!,
  • atBlock: BlockHistoryFilter
  • ): Auction
  • # Finds all auctions corresponding to specified filters.
  • #
  • # Arguments
  • # after: Only return edges after 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.
  • # atBlock: Filters entities by block history.
  • # where: Complex object with filter conditions.
  • # order: Ordering options. Default is `{ field: ENDS_AT,
  • # direction: DESC }`.
  • # before: Only return edges prior to the specified cursor.
  • # 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.
  • auctions(
  • after: String,
  • first: Int,
  • atBlock: BlockHistoryFilter,
  • where: AuctionsFilter,
  • order: AuctionOrder,
  • before: String,
  • last: Int
  • ): AuctionConnection!
  • # Finds a single auction by the domain's name in time.
  • #
  • # Arguments
  • # domainName: The domain name corresponding to the auction.
  • # atBlock: Filters entities by block history.
  • currentAuction(domainName: String!, atBlock: BlockHistoryFilter): Auction
  • # Finds a single offer by seller address, token id and offer creation block level.
  • #
  • # Arguments
  • # sellerAddress: Seller address corresponding to the offer.
  • # tokenId: The NFT token id corresponding to a domain.
  • # startedAtLevel: The offer's creation block level.
  • # atBlock: Filters entities by block history.
  • offer(
  • sellerAddress: Address!,
  • tokenId: Int!,
  • startedAtLevel: Int!,
  • atBlock: BlockHistoryFilter
  • ): Offer
  • # Finds all offers corresponding to specified filters.
  • #
  • # Arguments
  • # after: Only return edges after 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.
  • # atBlock: Filters entities by block history.
  • # where: Complex object with filter conditions.
  • # order: Ordering options. Default is `{ field: CREATED_AT,
  • # direction: DESC }`.
  • # before: Only return edges prior to the specified cursor.
  • # 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.
  • offers(
  • after: String,
  • first: Int,
  • atBlock: BlockHistoryFilter,
  • where: OffersFilter,
  • order: OfferOrder,
  • before: String,
  • last: Int
  • ): OfferConnection!
  • # Finds a single valid offer by its domain name.
  • #
  • # Arguments
  • # domainName: The domain name corresponding to the auction.
  • # atBlock: Filters entities by block history.
  • currentOffer(domainName: String!, atBlock: BlockHistoryFilter): Offer
  • # Finds all events corresponding to specified filters.
  • #
  • # Arguments
  • # after: Only return edges after 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.
  • # where: Complex object with filter conditions.
  • # order: Ordering options. Default is `{ field: TIMESTAMP,
  • # direction: DESC }`.
  • # before: Only return edges prior to the specified cursor.
  • # 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.
  • events(
  • after: String,
  • first: Int,
  • where: EventsFilter,
  • order: EventOrder,
  • before: String,
  • last: Int
  • ): EventConnection!
  • # Finds bidder balances for 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!
  • }

link Require by

This element is not required by anyone