diff --git a/src/transfers/resources.ts b/src/transfers/resources.ts index 4590092f..7a6aa975 100644 --- a/src/transfers/resources.ts +++ b/src/transfers/resources.ts @@ -7,7 +7,7 @@ export type NativeTokenTransferInput = { data?: Uint8Array; }; -export type ESDTTokenTransferInput = { +export type CustomTokenTransferInput = { receiver: Address; tokenTransfers: TokenTransfer[]; }; diff --git a/src/transfers/transferTransactionsFactory.ts b/src/transfers/transferTransactionsFactory.ts index 852331e3..8bb64c41 100644 --- a/src/transfers/transferTransactionsFactory.ts +++ b/src/transfers/transferTransactionsFactory.ts @@ -100,7 +100,7 @@ export class TransferTransactionsFactory { }); } - createTransactionForESDTTokenTransfer(sender: IAddress, options: resources.ESDTTokenTransferInput): Transaction { + createTransactionForESDTTokenTransfer(sender: IAddress, options: resources.CustomTokenTransferInput): Transaction { this.ensureConfigIsDefined(); const numberOfTransfers = options.tokenTransfers.length; diff --git a/src/transfers/transfersControllers.ts b/src/transfers/transfersControllers.ts index 1692a36a..74a0e308 100644 --- a/src/transfers/transfersControllers.ts +++ b/src/transfers/transfersControllers.ts @@ -30,7 +30,7 @@ export class TransfersController { async createTransactionForEsdtTokenTransfer( sender: IAccount, nonce: bigint, - options: resources.ESDTTokenTransferInput, + options: resources.CustomTokenTransferInput, ): Promise { const transaction = this.factory.createTransactionForESDTTokenTransfer(sender.address, options);