Crate casper_client[][src]

Expand description

Modules

Foreign function interfaces.

Functions for use in help commands.

Cryptographic key generation.

Structs

Container for Deploy construction options.

Result for “chain_get_block” RPC response.

Container for payment-related arguments used while constructing a Deploy.

Container for session-related arguments used while constructing a Deploy.

Enums

Various ways of uniquely identifying a dictionary entry.

Error that can be returned by casper-client.

Error that can be returned when validating a block returned from a JSON-RPC method.

Functions

Retrieves an Account from the network.

Retrieves the bids and validators as of the most recently added Block.

Retrieves a purse’s balance from the network.

Retrieves a Block from the network.

Retrieves all Transfer items for a Block from the network.

Retrieves a Deploy from the network.

Retrieves a stored value from the network.

Retrieves era information from the network.

Retrieves a stored value from the network.

Retrieves a state root hash at a given Block.

Retrieves information and examples for all currently supported RPCs.

Creates a Deploy and outputs it to a file or stdout.

Creates a transfer Deploy and outputs it to a file or stdout.

When verbosity_level is 1, the value will be printed to stdout with long string fields (e.g. hex-formatted raw Wasm bytes) shortened to a string indicating the char count of the field. When verbosity_level is greater than 1, the value will be printed to stdout with no abbreviation of long fields. When verbosity_level is 0, the value will not be printed to stdout.

Creates a Deploy and sends it to the network for execution.

Reads a previously-saved Deploy from a file and sends it to the network for execution.

Reads a previously-saved Deploy from a file, cryptographically signs it, and outputs it to a file or stdout.

Transfers funds between purses.