API Docs
Revenue
Get All Transaction Summary

Get All Transaction Summary

Retrieves all transactions made from a user and a coin.

Example

query getAllTransactionSummary {
  getAllTransactionSummary(cid: ARRR, startAt: "", endAt: "", uname: "", first: 10) {
    edges {
      node {
        payoutAddress
        description
        transactionId
        amountUsd
        amount
        coinPrice
        createdAt
        currency
        id
        rowId
        type
      }
    }
  }
}

Response

{
  "data": {
    "getAllTransactionSummary": {
      "edges": [
        {
          "node": {
            "payoutAddress": null,
            "description": "",
            "transactionId": null,
            "amountUsd": "",
            "amount": "",
            "coinPrice": "",
            "createdAt": "",
            "currency": "",
            "id": "",
            "rowId": 0,
            "type": "",
          }
        }
				{
          "node": {
            "payoutAddress": "",
            "description": "",
            "transactionId": "",
            "amountUsd": "",
            "amount": "",
            "coinPrice": "",
            "createdAt": "",
            "currency": "",
            "id": "",
            "rowId": 0,
            "type": ""
          }
        },
      ]
    }
  }
}

Arguments

  • uname (String!)

  • cid (CurrencyProfileName!)

enum CurrencyProfileName {
  ARRR
  BTC
  DASH
  DCR
  KMD
  LBC
  SC
  SCP
  ZEC
  ZEN
  USD
  TBTC
  ETH
  TETH
  USDT
}
  • startAt (Datetime) Start date for the transaction

  • endAt (Datetime) End date for the transaction

  • first (Int) Only read the first n values of the set.

  • last (Int) Only read the last n values of the set.

  • offset (Int) Skip the first n values from our after cursor, an alternative to cursor based pagination. May not be used with last.

  • before (Cursor) Read all values in the set before (above) this cursor.

  • after (Cursor) Read all values in the set after (below) this cursor.

  • orderBy ([TransactionSummariesOrderBy!]) The method to use when ordering TransactionSummariesOrderBy.

enum TransactionSummariesOrderBy {
  NATURAL
  ID_ASC
  ID_DESC
  CREATED_AT_ASC
  CREATED_AT_DESC
  PRIMARY_KEY_ASC
  PRIMARY_KEY_DESC
}

Filter

TransactionSummaryFilter

A filter to be used in determining which values should be returned by the collection.

type TransactionSummaryFilter {
  rowId: IntFilter
  createdAt: DatetimeFilter
  and: [TransactionSummaryFilter!]
  or: [TransactionSummaryFilter!]
  not: TransactionSummaryFilter
}
Fields
  • rowId (IntFilter) Filter by the object’s rowId field.

  • createdAt (DatetimeFilter) Filter by the object’s createdAt field.

  • and ([TransactionSummaryFilter!]) Checks for all expressions in this list.

  • or ([TransactionSummaryFilter!]) Checks for any expressions in this list.

  • not ([TransactionSummaryFilter]) Negates the expression.

Type

TransactionSummariesConnection

A connection to a list of PayoutTx values.

type TransactionSummariesConnection {
  nodes: [TransactionSummary!]!
  edges: [TransactionSummariesEdge!]!
  pageInfo: PageInfo!
  totalCount: Int!
}
Fields
  • nodes ([TransactionSummary!]!)

A list of TransactionSummary objects.

type TransactionSummary implements Node {
  id: ID!
  rowId: Int!
  createdAt: Datetime
  amount: BigFloat
  transactionId: String
  type: String
  currency: CurrencyProfileName
  payoutAddress: String
  coinPrice: BigFloat
  amountUsd: BigFloat
  description: String
}
Fields
  • id (ID!) A globally unique identifier. Can be used in various places throughout the system to identify this single value.

  • rowId (Int!)

  • createdAt (Datetime) Date and time when a payout tx was created

  • amount (BigFloat) Amount of the payout transaction

  • transactionId (String) Transaction Identifier

  • type (String) Type of the payout transaction

  • currency (CurrencyProfileName) Currency of the payout transaction

enum CurrencyProfileName {
  ARRR
  BTC
  DASH
  DCR
  KMD
  LBC
  SC
  SCP
  ZEC
  ZEN
  USD
  TBTC
  ETH
  TETH
  USDT
}

Interfaces

  • Node An object with a globally unique ID.
  • edges ([TransactionSummariesEdge!]!)

A list of edges which contains the TransactionSummary and cursor to aid in pagination.

type TransactionSummariesEdge {
  cursor: Cursor
  node: TransactionSummary!
}
Fields
  • cursor (Cursor) A cursor for use in pagination.

  • node (TransactionSummary!) The TransactionSummary at the end of the edge.

  • pageInfo

Information to aid in pagination.

type PageInfo {
  hasNextPage: Boolean!
  hasPreviousPage: Boolean!
  startCursor: Cursor
  endCursor: Cursor
}
  • totalCount (Int!) The count of all TransactionSummary you could get from the connection.