getSlotLeader RPCメソッド
現在のslotリーダーを返します
$ 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
以下のフィールドを含む設定オブジェクト:
result
Response
{"jsonrpc": "2.0","result": "ENvAW7JScgYq6o4zKZwewtkzzJgDzuJAFxYasvmEQdpS","id": 1}
string
base-58でエンコードされた文字列としてのノードIDのpubkey
Is this page helpful?