Crate aleph_client

source ·
Expand description

API for aleph-node chain.

This crate provides a Rust application interface for submitting transactions to aleph-node chain. Most of the pallets are common to any Substrate chain, but there are some unique to aleph-node, e.g. pallets::elections::ElectionsApi.

Re-exports

Modules

  • Contains types and functions simplifying common contract-related operations.
  • API for pallets.
  • Block / session / era API.
  • Waiting for some events API.

Structs

  • Capable of communicating with a live Aleph chain.
  • Used for signing extrinsic payload
  • Specific connection that is signed by the sudo key.
  • Any connection that is signed by some key.
  • Data regarding submitted transaction.

Enums

  • When submitting a transaction, wait for given status before proceeding.

Constants

Traits

Functions

Type Definitions

  • An alias for an account id type.
  • An alias for a pallet aleph keys.
  • An alias for token amount.
  • An alias for a block hash type.
  • An alias for block index.
  • An alias for a hash type.
  • An alias for counter for the number of eras that have passed.
  • An alias for a type of a key pair that signs chain transactions.
  • An alias for index type with which we can count sessions.
  • An alias for index type with which we can index sessions.
  • An alias for an RPC client type.
  • An alias for a transaction hash type.
  • An alias for finality version.