getIdentity RPC Metodu
Mevcut düğümün kimlik pubkey'ini döndürür
$ curl https://api.devnet.solana.com -s -X \> POST -H "Content-Type: application/json" -d '> {> "jsonrpc": "2.0",> "id": 1,> "method": "getIdentity"> }> '
params
Noneresult
Response
{"jsonrpc": "2.0","result": {"identity": "2r1F4iWqVcb8M1DbAjQuFpebkQHY9hcVU4WuW2DJBppN"},"id": 1}
object
Sonuç alanı aşağıdaki alanları içeren bir JSON nesnesi olacaktır:
Is this page helpful?