ethers-provider-flashbots-bundle icon indicating copy to clipboard operation
ethers-provider-flashbots-bundle copied to clipboard

Error: Request failed with status 400 (URL: https://relay.flashbots.net): {"error":"unable to decode txs"}

Open design-smith opened this issue 1 year ago • 3 comments

I keep getting that error when I try to simulate my transaction. This is the code:

design-smith avatar Aug 31 '24 00:08 design-smith

 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

Fahadulhassan1 avatar Sep 04 '24 12:09 Fahadulhassan1

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>

design-smith avatar Sep 05 '24 00:09 design-smith

yes I faced this issue as well. may be you're passing wrong replay.

Fahadulhassan1 avatar Sep 09 '24 09:09 Fahadulhassan1