Skip to main content

ContractQuery sub-protocol

The ContractQuery sub-protocol is defined here:

The ContractRequest type is a set of requests for use with the generic query protocol that allows clients to query the contract store.

Request types

The following requests are supported:

RequestParameterDescription
GetContract hashReturns information about the contract with the given hash, including the contract and its deep and shallow dependencies.
hashThe hash of the contract to inspect.
MerkleizeInputs hash state inputReturns a version of input suitable for application to the merkleized contract with the given hash.
hashThe hash of the contract to which to apply the input.
stateThe state of the contract against which to evaluate the input.
inputA marlowe transaction input consisting of a validity interval and a sequence of input actions.