GetAccountTransactionsData top-level constant

String const GetAccountTransactionsData

Implementation

const GetAccountTransactionsData = r'''
    query getAccountTransactionsData($address: String, $limit: Int, $offset: Int) {
  move_resources(
    where: {address: {_eq: $address}}
    order_by: {transaction_version: desc}
    distinct_on: transaction_version
    limit: $limit
    offset: $offset
  ) {
    transaction_version
  }
}
    ''';