The HTTP transport used for all JSON-RPC calls.
Fetch account information for a public key.
Optionalopts: GetAccountInfoOptsFetch the SOL balance for a public key.
Optionalcommitment: CommitmentOptionalopts: CallOptions & { Fetch a confirmed block by slot number.
Optionalopts: GetBlockOptsGet the commitment for a particular block.
Optionalopts: CallOptionsGet the current block height of the node.
Optionalcommitment: CommitmentOptionalopts: CallOptions & { Get recent block production information.
Optionalopts: GetBlockProductionOptsGet a list of confirmed blocks between two slots.
OptionalendSlot: SlotOptionalcommitment: CommitmentOptionalopts: CallOptionsGet confirmed blocks starting from a slot, with a limit.
Optionalcommitment: CommitmentOptionalopts: CallOptionsGet the estimated production time of a block.
Optionalopts: CallOptionsGet information about all the nodes participating in the cluster.
Optionalopts: CallOptionsGet information about the current epoch.
Optionalcommitment: CommitmentOptionalopts: CallOptions & { Get the epoch schedule.
Optionalopts: CallOptionsGet the fee the network will charge for a particular message.
Optionalcommitment: CommitmentOptionalopts: CallOptions & { Get the slot of the lowest confirmed block not yet purged from the ledger.
Optionalopts: CallOptionsGet the genesis hash.
Optionalopts: CallOptionsCheck the health of the node ("ok" if healthy).
Optionalopts: CallOptionsGet the highest slot information that the node has snapshots for.
Optionalopts: CallOptionsGet the identity public key for the current node.
Optionalopts: CallOptionsGet the current inflation governor parameters.
Optionalcommitment: CommitmentOptionalopts: CallOptionsGet the specific inflation values for the current epoch.
Optionalopts: CallOptionsGet inflation / staking rewards for a list of addresses.
Optionalopts: CallOptions & { Get the 20 largest accounts by lamport balance.
Optionalopts: CallOptions & { Get the latest blockhash.
Optionalcommitment: CommitmentOptionalopts: CallOptions & { Get the leader schedule for an epoch.
Optionalslot: SlotOptionalopts: CallOptions & { Get the max slot seen from retransmit stage.
Optionalopts: CallOptionsGet the max slot seen from after shred insert.
Optionalopts: CallOptionsGet the minimum balance required to make an account rent-exempt.
Optionalcommitment: CommitmentOptionalopts: CallOptionsFetch account information for multiple public keys in one request.
Optionalopts: GetMultipleAccountsOptsFetch all accounts owned by a program.
Optionalopts: GetProgramAccountsOptsGet a list of recent performance samples.
Optionallimit: numberOptionalopts: CallOptionsGet a list of recent prioritization fees observed by the node.
Optionaladdresses: never[]Optionalopts: CallOptionsGet confirmed signatures for transactions involving an address.
Optionalopts: GetSignaturesOptsGet the statuses of a list of transaction signatures.
Optionalopts: GetSignatureStatusesOptsGet the current slot the node is processing.
Optionalcommitment: CommitmentOptionalopts: CallOptions & { Get the current slot leader.
Optionalcommitment: CommitmentOptionalopts: CallOptions & { Get the slot leaders for a range of slots.
Optionalopts: CallOptionsOptionalopts: CallOptions & { Get the stake minimum delegation in lamports.
Optionalcommitment: CommitmentOptionalopts: CallOptionsGet information about the current supply of SOL.
Optionalopts: CallOptions & { Get the token balance of an SPL Token account.
Optionalcommitment: CommitmentOptionalopts: CallOptionsGet all SPL Token accounts by approved delegate.
Optionalopts: CallOptions & { Get all SPL Token accounts by token owner.
Optionalopts: CallOptions & { Get the 20 largest accounts of a particular SPL Token type.
Optionalcommitment: CommitmentOptionalopts: CallOptionsGet the total supply of an SPL Token type.
Optionalcommitment: CommitmentOptionalopts: CallOptionsFetch a confirmed transaction by its signature.
Optionalopts: GetTransactionOptsGet the current transaction count from the ledger.
Optionalcommitment: CommitmentOptionalopts: CallOptions & { Get the current Solana version running on the node.
Optionalopts: CallOptionsGet account info and associated stake for all voting accounts.
Optionalopts: CallOptions & { Check whether a blockhash is still valid.
Optionalcommitment: CommitmentOptionalopts: CallOptions & { Get the lowest slot that the node has information about in its ledger.
Optionalopts: CallOptionsRequest an airdrop of lamports to a public key (devnet/testnet only).
Optionalcommitment: CommitmentOptionalopts: CallOptionsSubmit a signed transaction to the cluster for processing.
Optionalopts: SendTransactionOptsSimulate a transaction without submitting it to the cluster.
Optionalopts: SimulateTransactionOpts
Typed wrapper around the full Solana JSON-RPC API surface.
Every method is a thin one-liner that delegates to the corresponding standalone function in
./methods, keeping this class easy to maintain and the standalone functions tree-shakeable.Example
Since
1.0.0