essential-rest-client 0.4.0

Client for interacting with the Essential Server
Documentation

essential-rest-client

Version: 0.2.0 Crates.io Documentation license Build Status

This is a Rust library and CLI tool that allows you to easily make rest requests to essential-node and essential-builder.

Essential REST Client

Usage: essential-rest-client [NODE_ADDRESS] [BUILDER_ADDRESS] <COMMAND>

Commands:
  Node Commands:
      get-contract                 Get a contract
      get-predicate                Get a predicate
      list-blocks                  List blocks in the given range
      list-contracts               List contracts in the given block range
      query-state                  Query state at contract address and key
  Builder Commands:
      submit-solution              Submit a solution
      latest-solution-failures     Get the latest failures for a solution
  help                             Print this message or the help of the given subcommand(s)

Arguments:
  [NODE_ADDRESS]  Optional node address to bind to
  [BUILDER_ADDRESS]  Optional builder address to bind to

Options:
  -h, --help     Print help
  -V, --version  Print version

Essential REST Client

This library provides a client for interacting with the Essential node and Essential builder.

Essential Node

Block and state related endpoints.

Essential Builder

Solution submission related endpoints.