Skip to content

Data Feeds: decimal precision standards - #4340

Merged
dev-dist merged 3 commits into
smartcontractkit:mainfrom
sebastian-lerner-link:docs/data-feeds-decimal-precision
Oct 22, 2026
Merged

dev-dist merged 3 commits into
smartcontractkit:mainfrom
sebastian-lerner-link:docs/data-feeds-decimal-precision

Conversation

@sebastian-lerner-link

Copy link
Copy Markdown
Contributor

Summary

  • Adds a Decimal precision section to the chain-agnostic Price Feeds overview (/data-feeds/price-feeds#decimal-precision) covering:
    • how to convert integer answers using decimals
    • the general decimal standards for new feeds (Crypto/USD 8, Crypto/ETH 18, Forex 8, Precious metals 8, Commodities/Energy 8, all others feed-specific)
    • guidance to always read precision from the feed contract (EVM decimals() or the equivalent on non-EVM networks) instead of hardcoding it
    • note that precision is not changed on live feeds, with a contact for requesting a new feed
  • Updates the Consuming Data Feeds walkthrough to point to the new section.
  • Renames "Show more details" to More Details to match the current addresses page UI.

🤖 Generated with Claude Code

…mals onchain

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sebastian-lerner-link
sebastian-lerner-link requested review from a team as code owners October 20, 2026 18:01
@vercel

vercel Bot commented Oct 20, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the Chainlink Labs Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
documentation Ready Ready Preview Oct 21, 2026 4:43pm UTC

Request Review

@dev-dist

Copy link
Copy Markdown
Collaborator

I have this as part of a data feeds redesign docs redesign, but we can merge this now since it's missing and we are sitll blocked on this PR:

#4118

@dev-dist
dev-dist enabled auto-merge (squash) October 22, 2026 17:56
@dev-dist
dev-dist merged commit c8c9fba into smartcontractkit:main Oct 22, 2026
12 of 14 checks passed
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.

2 participants