Skip to main content

scale_encode_revive_call

Function scale_encode_revive_call 

Source
pub fn scale_encode_revive_call(
    dest: &[u8; 20],
    input_data: &[u8],
) -> Result<Vec<u8>, String>
Expand description

SCALE-encode the parameters for ReviveApi::call() runtime API.

Parameters (in order, from runtime metadata): origin: AccountId32 ([u8; 32]) dest: H160 ([u8; 20]) value: u128 (BalanceOf, 16 bytes LE) gas_limit: Option where Weight { ref_time: Compact, proof_size: Compact } storage_deposit_limit: Option input_data: Vec