# Flashbots Bundle Relay API Upgrades

**URL:** https://collective.flashbots.net/t/flashbots-bundle-relay-api-upgrades/896
**Category:** Searchers
**Tags:** announcement
**Created:** [December 7, 2022, 8:22pm UTC](https://collective.flashbots.net/t/flashbots-bundle-relay-api-upgrades/896 "2022-12-07T20:22:22Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![angelfish](https://collective.flashbots.net/user_avatar/collective.flashbots.net/angelfish/32/614_2.png) [@angelfish](https://collective.flashbots.net/u/angelfish)
#### Post date: [December 7, 2022, 8:22pm UTC](https://collective.flashbots.net/t/flashbots-bundle-relay-api-upgrades/896/1 "2022-12-07T20:22:22Z")

</div>

### We have a few important upgrades coming to the Flashbots Bundle Relay API!

- new methods with PoS related fields: `flashbots_getBundleStatsV2` and `flashbots_getUserStatsV2`
- bundle cancellations
- switch from HTTP to JSON-RPC standards for success and error responses

**New Methods with POS related fields** :

1. **` flashbots_getBundleStatsV2`** has two new fields:
  - `consideredByBuildersAt` contains timestamps indicating when a builder considered the bundle for the target block
  - `sealedByBuildersAt` contains timestamps indicating when a builder built a full block containing the bundle

2. **`flashbots_getUserStatsV2`** renames `miner` fields to `validator`

❗ **`flashbots_getBundleStats` and `flashbots_getUserStats` will be deprecated on March 31, 2023, please use V2 methods!**

**Searcher clients will be updated to include V2 stats and cancellations** :

- ethers-provider-flashbots-bundle.js: [V2 Stats](https://github.com/flashbots/ethers-provider-flashbots-bundle/pull/78/files) and [Cancellations](https://github.com/flashbots/ethers-provider-flashbots-bundle/pull/79)
- web3-flashbots.py: [V2 Stats](https://github.com/flashbots/web3-flashbots/pull/65/files) and [Cancellations](https://github.com/flashbots/web3-flashbots/pull/66/files)

**Documentation** :

- [V2 Stats](https://docs.flashbots.net/flashbots-auction/searchers/advanced/rpc-endpoint)
- [Cancellations](https://github.com/flashbots/flashbots-docs/pull/317/files)
- [API Response](https://docs.flashbots.net/flashbots-auction/searchers/advanced/rpc-endpoint#api-response)

**All upgrades have been deployed to** :

- Goerli Testnet: [https://relay-goerli.flashbots.net](https://relay-goerli.flashbots.net)
- Sepolia Testnet: [https://bundle-relay-sepolia.flashbots.net](https://bundle-relay-sepolia.flashbots.net)
- Mainnet Staging: [https://relay-staging.flashbots.net](https://relay-staging.flashbots.net)

❗ **Upgrades will be deployed to Mainnet Production next week.**
