What is Band Protocol?
Band Protocol is a cross-chain data oracle that aggregates and connects real-world data to blockchain applications. It provides price feeds, randomness, and custom data streams.
Oracle Features
- Price data for 200+ assets
- Cross-chain compatibility
- High update frequency
- Decentralized validator network
- Custom data requests
API Integration
import { BandProtocol } from '@bandprotocol/bandchain.js'
const client = new BandProtocol('https://rpc.bandchain.org')
// Get price of BTC/USD
const price = await client.getReferenceData('BTC/USD')