Docs · method · Solana
getSlot
| Units per call | 1 (standard) |
|---|---|
| Cache | micro — 1 s, a hit costs 0 units |
| Rule | 1 unit; identical slot polls within 1 second are served from our cache at 0 units. |
| Chains | Solana Mainnet |
| Specification | https://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.