local abstract method

Future<PactResponse> local({
  1. required PactCommand command,
  2. String? chainId,
  3. String? nodeUrl,
  4. String? networkId,
  5. String? url,
  6. bool preflight = true,
  7. bool signatureValidation = true,
})

Send a local pact command to the node The command is the pact command to execute dirtily. The chainId is the chainId to execute the command on. It is required if url is not provided. The nodeUrl and the networkId are used to override the defaults set by setNodeUrl and setNetworkId when building the url for the pact api. The url is the full node url, example: https://api.chainweb.com/chainweb/0.0/testnet01/chain/0/pact/api/v1 If url is provided, the chainId is not required. The preflight is a boolean to enable/disable preflight. If enabled, the command will be executed in a simulated transaction as close to send as possible. The signatureValidation is a boolean to enable/disable signature validation in the local call.

Implementation

Future<PactResponse> local({
  required PactCommand command,
  String? chainId,
  String? nodeUrl,
  String? networkId,
  String? url,
  bool preflight = true,
  bool signatureValidation = true,
});