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, if they are found within the metadata. Otherwise None is returned. Fetches the nonce from the given api instance. If this fails, zero is taken as default nonce. See also compose_extrinsic_with_nonce
  • 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).