Docs · method · Solana

getSlot

Facts for getSlot
Units per call1 (standard)
Cachemicro — 1 s, a hit costs 0 units
Rule1 unit; identical slot polls within 1 second are served from our cache at 0 units.
ChainsSolana Mainnet
Specificationhttps://solana.com/docs/rpc/http

Example

curl -s https://flexyield.io/rpc/solana_mainnet \
  -H "Authorization: Bearer $FLEXYIELD_KEY" -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"getSlot","params":[]}'

Questions

Is getSlot cached?

Yes, 1 second; a hit costs 0 units.

All methods: methods and limits · docs · AI agents: the same call is the rpc_call MCP tool.