Download GraphQL schema
Represents a single Pact query to be executed on a specific chain.
chain Id
The ID of the chain on which the Pact code should be executed.
code
The Pact code to execute. Examples:
"(+ 1 2)"
"(coin.get-details \\\"k:abcdef123456...\\\")"
data
Optional arguments or environment data for the Pact code execution. Typically used to pass variables or structured input required by the smart contract.
Sample
{ "chainId": "Example String", "code": "Example String", "data": [ { "__typename": "PactQueryData" } ] }