Expand description
Offers macros that build extrinsics for custom runtime modules based on the metadata.
Re-exports§
pub use ac_primitives as primitives;
pub use log;
Macros§
- compose_
call - Generates the extrinsic’s call field for a given module and call passed as &str, if found in the metadata. Otherwise None is returned.
- compose_
call_ for_ pallet_ metadata - Generates the extrinsic’s call field for the given PalletMetadata
- compose_
extrinsic - Generates an UncheckedExtrinsic for the given pallet and call from the metadata.
- compose_
extrinsic_ offline - Generates an UncheckedExtrinsic for a given call.
- compose_
extrinsic_ with_ nonce - Generates an UncheckedExtrinsic for the given pallet and call, if they are found within the metadata. Otherwise None is returned.
- rpc_
params - Convert the given values to a [
RpcParams
] as expected by a Rpc Client (http or websocket).