I am using @taquito/taquito
.
To transfer tezos tokens from one address to another is am using below function.
Tezos.contract.transfer({
to: toAddress,
amount: amountToSend,
});
I need to do continuous transaction. I am getting the error "counter is already used. need to increase the counter from my next transaction". I don't want to batch the transaction. I need to make individual transactions with waiting for previous transaction to complete.
I tried increasing the counter manually like
Tezos.contract.transfer({
to: toAddress,
amount: amountToSend,
counter
});
But it is not working. How can I increase the counter in taquito?