localAPI endpoints defined in the documentation. Using the
localAPI endpoints on any Chainweb node, you can dry-run Pact smart contracts using actual data in the coin contract tables. This is perfect for checking the viability of your smart contracts, as well as to check account data without necessarily having to spend tokens!
localquery does not need to make use of any metadata, env data, or signers, so a minimalist API request format is relatively simple:
pact -l -a <my-script-name>.yaml. The following output should look something like this:
localpact endpoint of any chainweb node on a chain where the account exists. Using the
us-e2bootstrap node as an example, sending to the local endpoint looks something like the following: