Skip to main content

call_typed

Function call_typed 

Source
pub fn call_typed<T>(
    script_hash: &NeoByteString,
    method: &str,
    args: &[NeoValue],
    call_flags: &NeoInteger,
) -> Result<T, NeoError>
where T: FromNeoValue,
Expand description

Helper: typed cross-contract call with the default caller. Mirrors the C# Contract.Call<T> API.