Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

flashbotsProvider.getUserStatsV2()

Open
#89 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
api, backend

Research direction

Start at FlashbotsBundleProvider.getUserStatsV2() and compare it with getUserStats(), using the shown JsonRpcProvider, auth signer, and FlashbotsBundleProvider.create setup to reproduce the invalid-params response. Done means the V2 call accepts the same setup without returning code -32700, with its behavior checked against getUserStats().

Written by the indexing model from the issue text.

Description

{ error: { message: 'Invalid params', code: -32700 } }

Thus, if called getUserStats() works without any issues.

import { FlashbotsBundleProvider } from "@flashbots/ethers-provider-bundle";


export const getUserStats = async (flashbotsProvider: FlashbotsBundleProvider) => {
    const [userStats] = await Promise.all([flashbotsProvider.getUserStatsV2()]);
    return userStats;
}

Where 
const provider = new providers.JsonRpcProvider(process.env.ETHEREUM_RPC_URL, chainID);

const authSigner = generateRandomWallet();

const flashbotsProvider = await FlashbotsBundleProvider.create(
        provider, // a normal ethers.js provider, to perform gas estimiations and nonce lookups
        authSigner // ethers.js signer wallet, only for signing request payloads, not transactions
    )
Dominant language
TypeScript
Stars
568
Forks
212
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from flashbots/ethers-provider-flashbots-bundle

All issues in flashbots/ethers-provider-flashbots-bundle

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.