OPERATION_ DOCUMENT
The minimized GraphQL document being sent to the server to save a few bytes. The un-minimized version is:
query getOwnedObjects($owner: SuiAddress!, $limit: Int, $cursor: String, $showBcs: Boolean = false , $showContent: Boolean = false , $showDisplay: Boolean = false , $showType: Boolean = false , $showOwner: Boolean = false , $showPreviousTransaction: Boolean = false , $showStorageRebate: Boolean = false , $filter: ObjectFilter) {
address(address: $owner) {
objects(first: $limit, after: $cursor, filter: $filter) {
pageInfo {
hasNextPage
endCursor
}
nodes {
__typename
...RPC_MOVE_OBJECT_FIELDS
}
}
}
}
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
}
}
}
fragment RPC_MOVE_OBJECT_FIELDS on MoveObject {
objectId: address
contents @include(if: $showType) {
type {
repr
}
}
hasPublicTransfer @include(if: $showContent)
contents @include(if: $showContent) {
json
type {
repr
layout
signature
}
display @include(if: $showDisplay) {
output
errors
}
}
hasPublicTransfer @include(if: $showBcs)
contents @include(if: $showBcs) {
bcs
type {
repr
}
}
owner @include(if: $showOwner) {
__typename
...RPC_OBJECT_OWNER_FIELDS
}
previousTransaction @include(if: $showPreviousTransaction) {
digest
}
storageRebate @include(if: $showStorageRebate)
digest
version
}Content copied to clipboard