多域名兼容链上获取数据

This commit is contained in:
lu7213 committed 2026-10-16 11:27:52 -04:00
1 parent 2601bc898a
commit 0d0642d312
4 files changed
+119 -5

No files matched your search

@@ -140,6 +140,8 @@ tron:
chain-data:
# 多个端点按顺序尝试,使用英文逗号分隔。生产环境建议通过对应环境变量覆盖。
api-key: ${TRON_GRID_API_KEY:}
# TronScan 独立申请的 API Key,不能填写 TronGrid 的 Key。
tronscan-api-key: ${TRONSCAN_API_KEY:}
mainnet:
transaction-endpoints: ${TRON_MAINNET_TRANSACTION_ENDPOINTS:https://api.trongrid.io,https://apilist.tronscanapi.com,https://api.tronscan.org}
account-endpoints: ${TRON_MAINNET_ACCOUNT_ENDPOINTS:https://apilist.tronscanapi.com,https://api.tronscan.org}