send abstract method
Future<PactSendResponse>
send({
- required PactSendRequest commands,
- String? chainId,
- String? nodeUrl,
- String? networkId,
- String? url,
Send a pact command to the node
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.
Implementation
Future<PactSendResponse> send({
required PactSendRequest commands,
String? chainId,
String? nodeUrl,
String? networkId,
String? url,
});