Crate ac_compose_macros

Source
Expand description

Offers macros that build extrinsics for custom runtime modules based on the metadata.

Re-exports§

Macros§

  • Generates the extrinsic’s call field for a given module and call passed as &str, if found in the metadata. Otherwise None is returned.
  • Generates the extrinsic’s call field for the given PalletMetadata
  • Generates an UncheckedExtrinsic for the given pallet and call from the metadata.
  • Generates an UncheckedExtrinsic for a given call.
  • Generates an UncheckedExtrinsic for the given pallet and call, if they are found within the metadata. Otherwise None is returned.
  • Convert the given values to a [RpcParams] as expected by a Rpc Client (http or websocket).