New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. Learn More
简体中文
如果索引器滞后超过可配置的区块数量,则返回错误。否则,返回 ok。
ok
cURL
curl --request POST \ --url 'https://mainnet.helius-rpc.com/?api-key=' \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "id": "1", "method": "getIndexerHealth" } '
"ok"
您的 Helius API 密钥。您可以在仪表板中免费获取一个。
JSON-RPC 协议的版本。
2.0
用于标识请求的 ID。
用于检查 Solana 压缩索引器健康状态的方法名称。
getIndexerHealth
Solana 压缩索引器健康并与网络同步
当 Solana 压缩索引器健康并正常运行时返回 "ok"
此页面对您有帮助吗?