Private
modelBroadcasts the ContractInvocation to the Network.
The ContractInvocation object
if the API request to broadcast a ContractInvocation fails.
Returns the Status of the ContractInvocation.
The Status of the ContractInvocation.
Returns the Transaction of the ContractInvocation.
The Transaction
Waits for the ContractInvocation to be confirmed on the Network or fail on chain. Waits until the ContractInvocation is completed or failed on-chain by polling at the given interval. Raises an error if the ContractInvocation takes longer than the given timeout.
The options to configure the wait function.
The interval to check the status of the ContractInvocation.
The maximum time to wait for the ContractInvocation to be confirmed.
The ContractInvocation object in a terminal state.
if the ContractInvocation times out.
Static
fromConverts a ContractInvocationModel into a ContractInvocation object.
The ContractInvocation model object.
The ContractInvocation object.
A representation of a ContractInvocation, which calls a smart contract method onchain. The fee is assumed to be paid in the native Asset of the Network.