OBJECT

Query

link GraphQL Schema definition

  • type Query {
  • # Get single asset
  • #
  • # Arguments
  • # id: [Not documented]
  • asset(id: AssetID): Asset
  • # Get list of assets. Note: native XLM asset isn't included here
  • #
  • # Arguments
  • # code: [Not documented]
  • # issuer: [Not documented]
  • # first: [Not documented]
  • # after: [Not documented]
  • # last: [Not documented]
  • # before: [Not documented]
  • assets(
  • code: AssetCode,
  • issuer: AccountID,
  • first: Int,
  • after: String,
  • last: Int,
  • before: String
  • ): AssetConnection
  • # Get single account by the id
  • #
  • # Arguments
  • # id: [Not documented]
  • account(id: AccountID!): Account
  • # Get a lists of accounts by the ids
  • #
  • # Arguments
  • # ids: [Not documented]
  • # inflationDestination: [Not documented]
  • # homeDomain: [Not documented]
  • # data: [Not documented]
  • # first: [Not documented]
  • # last: [Not documented]
  • # after: [Not documented]
  • # before: [Not documented]
  • accounts(
  • ids: [AccountID!],
  • inflationDestination: AccountID,
  • homeDomain: String,
  • data: DataInput,
  • first: Int,
  • last: Int,
  • after: String,
  • before: String
  • ): AccountConnection
  • # Get single ledger by its sequence number
  • #
  • # Arguments
  • # seq: [Not documented]
  • ledger(seq: LedgerSeq!): Ledger!
  • # Get list of ledgers by sequence numbers
  • #
  • # Arguments
  • # seq: [Not documented]
  • ledgers(seq: [LedgerSeq!]!): [Ledger]!
  • # Get list of offers
  • #
  • # Arguments
  • # selling: [Not documented]
  • # buying: [Not documented]
  • # first: [Not documented]
  • # after: [Not documented]
  • # last: [Not documented]
  • # before: [Not documented]
  • offers(
  • selling: AssetCode!,
  • buying: AssetCode!,
  • first: Int,
  • after: String,
  • last: Int,
  • before: String
  • ): OfferConnection
  • # Get current best bid/ask offer for the given pair of assets
  • #
  • # Arguments
  • # selling: [Not documented]
  • # buying: [Not documented]
  • tick(selling: AssetID!, buying: AssetID!): Tick
  • # Get single transaction by id
  • #
  • # Arguments
  • # id: [Not documented]
  • transaction(id: TransactionHash!): Transaction
  • # Get list of transactions
  • #
  • # Arguments
  • # first: [Not documented]
  • # after: [Not documented]
  • # last: [Not documented]
  • # before: [Not documented]
  • transactions(first: Int, after: String, last: Int, before: String): TransactionConnection
  • # Get list of operations
  • #
  • # Arguments
  • # type: [Not documented]
  • # first: [Not documented]
  • # after: [Not documented]
  • # last: [Not documented]
  • # before: [Not documented]
  • operations(
  • type: [OperationType],
  • first: Int,
  • after: String,
  • last: Int,
  • before: String
  • ): OperationConnection
  • # Get single operation by its id
  • #
  • # Arguments
  • # id: [Not documented]
  • operation(id: String): Operation
  • # Get order book details
  • #
  • # Arguments
  • # selling: [Not documented]
  • # buying: [Not documented]
  • # limit: [Not documented]
  • orderBook(selling: AssetID!, buying: AssetID!, limit: Int): OrderBook
  • # Look up for appropriate payment paths
  • #
  • # Arguments
  • # sourceAccountID: The sender’s account id. Any returned path
  • # must use a source that the sender can hold
  • # destinationAsset: [Not documented]
  • # destinationAmount: [Not documented]
  • findPaymentPaths(
  • sourceAccountID: AccountID!,
  • destinationAsset: AssetID!,
  • destinationAmount: String!
  • ): [PaymentPath!]
  • # Get list of trades
  • #
  • # Arguments
  • # assetSold: [Not documented]
  • # assetBought: [Not documented]
  • # offer: [Not documented]
  • # first: [Not documented]
  • # after: [Not documented]
  • # last: [Not documented]
  • # before: [Not documented]
  • trades(
  • assetSold: AssetID,
  • assetBought: AssetID,
  • offer: String,
  • first: Int,
  • after: String,
  • last: Int,
  • before: String
  • ): TradeConnection!
  • }

link Require by

This element is not required by anyone