Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.4 KB

File metadata and controls

33 lines (24 loc) · 1.4 KB

Missing Solana RPC Methods Analysis

Based on the current implementation (63 methods) and standard Solana RPC API, here are the missing methods that should be implemented:

Context Methods (High Priority)

These add context information (slot, etc.) to existing method responses:

  1. getAccountInfoAndContext - Account info with context
  2. getBalanceAndContext - Balance with context
  3. getProgramAccountsAndContext - Program accounts with context
  4. getMultipleAccountsAndContext - Multiple accounts with context

Performance/Monitoring Methods (High Priority)

  1. getRecentPerformanceSamples - Get recent performance samples
  2. getRecentPrioritizationFees - Get recent prioritization fees for transactions
  3. getSignatureStatuses - Get signature confirmation statuses
  4. getBlockCommitment - Get block commitment info

Additional Block/Transaction Methods

  1. getSnapshotSlot - Get snapshot slot (if exists in client)
  2. getStakeActivation - Get stake activation information (if exists in client)

Methods that CAN'T be implemented:

  • WebSocket subscription methods (accountSubscribe, etc.) - require WebSocket
  • Methods that don't exist in Solana client library

Implementation Plan:

  1. Add context versions of existing methods (straightforward)
  2. Add performance monitoring methods
  3. Add remaining transaction/block methods if available in client
  4. Update tool definitions and documentation