API Reference

Solayer’s RPC API provides compatibility with Solana’s JSON RPC API while introducing optimizations for the InfiniSVM architecture. This reference documents all supported methods, upcoming features, and deprecated endpoints.

HTTP Endpoint

https://internalnet-rpc.solayer.org

Currently Supported Methods

The following methods are fully implemented and available for use:

MethodDescription
getAccountInfoReturns all information associated with an account
getBalanceReturns the balance of an account
getBlockReturns identity and transaction information about a confirmed block
getBlocksReturns a list of confirmed blocks
getBlocksWithLimitReturns a list of confirmed blocks starting at the given slot
getLatestBlockhashReturns the latest blockhash
getMultipleAccountsReturns the account information for a list of public keys
getSignatureStatusesReturns the statuses of a list of signatures
getTokenAccountBalanceReturns the token balance of an account
getTokenSupplyReturns information about the total supply of an SPL Token type
getTransactionReturns transaction details
sendTransactionSubmits a signed transaction to the cluster

Modified Methods

MethodModification Details
requestAirdropModified to airdrop exactly 0.1 SOL (Solayer devnet). The amount parameter has been removed for simplicity.

Coming Soon

These methods are under development and will be available in future updates:

  • getFeeForMessage
  • getLargestAccounts
  • getProgramAccounts
  • getRecentPrioritizationFees
  • getSignaturesForAddress
  • getTokenAccountsByDelegate
  • getTokenAccountsByOwner
  • getTokenLargestAccounts

Unsupported Methods

The following methods are not supported:

  • getClusterNodes
  • getHighestSnapshotSlot
  • getInflationGovernor
  • getInflationRate
  • getInflationReward
  • getLeaderSchedule
  • getMaxRetransmitSlot
  • getMaxShredInsertSlot
  • getSlotLeader
  • getSlotLeaders
  • getStakeMinimumDelegation
  • getSupply
  • getVoteAccounts
  • minimumLedgerSlot

Deprecated Methods

These methods are supported but deprecated due to InfiniSVM’s architecture changes:

  • getBlockCommitment
  • getBlockHeight
  • getBlockProduction
  • getEpochInfo
  • getEpochSchedule
  • getBlockTime
  • getFirstAvailableBlock
  • getGenesisHash
  • getHealth
  • getIdentity
  • getMinimumBalanceForRentExemption
  • getRecentPerformanceSamples
  • getSlot
  • getTransactionCount
  • getVersion
  • isBlockhashValid

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 InfiniSVM’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:

{
  "jsonrpc": "2.0",
  "error": {
    "code": number,
    "message": string,
    "data": object
  },
  "id": number
}

Rate Limits

The devnet RPC endpoint has rate limiting in place to ensure fair usage. For production applications requiring higher limits, please contact the Solayer team.