Solana RPC API手册

getMaxShredInsertSlot

getMaxShredInsertSlot方法返回自shred插入后出现的最大槽位

请求参数

响应结果

  • <u64> - 槽位

示例代码

请求:

curl http://localhost:8899 -X POST -H "Content-Type: application/json" -d '
  {"jsonrpc":"2.0","id":1, "method":"getMaxShredInsertSlot"}

响应:

{"jsonrpc":"2.0","result":1234,"id":1}