OBJECT
Query
link GraphQL Schema definition
- type Query {
- # Get single asset
- #
- # Arguments
- # id:
- AssetID): Asset ( :
- # Get list of assets. Note: native XLM asset isn't included here
- #
- # Arguments
- # code:
- # issuer:
- # first:
- # after:
- # last:
- # before:
- (
- AssetCode, :
- AccountID, :
- Int, :
- String, :
- Int, :
- String :
- ): AssetConnection
- # Get single account by the id
- #
- # Arguments
- # id:
- AccountID!): Account ( :
- # Get a lists of accounts by the ids
- #
- # Arguments
- # ids:
- # inflationDestination:
- # homeDomain:
- # data:
- # first:
- # last:
- # after:
- # before:
- (
- AccountID!], : [
- AccountID, :
- String, :
- DataInput, :
- Int, :
- Int, :
- String, :
- String :
- ): AccountConnection
- # Get single ledger by its sequence number
- #
- # Arguments
- # seq:
- LedgerSeq!): Ledger! ( :
- # Get list of ledgers by sequence numbers
- #
- # Arguments
- # seq:
- LedgerSeq!]!): [Ledger]! ( : [
- # Get list of offers
- #
- # Arguments
- # selling:
- # buying:
- # first:
- # after:
- # last:
- # before:
- (
- AssetCode!, :
- AssetCode!, :
- Int, :
- String, :
- Int, :
- String :
- ): OfferConnection
- # Get current best bid/ask offer for the given pair of assets
- #
- # Arguments
- # selling:
- # buying:
- AssetID!, : AssetID!): Tick ( :
- # Get single transaction by id
- #
- # Arguments
- # id:
- TransactionHash!): Transaction ( :
- # Get list of transactions
- #
- # Arguments
- # first:
- # after:
- # last:
- # before:
- Int, : String, : Int, : String): TransactionConnection ( :
- # Get list of operations
- #
- # Arguments
- # type:
- # first:
- # after:
- # last:
- # before:
- (
- OperationType], : [
- Int, :
- String, :
- Int, :
- String :
- ): OperationConnection
- # Get single operation by its id
- #
- # Arguments
- # id:
- String): Operation ( :
- # Get order book details
- #
- # Arguments
- # selling:
- # buying:
- # limit:
- AssetID!, : AssetID!, : 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:
- # destinationAmount:
- (
- AccountID!, :
- AssetID!, :
- String! :
- ): [PaymentPath!]
- # Get list of trades
- #
- # Arguments
- # assetSold:
- # assetBought:
- # offer:
- # first:
- # after:
- # last:
- # before:
- (
- AssetID, :
- AssetID, :
- String, :
- Int, :
- String, :
- Int, :
- String :
- ): TradeConnection!
- }
link Require by
This element is not required by anyone