OPERATION_ DOCUMENT
The minimized GraphQL document being sent to the server to save a few bytes. The un-minimized version is:
query getCoins($owner: SuiAddress!, $first: Int, $cursor: String, $type: String = "0x2::coin::Coin<0x2::sui::SUI>" ) {
address(address: $owner) {
address
objects(first: $first, after: $cursor, filter: {
type: $type
}
) {
pageInfo {
hasNextPage
endCursor
}
nodes {
owner {
__typename
...RPC_OBJECT_OWNER_FIELDS
}
contents {
bcs
json
type {
repr
}
}
address
version
digest
previousTransaction {
digest
}
}
}
}
}
fragment RPC_OBJECT_OWNER_FIELDS on Owner {
__typename
... on AddressOwner {
address {
address
}
}
... on ObjectOwner {
address {
address
}
}
... on Shared {
initialSharedVersion
}
... on Immutable {
__typename
}
... on ConsensusAddressOwner {
address {
address
}
}
}Content copied to clipboard