pub fn encode_call_data(
client: &OnlineClient<SubstrateConfig>,
xt: &DynamicPayload,
) -> Result<String, Error>Expand description
Encodes the call data for a given extrinsic into a hexadecimal string.
ยงArguments
client- The client used to interact with the chain.xt- The extrinsic whose call data will be encoded and returned.