# Copyright (c) Mysten Labs, Inc. # SPDX-License-Identifier: Apache-2.0 query getCoins($owner: SuiAddress!, $first: Int, $cursor: String, $type: String = "0x2::sui::SUI") { address(address: $owner) { address coins(first: $first, after: $cursor, type: $type) { pageInfo { hasNextPage endCursor } nodes { coinBalance owner { ...OBJECT_OWNER_FIELDS } contents { bcs type { repr } } address version digest } } } }