GetAccountCurrentTokens top-level constant
String
const GetAccountCurrentTokens
Implementation
const GetAccountCurrentTokens = r'''
query getAccountCurrentTokens($address: String!, $offset: Int, $limit: Int) {
current_token_ownerships(
where: {owner_address: {_eq: $address}, amount: {_gt: 0}}
order_by: [{last_transaction_version: desc}, {creator_address: asc}, {collection_name: asc}, {name: asc}]
offset: $offset
limit: $limit
) {
amount
current_token_data {
...TokenDataFields
}
current_collection_data {
...CollectionDataFields
}
last_transaction_version
property_version
}
}''' + TokenDataFieldsFragmentDoc
+ CollectionDataFieldsFragmentDoc;