Constructs an instance of MultiCallInvocationScope.
The contract.
An array of function invocation scopes.
Protected
Optional
assembleProtected
externalProtected
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.
Adds a single function invocation scope to the multi-call invocation scope.
The function invocation scope.
The instance of MultiCallInvocationScope.
Adds multiple function invocation scopes to the multi-call invocation scope.
An array of function invocation scopes.
The instance of MultiCallInvocationScope.
Adds contracts to the invocation scope.
An array of contracts to add.
The current instance of the class.
Adds signers to the transaction request.
The current instance of the class.
This method is deprecated and will be removed in a future versions. All signatures should be manually added to the transaction request witnesses. If your Sway program relies on in-code signature validation, visit this guide: https://docs.fuel.network/docs/fuels-ts/cookbook/sway-script-with-signature-validation/
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.
Sets the transaction parameters.
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.
Optional
params: { Optional parameters for the call.
skipAssembleTx
: A boolean indicating whether to skip assembling the transaction. This is useful
when customizations were made to the transaction request using the assembleTx
method.Optional
skipA promise that resolves to an object containing:
transactionId
: The ID of the submitted transaction.waitForResult
: A function that waits for the transaction result.waitForPreConfirmation
: A function that waits for the transaction pre-confirmation.Protected
checkExecutes a transaction in dry run mode.
The result of the invocation call.
Sets the transaction request. Useful when you have used getTransactionRequest
or
fundWithRequiredCoins
from the scope to apply customizations to the transaction request.
The transaction request to set.
The current instance of the class.
Funds the transaction request with the required coins and returns it.
The transaction request.
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.
Use contract.fundWithRequiredCoins instead Check the migration guide https://docs.fuel.network/docs/fuels-ts/transactions/assemble-tx-migration-guide/ for more information.
Prepares and returns the transaction request object.
The prepared transaction request.
Protected
prepareSimulates 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 multiple calls.