BTB Finance for agents

Protocols / Oracle

Chainlink

Oracle network. Agents read Chainlink Data Feeds (AggregatorV3 proxy contracts, e.g. ETH/USD) on-chain for reference prices, and move tokens or messages between chains with CCIP by calling the CCIP Router (getFee, then ccipSend). LINK is the network's ERC-677 token and a CCIP fee token.

On-chainEVM39 contractsWebsite · Docs

get_protocol({ "protocol": "chainlink" })

Risks an agent should know

What an agent can do

read-priceGet a reference USD price on-chain
Call latestRoundData() on the feed proxy for the pair and chain (this file for ETH/BTC/USDC; any other pair: look up the proxyAddress on data.chain.link or the reference-data-directory JSON). price = answer / 10^decimals(). Reject if answer <= 0 or now - updatedAt > heartbeat. On Arbitrum/Base/Optimism first check the L2 Sequencer Uptime Feed (answer == 0 and now - startedAt > grace period).
ccip-token-transferBridge a CCIP-supported token to another chain
1) Confirm the token is supported on the lane in the CCIP Directory and router.isChainSupported(destSelector). 2) token.approve(router, amount). 3) Build EVM2AnyMessage{receiver: abi.encode(recipient), data: "", tokenAmounts: [(token, amount)], feeToken: LINK or address(0), extraArgs: 0x181dcf10 ++ abi.encode(0, true)}. 4) fee = router.getFee(destSelector, msg). 5) If feeToken is LINK, LINK.approve(router, fee) (plus amount if LINK is also the token sent); else send value = fee. 6) router.ccipSend(destSelector, msg). 7) Track messageId on ccip.chain.link.
ccip-messageSend arbitrary data to a receiver contract on another chain
Same as token transfer with data = your payload, tokenAmounts = [], and extraArgs gasLimit sized for the receiver's ccipReceive (the receiver must implement CCIPReceiver / IAny2EVMMessageReceiver).
get-linkObtain/identify official LINK
Use the LINK address for the chain from this file (from docs.chain.link/resources/link-token-contracts). On BNB Chain and Polygon, bridged LINK from the chain's native bridge is not ERC-677 and must be converted with Chainlink PegSwap before use with Chainlink services.

Contracts

ethereum · chain id 1

ContractAddressKey functionsTry
Chainlink ETH / USD price feed (proxy)
other · proxy
0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419
source
readlatestRoundData()
readdecimals()
readdescription()
readgetRoundData(uint80)
readaggregator()
readversion()
Full ABI
Chainlink BTC / USD price feed (proxy)
other · proxy
0xF4030086522a5bEEa4988F8cA5B36dbC97BeE88c
source
readlatestRoundData()
readdecimals()
readdescription()
readgetRoundData(uint80)
readaggregator()
readversion()
Full ABI
Chainlink USDC / USD price feed (proxy)
other · proxy
0x8fFfFfd4AfB6115b954Bd326cbe7B4BA576818f6
source
readlatestRoundData()
readdecimals()
readdescription()
readgetRoundData(uint80)
readaggregator()
readversion()
Full ABI
Chainlink LINK / USD price feed (proxy)
other · proxy
0x2c1d072e956AFFC0D435Cb7AC38EF18d24d9127c
source
readlatestRoundData()
readdecimals()
readdescription()
readgetRoundData(uint80)
readaggregator()
readversion()
Full ABI
CCIP Router (chain selector 5009297550715157269)
bridge
0x80226fc0Ee2b096224EeAc085Bb9a8cba1146f7D
source
writeccipSend(uint64,(bytes,bytes,(address,uint256)[],address,bytes))
readgetFee(uint64,(bytes,bytes,(address,uint256)[],address,bytes))
readisChainSupported(uint64)
readgetWrappedNative()
readgetOnRamp(uint64)
readtypeAndVersion()
Full ABI
LINK token (LINK)
token
0x514910771AF9Ca656af840dff83E8264EcF986CA
source
writetransfer(address,uint256)
writeapprove(address,uint256)
writetransferAndCall(address,uint256,bytes)
readbalanceOf(address)
readallowance(address,address)
readdecimals()
Full ABI

base · chain id 8453

ContractAddressKey functionsTry
Chainlink ETH / USD price feed (proxy)
other · proxy
0x71041dddad3595F9CEd3DcCFBe3D1F4b0a16Bb70
source
readlatestRoundData()
readdecimals()
readdescription()
readgetRoundData(uint80)
readaggregator()
readversion()
Full ABI
Chainlink BTC / USD price feed (proxy)
other · proxy
0x64c911996D3c6aC71f9b455B1E8E7266BcbD848F
source
readlatestRoundData()
readdecimals()
readdescription()
readgetRoundData(uint80)
readaggregator()
readversion()
Full ABI
Chainlink USDC / USD price feed (proxy)
other · proxy
0x7e860098F58bBFC8648a4311b374B1D669a2bc6B
source
readlatestRoundData()
readdecimals()
readdescription()
readgetRoundData(uint80)
readaggregator()
readversion()
Full ABI
Chainlink L2 Sequencer Uptime Status Feed
other · proxy
0xBCF85224fc0756B9Fa45aA7892530B47e10b6433
source
readlatestRoundData()
Full ABI
CCIP Router (chain selector 15971525489660198786)
bridge
0x881e3A65B4d4a04dD529061dd0071cf975F58bCD
source
writeccipSend(uint64,(bytes,bytes,(address,uint256)[],address,bytes))
readgetFee(uint64,(bytes,bytes,(address,uint256)[],address,bytes))
readisChainSupported(uint64)
readgetWrappedNative()
readgetOnRamp(uint64)
readtypeAndVersion()
Full ABI
LINK token (LINK)
token
0x88Fb150BDc53A65fe94Dea0c9BA0a6dAf8C6e196
source
writetransfer(address,uint256)
writeapprove(address,uint256)
writetransferAndCall(address,uint256,bytes)
readbalanceOf(address)
readallowance(address,address)
readdecimals()
Full ABI

arbitrum · chain id 42161

ContractAddressKey functionsTry
Chainlink ETH / USD price feed (proxy)
other · proxy
0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612
source
readlatestRoundData()
readdecimals()
readdescription()
readgetRoundData(uint80)
readaggregator()
readversion()
Full ABI
Chainlink BTC / USD price feed (proxy)
other · proxy
0x6ce185860a4963106506C203335A2910413708e9
source
readlatestRoundData()
readdecimals()
readdescription()
readgetRoundData(uint80)
readaggregator()
readversion()
Full ABI
Chainlink USDC / USD price feed (proxy)
other · proxy
0x50834F3163758fcC1Df9973b6e91f0F0F0434aD3
source
readlatestRoundData()
readdecimals()
readdescription()
readgetRoundData(uint80)
readaggregator()
readversion()
Full ABI
Chainlink L2 Sequencer Uptime Status Feed
other · proxy
0xFdB631F5EE196F0ed6FAa767959853A9F217697D
source
readlatestRoundData()
Full ABI
CCIP Router (chain selector 4949039107694359620)
bridge
0x141fa059441E0ca23ce184B6A78bafD2A517DdE8
source
writeccipSend(uint64,(bytes,bytes,(address,uint256)[],address,bytes))
readgetFee(uint64,(bytes,bytes,(address,uint256)[],address,bytes))
readisChainSupported(uint64)
readgetWrappedNative()
readgetOnRamp(uint64)
readtypeAndVersion()
Full ABI
LINK token (LINK)
token
0xf97f4df75117a78c1A5a0DBb814Af92458539FB4
source
writetransfer(address,uint256)
writeapprove(address,uint256)
writetransferAndCall(address,uint256,bytes)
readbalanceOf(address)
readallowance(address,address)
readdecimals()
Full ABI

optimism · chain id 10

ContractAddressKey functionsTry
Chainlink ETH / USD price feed (proxy)
other · proxy
0x13e3Ee699D1909E989722E753853AE30b17e08c5
source
readlatestRoundData()
readdecimals()
readdescription()
readgetRoundData(uint80)
readaggregator()
readversion()
Full ABI
Chainlink BTC / USD price feed (proxy)
other · proxy
0xD702DD976Fb76Fffc2D3963D037dfDae5b04E593
source
readlatestRoundData()
readdecimals()
readdescription()
readgetRoundData(uint80)
readaggregator()
readversion()
Full ABI
Chainlink USDC / USD price feed (proxy)
other · proxy
0x16a9FA2FDa030272Ce99B29CF780dFA30361E0f3
source
readlatestRoundData()
readdecimals()
readdescription()
readgetRoundData(uint80)
readaggregator()
readversion()
Full ABI
Chainlink L2 Sequencer Uptime Status Feed
other · proxy
0x371EAD81c9102C9BF4874A9075FFFf170F2Ee389
source
readlatestRoundData()
Full ABI
CCIP Router (chain selector 3734403246176062136)
bridge
0x3206695CaE29952f4b0c22a169725a865bc8Ce0f
source
writeccipSend(uint64,(bytes,bytes,(address,uint256)[],address,bytes))
readgetFee(uint64,(bytes,bytes,(address,uint256)[],address,bytes))
readisChainSupported(uint64)
readgetWrappedNative()
readgetOnRamp(uint64)
readtypeAndVersion()
Full ABI
LINK token (LINK)
token
0x350a791Bfc2C21F9Ed5d10980Dad2e2638ffa7f6
source
writetransfer(address,uint256)
writeapprove(address,uint256)
writetransferAndCall(address,uint256,bytes)
readbalanceOf(address)
readallowance(address,address)
readdecimals()
Full ABI

