Flags Contract Registry
The Chainlink Flags Contract Registry provides a reliable, onchain source of truth for all active Chainlink price feed proxy contracts across supported networks. It serves as a central reference point for identifying which data feeds are owned and operated by Chainlink, verifying the authenticity of the feeds your applications rely on.
A proxy address that returns true
when checked against this registry indicates two things:
- The data feed is officially owned and operated by Chainlink
- The feed is currently active
Inactive feeds are removed from the registry to ensure accuracy. The list is actively maintained as new feeds are deployed, making it a trusted resource for keeping up with the evolving state of Chainlink's oracle infrastructure.
Querying Flags Onchain
To check if a proxy address is flagged (owned by Chainlink and active) in your Solidity code, you can call the getFlag
function on the Flags
contract deployed on the corresponding network:
interface IFlags {
function getFlag(address) external view returns (bool);
}
contract Example {
IFlags public flags;
// Initialize with the correct Flags contract address for your network
constructor(address flagsContractAddress) {
flags = IFlags(flagsContractAddress);
}
function isOfficialChainlinkFeed(address proxy) public view returns (bool) {
return flags.getFlag(proxy);
}
}
Flags Contract Addresses
Below is a list of all available Flags contracts on the supported networks: