Constructs an instance of FunctionInvocationScope.
The program.
The function fragment.
The arguments.
Protected
argsProtected
externalProtected
funcProtected
functionProtected
hasProtected
isProtected
programProtected
requiredProtected
transactionProtected
Optional
txProtected
callsGetter for the contract calls.
An array of contract calls.
Adds multiple transfers to the contract call transaction request.
An array of TransferParams
objects representing the transfers to be made.
The current instance of the class.
Protected
addAdds a single call to the invocation scope.
The function scope to add.
The current instance of the class.
Protected
addAdds multiple calls to the invocation scope.
An array of function scopes to add.
The current instance of the class.
Adds contracts to the invocation scope.
An array of contracts to add.
The current instance of the class.
Adds an asset transfer to an Account on the contract call transaction request.
The object representing the transfer to be made.
The current instance of the class.
Submits the contract call transaction and returns a promise that resolves to an object containing the transaction ID and a function to wait for the result. The promise will resolve as soon as the transaction is submitted to the node.
The type of the return value.
A promise that resolves to an object containing:
transactionId
: The ID of the submitted transaction.waitForResult
: A function that waits for the transaction result.Sets the call parameters for the function invocation.
The call parameters.
The instance of FunctionInvocationScope.
Protected
checkExecutes a transaction in dry run mode.
The result of the invocation call.
Funds the transaction with the required coins.
The current instance of the class.
Gets the call configuration.
The call configuration.
Protected
getGets the required coins for the transaction.
An array of required coin quantities.
Gets the transaction cost for dry running the transaction.
The transaction cost details.
Prepares and returns the transaction request object.
The prepared transaction request.
Protected
prepareSets the arguments for the function invocation.
Rest
...args: TArgsThe arguments.
The instance of FunctionInvocationScope.
Simulates a transaction.
The result of the invocation call.
Sets the transaction parameters.
The transaction parameters to set.
The current instance of the class.
Protected
updateProtected
updateProtected
update
Represents a scope for invoking a function.