2

Is it prossible to pretent having infinite arbitrary token balances during simulateTransaction so that I could go through tests for swaps?

1 Answer 1

3

No, with the current version of simulateTransaction, you don't have the ability to override account data.

On the other hand, you can probably find huge holders of the tokens that you want to trade, and simulate using those accounts.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.