primitives
Types and simple structs used by mutliple crates
Types and simple structs used b...
node-api
Node specific, complicated types, such as:
  • Storage keys (key hash, double map, ...)
  • medadata
  • events
Node specific, complicated type...
compose-macros
All macros, used by api-client and user directly:
  • compose extrinsic
  • rpc_params
All macros, used by api-client...
src (api-client)api
Api struct, meant to be the top level of the api-client.
  • rpc_api: api to the rpc client living inside the api client
Api struct, meant to be the...
extrinsic
Extrinsic helper definition:Easy extrinsic creation without any compose-macros.
E.g.
api.balance_transfer(acc, amount)

Not all no-std compatible!
Extrinsic helper definition: E...
rpc
Rpc client definitions
Rpc client definitions
examples
User examples. Should be well documented, informative and cleanly strucutured.

Important: Need to be CI tested,
otherwise they get oudated!
User examples. Should be well...
test_no_std
As name states: Used for checking for no_std compatibility.
CI uses it.
As name states: Used for check...
testing
System tests. Meant for testing all functions of the api client. Unlike examples they dont need to be informative.

example folder: Because of simplicity and building with `cargo test`, See https://github.com/
scs/substrate-api-client/pull/368
#discussion_r1048691595 
System tests. Meant for testin...
Viewer does not support full SVG 1.1