Skip to content
Overview
Overview
Overview
Overview
Overview
Overview
Overview

Represents a single Pact query to be executed on a specific chain.

chainId
String!,non-null

The ID of the chain on which the Pact code should be executed.

code
String!,non-null

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" } ] }
key
String!,non-null
value
String!,non-null
Sample
{ "key": "Example String", "value": "Example String" }
Referenced in
Overview