getSlotLeader RPC-Methode
Gibt den aktuellen Slot-Leader zurück
$ curl https://api.devnet.solana.com -s -X \> POST -H "Content-Type: application/json" -d '> {> "jsonrpc": "2.0",> "id": 1,> "method": "getSlotLeader",> "params": [> {> "commitment": "finalized"> }> ]> }> '
params
objectoptional
Konfigurationsobjekt mit den folgenden Feldern:
result
Response
{"jsonrpc": "2.0","result": "ENvAW7JScgYq6o4zKZwewtkzzJgDzuJAFxYasvmEQdpS","id": 1}
string
Knoten-Identitäts-Pubkey als base-58 kodierte Zeichenfolge
Is this page helpful?