getHealth RPC Metodu
Düğümün mevcut sağlık durumunu döndürür. Sağlıklı bir düğüm, kümenin en son
onaylanmış slot'undan HEALTH_CHECK_SLOT_DISTANCE
slot içerisinde olan
düğümdür.
$ curl https://api.devnet.solana.com -s -X \> POST -H "Content-Type: application/json" -d '> {> "jsonrpc": "2.0",> "id": 1,> "method": "getHealth"> }> '
params
Noneresult
Sağlıklı
Sağlıksız
Response
{"jsonrpc": "2.0","result": "ok","id": 1}
string
Eğer düğüm sağlıklıysa: "ok"
Is this page helpful?