Skip to content

Commit

Permalink
fix: mint tx
Browse files Browse the repository at this point in the history
  • Loading branch information
bucurdavid committed Nov 12, 2024
1 parent e6e48e5 commit 08d456e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/sft-minter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ import {
IAddress,
ResultsParser,
StringValue,
Token,
TokenIdentifierValue,
TokenTransfer,
Transaction,
U64Value
} from '@multiversx/sdk-core/out';
Expand Down Expand Up @@ -444,7 +446,15 @@ export class SftMinter extends Minter {
arguments: args,
sender: senderAddress,
contract: this.contract.getAddress(),
gasLimit: 130_000_000n
gasLimit: 130_000_000n,
tokenTransfers: [
new TokenTransfer({
token: new Token({
identifier: itheumTokenIdentifier[this.env as EnvironmentsEnum]
}),
amount: BigInt(amountToSend)
})
]
});

return {
Expand Down

0 comments on commit 08d456e

Please sign in to comment.