Skip to main content

Anchor Feeds

Scaling's anchor feeds update every 90 seconds with each new voting epoch on Flare. These feeds, accessible offchain, support various asset classes including equities, commodities, and cryptocurrencies.

Each anchor feed is uniquely identified by an ID composed of three components in a structured encoding process:

  1. Category: Indicates the type of asset:

    • Crypto: 01
    • Forex: 02
    • Commodity: 03
    • Stock: 04
  2. Hex-Encoded Feed Name: The name of the feed is converted to a hexadecimal format.

  3. Zero Padding: The combined category and hex-encoded feed name are padded with zeros to a length of 21 bytes.

The resulting string is then prefixed with 0x.

Example of the structured encoding process.

Taking the feed name FLR/USD:

  • Category: 01 (Crypto)
  • Hex-Encoded Feed Name: 464c522f555344 (hexadecimal representation of FLR/USD)
  • Zero Padding: The category and hex-encoded feed name combined and padded: 01464c522f55534400000000000000000000000000
  • Final ID: Adding the 0x prefix results in 0x01464c522f55534400000000000000000000000000
warning

Feed IDs are not addresses. They are bytes21 structured encodings that combine the category and feed name to ensure each feed has a unique identifier.

Feed NameFeed IDBase AssetDecimalsCategory
FLR/USD0x01464c522f55534400000000000000000000000000Flare7Crypto
SGB/USD0x015347422f55534400000000000000000000000000Songbird8Crypto
BTC/USD0x014254432f55534400000000000000000000000000Bitcoin2Crypto
XRP/USD0x015852502f55534400000000000000000000000000XRP6Crypto
LTC/USD0x014c54432f55534400000000000000000000000000Litecoin5Crypto
XLM/USD0x01584c4d2f55534400000000000000000000000000Stellar6Crypto
DOGE/USD0x01444f47452f555344000000000000000000000000Dogecoin6Crypto
ADA/USD0x014144412f55534400000000000000000000000000Cardano6Crypto
ALGO/USD0x01414c474f2f555344000000000000000000000000Algorand6Crypto
ETH/USD0x014554482f55534400000000000000000000000000Ethereum3Crypto
FIL/USD0x0146494c2f55534400000000000000000000000000Filecoin5Crypto
ARB/USD0x014152422f55534400000000000000000000000000Arbitrum6Crypto
AVAX/USD0x01415641582f555344000000000000000000000000Avalanche5Crypto
BNB/USD0x01424e422f55534400000000000000000000000000BNB4Crypto
MATIC/USD0x014d415449432f5553440000000000000000000000Polygon6Crypto
SOL/USD0x01534f4c2f55534400000000000000000000000000Solana4Crypto
USDC/USD0x01555344432f555344000000000000000000000000USDC5Crypto
USDT/USD0x01555344542f555344000000000000000000000000Tether5Crypto
XDC/USD0x015844432f55534400000000000000000000000000XDC Network7Crypto
TRX/USD0x015452582f55534400000000000000000000000000TRON6Crypto
LINK/USD0x014c494e4b2f555344000000000000000000000000Chainlink5Crypto
ATOM/USD0x0141544f4d2f555344000000000000000000000000Cosmos Hub5Crypto
DOT/USD0x01444f542f55534400000000000000000000000000Polkadot5Crypto
TON/USD0x01544f4e2f55534400000000000000000000000000Toncoin5Crypto
ICP/USD0x014943502f55534400000000000000000000000000Internet Computer5Crypto
SHIB/USD0x01534849422f555344000000000000000000000000Shiba Inu10Crypto
DAI/USD0x014441492f55534400000000000000000000000000Dai5Crypto
BCH/USD0x014243482f55534400000000000000000000000000Bitcoin Cash4Crypto
NEAR/USD0x014e4541522f555344000000000000000000000000NEAR Protocol5Crypto
LEO/USD0x014c454f2f55534400000000000000000000000000LEO Token5Crypto
UNI/USD0x01554e492f55534400000000000000000000000000Uniswap5Crypto
ETC/USD0x014554432f55534400000000000000000000000000Ethereum Classic5Crypto
WIF/USD0x015749462f55534400000000000000000000000000dogwifhat5Crypto
BONK/USD0x01424f4e4b2f555344000000000000000000000000Bonk10Crypto
JUP/USD0x014a55502f55534400000000000000000000000000Jupiter5Crypto
ETHFI/USD0x0145544846492f5553440000000000000000000000Ether.fi5Crypto
ENA/USD0x01454e412f55534400000000000000000000000000Ethena6Crypto
PYTH/USD0x01505954482f555344000000000000000000000000Pyth Network6Crypto