solana-go/rpc/getMaxShredInsertSlot.go

14 lines
311 B
Go

package rpc
import (
"context"
)
type GetMaxShredInsertSlotResult struct{}
// GetMaxShredInsertSlot returns the max slot seen from after shred insert.
func (cl *Client) GetMaxShredInsertSlot(ctx context.Context) (out uint64, err error) {
err = cl.rpcClient.CallFor(&out, "getMaxShredInsertSlot")
return
}