Skip to main content
POST
getInflationReward
Configuración y errores: inicio rápido RPC. Facturación: créditos y límites.

Autorizaciones

api_key
string
query
requerido

Cuerpo

application/json
jsonrpc
enum<string>
predeterminado:2.0
requerido

The JSON-RPC protocol version.

Opciones disponibles:
2.0
Ejemplo:

"2.0"

id
string
predeterminado:1
requerido

A unique identifier for the request.

Ejemplo:

"1"

method
enum<string>
predeterminado:getInflationReward
requerido

The name of the RPC method to invoke.

Opciones disponibles:
getInflationReward
Ejemplo:

"getInflationReward"

params
(string[] | object)[]

Parameters for the method.

List of Solana addresses (validators or delegators) to retrieve staking rewards for, as base-58 encoded strings.

Ejemplo:

Respuesta

200 - application/json

Successfully retrieved inflation reward information.

jsonrpc
enum<string>

The JSON-RPC protocol version.

Opciones disponibles:
2.0
Ejemplo:

"2.0"

id
string

Identifier matching the request.

Ejemplo:

"1"

result
(object | null)[]

Array of detailed staking reward information for each requested account, in the same order as requested.

Solana staking reward details for this account.