Error: Request failed with status 400 (URL: https://relay.flashbots.net): {"error":"unable to decode txs"}
I keep getting that error when I try to simulate my transaction. This is the code:
flashbotsprovider = await FlashbotsBundleProvider.create(
provider,
authSigner,
"https://wallet relay url"
"sepolia"
);
pass your relay url and network as well. even it's optional but optional is only for mainnet
I implemented your suggestion and it kinda worked. Now I am getting a new error "Simulation Error: the method eth_callBundle does not exist/is not available" Any idea what might be the problem?
On Wed, Sep 4, 2024 at 8:26 PM Zeke @.***> wrote:
Thank you so much for your help. Does this 'https://relay.flashbots.net' work as a wallet relay URL?
On Wed, Sep 4, 2024 at 8:33 AM Fahad ul Hassan @.***> wrote:
flashbotsprovider = await FlashbotsBundleProvider.create( provider, authSigner, "https://wallet relay url" "sepolia" ); pass your relay url and network as well. even it's optional but optional is only for mainnet
— Reply to this email directly, view it on GitHub https://github.com/flashbots/ethers-provider-flashbots-bundle/issues/127#issuecomment-2328865068, or unsubscribe https://github.com/notifications/unsubscribe-auth/AY5XW2AO6BGWXTM2ZFDJCXTZU34X3AVCNFSM6AAAAABNNLA4MCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRYHA3DKMBWHA . You are receiving this because you authored the thread.Message ID: @.*** com>
yes I faced this issue as well. may be you're passing wrong replay.