Expand description

A node client API. Intended to be used from applications (web or otherwise) using the node capabilities to execute contract, delegate, etc. instructions and communicating over the network.

Communication, independent of the transport, revolves around the ClientRequest and HostResponse types.

Currently the clients available are:

  • websocket:
    • regular (native): Using TCP transport directly, for native applications programmed in Rust.
    • browser (wasm): Via wasm-bindgen (and by extension web-sys). (In order to use this client from JS/Typescript refer to the Typescript std lib).

Structs

Enums

Traits