API Reference
Solayer’s RPC API provides compatibility with Solana’s JSON RPC API while introducing optimizations for the Solayer Chain architecture. This reference documents all supported methods, upcoming features, and deprecated endpoints.HTTP Endpoints
Mainnet RPC Endpoint
For production applications:Devnet RPC Endpoint (For Testing and Development)
For testing and development purposes:The devnet RPC endpoint is specifically for devnet and testing purposes only. Use the mainnet RPC endpoint for production applications.
Currently Supported Methods
The following methods are fully implemented and available for use:Modified Methods
Coming Soon
These methods are under development and will be available in future updates:getFeeForMessagegetLargestAccountsgetProgramAccountsgetRecentPrioritizationFeesgetSignaturesForAddressgetTokenAccountsByDelegategetTokenAccountsByOwnergetTokenLargestAccounts
Unsupported Methods
The following methods are not supported:getClusterNodesgetHighestSnapshotSlotgetInflationGovernorgetInflationRategetInflationRewardgetLeaderSchedulegetMaxRetransmitSlotgetMaxShredInsertSlotgetSlotLeadergetSlotLeadersgetStakeMinimumDelegationgetSupplygetVoteAccountsminimumLedgerSlot
Deprecated Methods
These methods are supported but deprecated due to Solayer Chain’s architecture changes:getBlockCommitmentgetBlockHeightgetBlockProductiongetEpochInfogetEpochSchedulegetBlockTimegetFirstAvailableBlockgetGenesisHashgetHealthgetIdentitygetMinimumBalanceForRentExemptiongetRecentPerformanceSamplesgetSlotgetTransactionCountgetVersionisBlockhashValid
Notes on Deprecated Methods
Methods marked as deprecated are still functional but may not provide meaningful information due to Solayer’s architectural differences from Solana. For example, concepts like epochs and slots are handled differently in Solayer Chain’s high-throughput architecture.Error Handling
All RPC methods follow standard JSON-RPC 2.0 error handling conventions. Errors will be returned in the following format:Rate Limits
The devnet RPC endpoint has rate limiting in place to ensure fair usage. For production applications requiring higher limits, please use the mainnet RPC endpoint (https://mainnet-rpc.solayer.org) or contact the Solayer team.