OPERATION_ DOCUMENT
The minimized GraphQL document being sent to the server to save a few bytes. The un-minimized version is:
query multiGetTransactionBlocks($digests: [String!]!, $limit: Int, $cursor: String, $showBalanceChanges: Boolean = false , $showEffects: Boolean = false , $showRawEffects: Boolean = false , $showEvents: Boolean = false , $showInput: Boolean = false , $showObjectChanges: Boolean = false , $showRawInput: Boolean = false ) {
transactionBlocks(first: $limit, after: $cursor, filter: {
transactionIds: $digests
}
) {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
nodes {
__typename
...RPC_TRANSACTION_FIELDS
}
}
}
fragment RPC_EVENTS_FIELDS on Event {
sendingModule {
package {
address
}
name
}
sender {
address
}
contents {
type {
repr
}
json
bcs
}
timestamp
}
fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
digest
rawTransaction: bcs @include(if: $showInput)
rawTransaction: bcs @include(if: $showRawInput)
sender {
address
}
signatures
effects {
bcs @include(if: $showEffects)
bcs @include(if: $showObjectChanges)
bcs @include(if: $showRawEffects)
events @include(if: $showEvents) {
pageInfo {
hasNextPage
endCursor
}
nodes {
__typename
...RPC_EVENTS_FIELDS
}
}
checkpoint {
sequenceNumber
}
timestamp
balanceChanges @include(if: $showBalanceChanges) {
pageInfo {
hasNextPage
endCursor
}
nodes {
coinType {
repr
}
owner {
asObject {
address
}
asAddress {
address
}
}
amount
}
}
objectChanges @include(if: $showObjectChanges) {
pageInfo {
hasNextPage
endCursor
}
nodes {
address
inputState {
version
asMoveObject {
contents {
type {
repr
}
}
}
}
outputState {
asMoveObject {
contents {
type {
repr
}
}
}
asMovePackage {
modules(first: 10) {
nodes {
name
}
}
}
}
}
}
}
}
Content copied to clipboard