OPERATION_ DOCUMENT
The minimized GraphQL document being sent to the server to save a few bytes. The un-minimized version is:
query tryGetPastObject($id: SuiAddress!, $version: UInt53, $showBcs: Boolean = false , $showOwner: Boolean = false , $showPreviousTransaction: Boolean = false , $showContent: Boolean = false , $showDisplay: Boolean = false , $showType: Boolean = false , $showStorageRebate: Boolean = false ) {
current: object(address: $id) {
address
version
}
object(address: $id, version: $version) {
__typename
...RPC_OBJECT_FIELDS
}
}
fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
__typename
... on AddressOwner {
owner {
asObject {
address
}
asAddress {
address
}
}
}
... on Parent {
parent {
address
}
}
... on Shared {
initialSharedVersion
}
}
fragment RPC_OBJECT_FIELDS on Object {
objectId: address
version
asMoveObject @include(if: $showType) {
contents {
type {
repr
}
}
}
asMoveObject @include(if: $showContent) {
hasPublicTransfer
contents {
data
type {
repr
layout
signature
}
}
}
asMoveObject @include(if: $showBcs) {
hasPublicTransfer
contents {
bcs
type {
repr
}
}
}
owner @include(if: $showOwner) {
__typename
...RPC_OBJECT_OWNER_FIELDS
}
previousTransactionBlock @include(if: $showPreviousTransaction) {
digest
}
storageRebate @include(if: $showStorageRebate)
digest
version
display @include(if: $showDisplay) {
key
value
error
}
}
Content copied to clipboard