pub type AsyncCall<Api> = Tx<TxScEnv<Api>, (), ManagedAddress<Api>, Egld<BigUint<Api>>, (), FunctionCall<Api>, Option<CallbackClosure<Api>>>;
👎Deprecated since 0.49.0: Please use the unified transaction syntax instead.
Expand description
Kept as alias for backwards compatibility.
Aliased Type§
struct AsyncCall<Api> {
pub env: TxScEnv<Api>,
pub from: (),
pub to: ManagedAddress<Api>,
pub payment: Egld<BigUint<Api>>,
pub gas: (),
pub data: FunctionCall<Api>,
pub result_handler: Option<CallbackClosure<Api>>,
}
Fields§
§env: TxScEnv<Api>
§from: ()
§to: ManagedAddress<Api>
§payment: Egld<BigUint<Api>>
§gas: ()
§data: FunctionCall<Api>
§result_handler: Option<CallbackClosure<Api>>