Passer au contenu principal

getBlocks RPC Method

Chargement...

Mis à jour le
Sep 22, 2025

getBlocks RPC Method

Please note: For this RPC method, the block range defined by the start and end slots is limited to a maximum of 5 slots for a free trial account and 1,005 slots for paid accounts.

Paramètres

start_slot
chaîne de caractères
OBLIGATOIRE
Chargement...
end_slot
chaîne de caractères
Chargement...
objet
objet
Chargement...
commitment
chaîne de caractères
Chargement...
finalisé
chaîne de caractères
Chargement...
confirmed
chaîne de caractères
Chargement...

Renvoie

résultat
Chargement...
Requête
Réponse
1
{
2
"jsonrpc": "2.0",
3
« résultat »: [
4
5,
5
6,
6
7,
7
8,
8
9,
9
10
10
],
11
"id": 1
12
}
1
{
2
"jsonrpc": "2.0",
3
« résultat »: [
4
5,
5
6,
6
7,
7
8,
8
9,
9
10
10
],
11
"id": 1
12
}
Vous n'avez pas encore de compte ?
Créez votre endpoint Quicknode en quelques secondes et commencez à développer
Commencez gratuitement