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 firstn
values of the set. -
last
(Int
) Only read the lastn
values of the set. -
offset
(Int
) Skip the firstn
values from ourafter
cursor, an alternative to cursor based pagination. May not be used withlast
. -
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 orderingTransactionSummariesOrderBy
.
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’srowId
field. -
createdAt
(DatetimeFilter
) Filter by the object’screatedAt
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
}
-
payoutAddress
(String
) Payout Address -
coinPrice
(BigFloat
) -
amountUsd
(BigFloat
) Amount in USD -
description
(String
)
Interfaces
Node
An object with a globally uniqueID
.
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!) TheTransactionSummary
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 allTransactionSummary
you could get from the connection.