Crate flow_rust_sdk

Source
Expand description

Flow-Rust-SDK API Reference

See the Wiki for usage instructions.

Re-exports§

pub extern crate hex;
pub extern crate rlp;

Modules§

flow
flow is an exported module from the flow_rust_sdk. It’s types are generated directly from the gRPC API Protobufs https://github.com/onflow/flow/tree/master/protobuf

Macros§

json
Construct a serde_json::Value from a JSON literal.

Structs§

Argument
This is our argument builder.
FlowConnection
The FlowConnection object contains a single API connection. The network transport layer can be optionally substitued by implementing a new FlowConnection
OsRng
A random number generator that retrieves randomness from the operating system.
Sign
Construct a signature object. Pass this into the payload or envelope signatures when signing a transaction.

Enums§

Value
Represents any valid JSON value.

Functions§

build_transaction
build_transaction will construct a flow::Transaction with the provided script and arguments. See the Argument struct for details on how to construct arguments.
from_slice
Deserialize an instance of type T from bytes of JSON text.
process_keys_args
Process key arguments. Intended for use with create_account
sign_transaction
Sign the provided transaction. You will first need to build_transaction.
to_vec
Serialize the given data structure as a JSON byte vector.

Type Aliases§

SigningKey
ECDSA/P-256 signing key