Function oasis_runtime_sdk::callformat::decode_call_ex
source ยท pub fn decode_call_ex<C: Context>(
ctx: &C,
call: Call,
index: usize,
assume_km_reachable: bool,
) -> Result<Option<(Call, Metadata)>, Error>
Expand description
Decode call arguments.
Returns Some((Call, Metadata))
when processing should proceed and None
in case further
execution needs to be deferred (e.g., because key manager access is required).
If assume_km_reachable
is set, then this method will return errors instead of None
.