The error name is expired_tx_exception and the code for the same is 3040005 please tell me how can I perform these much transactions per seconds.
I am able to perform 250 transactions per seconds but after that, it is throwing this error.
The code is as follows:
for (let i = 0; i < 300; i++) {
contract
.transfer(
{
from: "myaccount",
to: "myaccount2",
quantity: "1.0000 SYS",
memo: i
},
{
authorization: ["myaccount@active"]
}
)
.then(res => {
console.log(res);
fs.appendFileSync("test.json", JSON.stringify(res));
})
.catch(err => {
console.log(err);
});
}
The error name is expired_tx_exception and the code for the same is 3040005 please tell me how can I perform these much transactions per seconds. I am able to perform 250 transactions per seconds but after that, it is throwing this error.
The code is as follows: