Module casper_client::ffi
source · [−]Expand description
Foreign function interfaces.
Structs
Container for Deploy
construction options.
The two ways to construct a query to global state.
Container for Payment
construction options.
Container for Session
construction options.
Enums
Container for DictionaryItemStrParams
construction options.
FFI representation of Error
Functions
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 a dictionary.
Retrieves era information from the network.
Retrieves a stored value from the network.
Gets the last error copied to the provided buffer.
Retrieves a state root hash at a given Block
.
Retrieves status changes of active validators.
Generates key files.
Creates a Deploy
and outputs it to a file or stdout.
Creates a transfer Deploy
and outputs it to a file or stdout.
Creates a Deploy
and sends it to the network for execution.
Retrieves information from global state using either a Block hash or a state root hash.
Reads a previously-saved Deploy
from a file and sends it to the network for execution.
Perform needed setup for the client library.
Perform a clean shutdown of resources gathered in the client library.
Reads a previously-saved Deploy
from a file, cryptographically signs it, and outputs it to a
file or stdout.
Transfers funds between purses.