check-bsv-price
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCheck BSV Price
查看BSV价格
Get current BSV price from WhatsOnChain API.
从WhatsOnChain API获取当前BSV价格。
Status
状态
Complete - All tests passing
已完成 - 所有测试通过
When to Use
使用场景
- Check current BSV/USD exchange rate
- Calculate transaction values in USD
- Monitor BSV price movements
- Display market information
- 查看当前BSV/USD汇率
- 以美元计算交易价值
- 监控BSV价格波动
- 展示市场信息
Usage
使用方法
bash
undefinedbash
undefinedGet price in human-readable format
Get price in human-readable format
bun run skills/check-bsv-price/scripts/price.ts
bun run skills/check-bsv-price/scripts/price.ts
Get price in JSON format
Get price in JSON format
bun run skills/check-bsv-price/scripts/price.ts --json
bun run skills/check-bsv-price/scripts/price.ts --json
Show help
Show help
bun run skills/check-bsv-price/scripts/price.ts --help
undefinedbun run skills/check-bsv-price/scripts/price.ts --help
undefinedAPI Endpoint
API端点
WhatsOnChain Exchange Rate API:
GET https://api.whatsonchain.com/v1/bsv/main/exchangerate
WhatsOnChain汇率API:
GET https://api.whatsonchain.com/v1/bsv/main/exchangerate
Response
响应
Returns current price information including:
- Rate (USD)
- Currency
- Timestamp
返回包含以下信息的当前价格数据:
- 汇率(美元)
- 货币类型
- 时间戳
No Authentication Required
无需身份验证
WhatsOnChain API is public and doesn't require API keys for basic queries.
WhatsOnChain API为公开接口,基础查询无需API密钥。