polygon · chain id 137

ContractAddressKey functionsTry
Chainlink ETH / USD price feed (proxy)
other · proxy
0xF9680D99D6C9589e2a93a78A04A279e509205945
source
readlatestRoundData()
readdecimals()
readdescription()
readgetRoundData(uint80)
readaggregator()
readversion()
Full ABI
Chainlink BTC / USD price feed (proxy)
other · proxy
0xc907E116054Ad103354f2D350FD2514433D57F6f
source
readlatestRoundData()
readdecimals()
readdescription()
readgetRoundData(uint80)
readaggregator()
readversion()
Full ABI
Chainlink USDC / USD price feed (proxy)
other · proxy
0xfE4A8cc5b5B2366C1B58Bea3858e81843581b2F7
source
readlatestRoundData()
readdecimals()
readdescription()
readgetRoundData(uint80)
readaggregator()
readversion()
Full ABI
CCIP Router (chain selector 4051577828743386545)
bridge
0x849c5ED5a80F5B408Dd4969b78c2C8fdf0565Bfe
source
writeccipSend(uint64,(bytes,bytes,(address,uint256)[],address,bytes))
readgetFee(uint64,(bytes,bytes,(address,uint256)[],address,bytes))
readisChainSupported(uint64)
readgetWrappedNative()
readgetOnRamp(uint64)
readtypeAndVersion()
Full ABI
LINK token (LINK)
token
0xb0897686c545045aFc77CF20eC7A532E3120E0F1
source
writetransfer(address,uint256)
writeapprove(address,uint256)
writetransferAndCall(address,uint256,bytes)
readbalanceOf(address)
readallowance(address,address)
readdecimals()
Full ABI

bsc · chain id 56

ContractAddressKey functionsTry
Chainlink ETH / USD price feed (proxy)
other · proxy
0x9ef1B8c0E4F7dc8bF5719Ea496883DC6401d5b2e
source
readlatestRoundData()
readdecimals()
readdescription()
readgetRoundData(uint80)
readaggregator()
readversion()
Full ABI
Chainlink BTC / USD price feed (proxy)
other · proxy
0x264990fbd0A4796A3E3d8E37C4d5F87a3aCa5Ebf
source
readlatestRoundData()
readdecimals()
readdescription()
readgetRoundData(uint80)
readaggregator()
readversion()
Full ABI
Chainlink USDC / USD price feed (proxy)
other · proxy
0x51597f405303C4377E36123cBc172b13269EA163
source
readlatestRoundData()
readdecimals()
readdescription()
readgetRoundData(uint80)
readaggregator()
readversion()
Full ABI
CCIP Router (chain selector 11344663589394136015)
bridge
0x34B03Cb9086d7D758AC55af71584F81A598759FE
source
writeccipSend(uint64,(bytes,bytes,(address,uint256)[],address,bytes))
readgetFee(uint64,(bytes,bytes,(address,uint256)[],address,bytes))
readisChainSupported(uint64)
readgetWrappedNative()
readgetOnRamp(uint64)
readtypeAndVersion()
Full ABI
LINK token (LINK)
token
0x404460C6A5EdE2D891e8297795264fDe62ADBB75
source
writetransfer(address,uint256)
writeapprove(address,uint256)
writetransferAndCall(address,uint256,bytes)
readbalanceOf(address)
readallowance(address,address)
readdecimals()
Full ABI

avalanche · chain id 43114

ContractAddressKey functionsTry
Chainlink ETH / USD price feed (proxy)
other · proxy
0x976B3D034E162d8bD72D6b9C989d545b839003b0
source
readlatestRoundData()
readdecimals()
readdescription()
readgetRoundData(uint80)
readaggregator()
readversion()
Full ABI
Chainlink BTC / USD price feed (proxy)
other · proxy
0x2779D32d5166BAaa2B2b658333bA7e6Ec0C65743
source
readlatestRoundData()
readdecimals()
readdescription()
readgetRoundData(uint80)
readaggregator()
readversion()
Full ABI
Chainlink USDC / USD price feed (proxy)
other · proxy
0xF096872672F44d6EBA71458D74fe67F9a77a23B9
source
readlatestRoundData()
readdecimals()
readdescription()
readgetRoundData(uint80)
readaggregator()
readversion()
Full ABI
CCIP Router (chain selector 6433500567565415381)
bridge
0xF4c7E640EdA248ef95972845a62bdC74237805dB
source
writeccipSend(uint64,(bytes,bytes,(address,uint256)[],address,bytes))
readgetFee(uint64,(bytes,bytes,(address,uint256)[],address,bytes))
readisChainSupported(uint64)
readgetWrappedNative()
readgetOnRamp(uint64)
readtypeAndVersion()
Full ABI
LINK token (LINK.e (bridged via Avalanche Bridge, Chainlink's official LINK on Avalanche))
token
0x5947BB275c521040051D82396192181b413227A3
source
writetransfer(address,uint256)
writeapprove(address,uint256)
writetransferAndCall(address,uint256,bytes)
readbalanceOf(address)
readallowance(address,address)
readdecimals()
Full ABI

APIs

Data Feeds directory (data.chain.link)
auth: none
https://data.chain.link
Search every Chainlink feed by pair and network; each feed page shows the proxy address to call, decimals, heartbeat and deviation threshold, and whether it is deprecated.
Feed reference data directory (JSON)
auth: none
https://reference-data-directory.vercel.app/feeds-{network}.json
Machine-readable list of all feeds for one network (the same data docs.chain.link renders). Fields: name, proxyAddress (call this), decimals, heartbeat, threshold, feedCategory, docs.hidden / shutdownDate. {network} examples: mainnet (Ethereum), ethereum-mainnet-base-1, ethereum-mainnet-arbitrum-1, ethereum-mainnet-optimism-1, matic-mainnet, bsc-mainnet, avalanche-mainnet. Some entries have secondaryProxyAddress/secondaryProxyEns (e.g. Base ETH/USD): the standard proxy is the one whose ens is the plain pair name (eth-usd); 'svr' proxies are Smart Value Recapture variants.
CCIP Directory
auth: none
https://docs.chain.link/ccip/directory/mainnet
Per-chain Router address, chain selector, fee tokens, supported lanes and supported tokens (with token pool and rate limits) for CCIP mainnet.
CCIP Explorer
auth: none
https://ccip.chain.link
Track a CCIP message by messageId or source tx hash (status: waiting for finality, committed, success/failure; manual execution if it failed on the destination).

Notes

DefiLlama lists Chainlink as a parent protocol 'chainlink' with child entries (Chainlink Requests 'chainlink-requests', CCIP, Chainlink Staking); 'chainlink' is used because this file covers Data Feeds, CCIP and LINK together. Feed proxies are the standard (non-SVR) proxies from Chainlink's reference data directory JSON, which docs.chain.link/data-feeds/price-feeds/addresses loads; on Base the standard eth-usd and btc-usd proxies appear as secondaryProxyAddress of the shared-SVR entries. LINK/USD is included for Ethereum only. All feeds were checked on 2026-11-25 with description(), decimals() (all 8) and latestRoundData() (ETH ~1652 USD, BTC ~58,950 USD, USDC ~0.9999 USD); all CCIP routers returned typeAndVersion 'Router 1.2.0' and isChainSupported true for the other test chains; all LINK addresses returned decimals 18. Left out: the Ethereum Feed Registry: docs.chain.link/data-feeds/feed-registry now redirects to the Data Feeds overview and no current official page lists its address, so it is omitted (read individual proxies instead). Other CCIP contracts per chain (RMN proxy/armProxy, TokenAdminRegistry, RegistryModuleOwnerCustom, TokenPoolFactory, OnRamps/OffRamps) are listed in the CCIP Directory and in https://github.com/smartcontractkit/documentation/blob/main/src/config/data/ccip/v1_2_0/mainnet/chains.json. Every other price feed (thousands, on 50+ networks) is listed at data.chain.link with its proxy address. Polygon here means Polygon PoS (chainId 137).

Sources

Researched 2026-11-25. Addresses are copied from the official sources above; check them before moving large amounts.