获取链上信息兼容

This commit is contained in:
lu7213 committed 2026-10-16 10:19:14 -04:00
1 parent ceb8807273
commit 2601bc898a
8 files changed
+412 -103

No files matched your search

@@ -137,6 +137,18 @@ payment:
# 钱包链上操作资源预算配置。
tron:
operation-resource-redundancy-percent: ${TRON_OPERATION_RESOURCE_REDUNDANCY_PERCENT:20}
chain-data:
# 多个端点按顺序尝试,使用英文逗号分隔。生产环境建议通过对应环境变量覆盖。
api-key: ${TRON_GRID_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}
nile:
transaction-endpoints: ${TRON_NILE_TRANSACTION_ENDPOINTS:https://nile.trongrid.io,https://nileapi.tronscan.org}
account-endpoints: ${TRON_NILE_ACCOUNT_ENDPOINTS:https://nileapi.tronscan.org}
shasta:
transaction-endpoints: ${TRON_SHASTA_TRANSACTION_ENDPOINTS:https://api.shasta.trongrid.io,https://shastapi.tronscan.org}
account-endpoints: ${TRON_SHASTA_ACCOUNT_ENDPOINTS:https://shastapi.tronscan.org}
# MyBatis配置
mybatis: