Skip to content

Update basefeepercentile.md#2706

Open
pineapplepeak wants to merge 1 commit intoMetaMask:mainfrom
pineapplepeak:baseFeePercentile
Open

Update basefeepercentile.md#2706
pineapplepeak wants to merge 1 commit intoMetaMask:mainfrom
pineapplepeak:baseFeePercentile

Conversation

@pineapplepeak
Copy link

@pineapplepeak pineapplepeak commented Feb 13, 2026

Description

There was a minor error in the logic of baseFeePercentile. The example stated:

curl -X “GET” \
  -u <YOUR-API-KEY>:<YOUR-API-KEY-SECRET> \
  “https://gas.api.infura.io/networks/1/baseFeeHistory // History?”

I corrected it to Percentile in accordance with the name.
I also corrected console.log.

How did I check it?
In the services/reference/gas-api/api-reference directory, I quickly checked two similar files (FILE1, FILE2) and made sure the logic was correct.

Issue(s) fixed

Fixes #

Preview

Checklist

  • If this PR updates or adds documentation content that changes or adds technical meaning, it has received an approval from an engineer or DevRel from the relevant team.
  • If this PR updates or adds documentation content, it has received an approval from a technical writer.

External contributor checklist

  • I've read the contribution guidelines.
  • I've created a new issue (or assigned myself to an existing issue) describing what this PR addresses.

Note

Low Risk
Documentation-only changes that correct example URLs/log output; no runtime or API behavior changes.

Overview
Fixes the baseFeePercentile documentation examples to reference the correct endpoint, replacing an incorrect baseFeeHistory URL in the curl snippet.

Updates the JavaScript example output label from "Base fee history" to "Base fee percentile" to match the API being called.

Written by Cursor Bugbot for commit 608c42d. This will update automatically on new commits. Configure here.

@pineapplepeak pineapplepeak requested review from a team as code owners February 13, 2026 11:12
@vercel
Copy link

vercel bot commented Feb 13, 2026

@pineapplepeak is attempting to deploy a commit to the Consensys Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant