xxxxxxxxxx
## How to use the graphQL explorer! ##
# 1. Click the fields on the left to add queries, mutations & subscriptions
# 2. Click ▷ button to run the query, mutation or subscription
query blocksQuery {
listVendia_BlockItems {
nextToken
Vendia_BlockItems {
_id
blockSchemaVersion
blockId
redactedBlockHash
previousBlockId
previousRedactedBlockHash
blockHash
previousBlockHash
status
commitTime
_owner
transactions {
_id
hash
redactedHash
signature
version
submissionTime
mutations
_owner
}
}
}
}
# Send graphQL mutation
mutation exampleMutation {
add_Product(
input: {name: "widgets", description: "descr", price: 1.5, size: S}
syncMode: NODE_LEDGERED
) {
result {
_id
description
name
price
size
sku
tags
_owner
xxxxxxxxxx
xxxxxxxxxx