Network Methods
These methods provide a view into the overall network—covering block production, slot info, inflation details, token supply, and other protocol-level metrics. They're useful for monitoring the chain's global behavior and progress.
getMinimumBalanceForRentExemption
AvailableReturns the minimum balance required for rent exemption.
Parameters
commitment
The commitment describes how finalized a block is at that point in time. Options are 'processed', 'confirmed', or 'finalized'
commitment
string | string | string (optional)
The commitment describes how finalized a block is at that point in time. Options are 'processed', 'confirmed', or 'finalized'
dataLen
requiredinteger
The account data length in bytes.
getInflationGovernor
AvailableRetrieves the inflation governor settings.
Parameters
commitment
The commitment describes how finalized a block is at that point in time. Options are 'processed', 'confirmed', or 'finalized'
commitment
string | string | string (optional)
The commitment describes how finalized a block is at that point in time. Options are 'processed', 'confirmed', or 'finalized'
getSlotLeader
AvailableRetrieves the leader of the current slot.
Parameters
config
Configuration object for the query.
commitment
string | string | string (optional)
The commitment describes how finalized a block is at that point in time. Options are 'processed', 'confirmed', or 'finalized'
minContextSlot
integer (optional)
The minimum context slot for the context.
getSlotLeaders
AvailableRetrieves the leaders for a specified range of slots.
Parameters
limit
requiredinteger
The maximum number of leaders to return.
startSlot
requiredinteger
The starting slot to query for leaders.
getBlockProduction
AvailableRetrieves block production information.
Parameters
config
Configuration object for the query.
commitment
string | string | string (optional)
The commitment describes how finalized a block is at that point in time. Options are 'processed', 'confirmed', or 'finalized'
identity
string (optional)
Filter by validator identity, as a base-58 encoded string.
firstSlot
integer (optional)
The first slot to include in the range.
lastSlot
integer (optional)
The last slot to include in the range.
getInflationReward
AvailableReturns the inflation reward for a given address.
Parameters
addresses
requiredarray[string]
An array of public keys to query, as base-58 encoded strings.
config
Configuration object for the query.
commitment
string | string | string (optional)
The commitment describes how finalized a block is at that point in time. Options are 'processed', 'confirmed', or 'finalized'
epoch
integer (optional)
The epoch number to query.
minContextSlot
integer (optional)
The minimum context slot for the epoch.
getRecentPerformanceSamples
AvailableReturns the recent performance samples.
Parameters
limit
integer (optional)
The maximum number of samples to return.
getMaxShredInsertSlot
AvailableReturns the maximum shred insert slot.
Parameters
No parameters required
getBlock
AvailableReturns the block for a given slot.
Parameters
config
Configuration object for the query.
commitment
string | string | string (optional)
The commitment describes how finalized a block is at that point in time. Options are 'processed', 'confirmed', or 'finalized'
encoding
string (optional)
Encoding for transaction data.
maxSupportedTransactionVersion
integer (optional)
The maximum transaction version to support.
rewards
boolean (optional)
Whether to return rewards.
transactionDetails
string (optional)
Level of transaction detail to return.
slot
requiredinteger
The slot to query for the block.
getBlockTime
AvailableReturns the block time for a given slot.
Parameters
slot
requiredinteger
The slot to query for the block time.
getBlocks
AvailableReturns the blocks for a given range of slots.
Parameters
config
Configuration object for the query.
commitment
string | string | string (optional)
The commitment describes how finalized a block is at that point in time. Options are 'processed', 'confirmed', or 'finalized'
minContextSlot
integer (optional)
The minimum context slot for the context.
startSlot
requiredinteger
The starting slot to query for blocks.
wrapper
string (optional)
Wrapper for end slot or context configuration.
getBlocksWithLimit
AvailableReturns the blocks for a given range of slots with a limit.
Parameters
config
Configuration object for the query.
commitment
string | string | string (optional)
The commitment describes how finalized a block is at that point in time. Options are 'processed', 'confirmed', or 'finalized'
minContextSlot
integer (optional)
The minimum context slot for the context.
limit
requiredinteger
The maximum number of blocks to return.
startSlot
requiredinteger
The starting slot to query for blocks.
getLatestBlockhash
AvailableReturns the latest blockhash.
Parameters
config
Configuration object for the query.
commitment
string | string | string (optional)
The commitment describes how finalized a block is at that point in time. Options are 'processed', 'confirmed', or 'finalized'
minContextSlot
integer (optional)
The minimum context slot for the context.
isBlockhashValid
AvailableReturns the blockhash validity.
Parameters
blockhash
requiredstring
The blockhash to check, as a base-58 encoded string.
config
Configuration object for the query.
commitment
string | string | string (optional)
The commitment describes how finalized a block is at that point in time. Options are 'processed', 'confirmed', or 'finalized'
minContextSlot
integer (optional)
The minimum context slot for the context.
getRecentPrioritizationFees
AvailableReturns the recent prioritization fees.
Parameters
pubkeys
array (optional)
An array of account public keys to query for prioritization fees, as base-58 encoded strings.
getEpochInfo
AvailableReturns the epoch info.
Parameters
config
Configuration object for the query.
commitment
string | string | string (optional)
The commitment describes how finalized a block is at that point in time. Options are 'processed', 'confirmed', or 'finalized'
minContextSlot
integer (optional)
The minimum context slot for the context.
getSlot
AvailableReturns the current slot.
Parameters
config
Configuration object for the query.
commitment
string | string | string (optional)
The commitment describes how finalized a block is at that point in time. Options are 'processed', 'confirmed', or 'finalized'
minContextSlot
integer (optional)
The minimum context slot for the context.
getBlockHeight
AvailableReturns the block height.
Parameters
config
Configuration object for the query.
commitment
string | string | string (optional)
The commitment describes how finalized a block is at that point in time. Options are 'processed', 'confirmed', or 'finalized'
minContextSlot
integer (optional)
The minimum context slot for the context.
getTransactionCount
AvailableReturns the transaction count.
Parameters
config
Configuration object for the query.
commitment
string | string | string (optional)
The commitment describes how finalized a block is at that point in time. Options are 'processed', 'confirmed', or 'finalized'
minContextSlot
integer (optional)
The minimum context slot for the context.
getLeaderSchedule
AvailableReturns the leader schedule.
Parameters
config
Configuration object for the query.
commitment
string | string | string (optional)
The commitment describes how finalized a block is at that point in time. Options are 'processed', 'confirmed', or 'finalized'
identity
string (optional)
Filter by validator identity.
options
string (optional)
Wrapper for slot or configuration.