diff --git a/.changeset/quiet-grapes-move.md b/.changeset/quiet-grapes-move.md new file mode 100644 index 00000000000..01bc28b0c33 --- /dev/null +++ b/.changeset/quiet-grapes-move.md @@ -0,0 +1,5 @@ +--- +"@fuel-ts/account": patch +--- + +fix: `Account.createTransfer` return type diff --git a/packages/account/src/account.ts b/packages/account/src/account.ts index b421e51f24e..e6636fab933 100644 --- a/packages/account/src/account.ts +++ b/packages/account/src/account.ts @@ -334,7 +334,7 @@ export class Account extends AbstractAccount { amount: BigNumberish, assetId?: BytesLike, txParams: TxParamsType = {} - ): Promise { + ): Promise { let request = new ScriptTransactionRequest(txParams); request = this.addTransfer(request, { destination, amount, assetId }); request = await this.estimateAndFundTransaction(request, txParams);