Skip to content

Commit 2a40d94

Browse files
committed
fix: correct pagination limits for getLedgers and getTransactions in OpenRPC spec
1 parent 0edf326 commit 2a40d94

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

static/stellar-rpc.openrpc.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@
902902
},
903903
"limit": {
904904
"type": "number",
905-
"description": "The maximum number of records returned. The limit for getEvents can range from 1 to 10000 - an upper limit that is hardcoded in Stellar-RPC for performance reasons. If this argument isn't designated, it defaults to 100."
905+
"description": "The maximum number of records returned. The limit for getLedgers can range from 1 to 200 - an upper limit that is hardcoded in Stellar-RPC for performance reasons. If this argument isn't designated, it defaults to 50."
906906
}
907907
}
908908
}
@@ -1391,7 +1391,7 @@
13911391
},
13921392
"limit": {
13931393
"type": "number",
1394-
"description": "The maximum number of records returned. The limit for getEvents can range from 1 to 10000 - an upper limit that is hardcoded in Stellar-RPC for performance reasons. If this argument isn't designated, it defaults to 100."
1394+
"description": "The maximum number of records returned. The limit for getTransactions can range from 1 to 200 - an upper limit that is hardcoded in Stellar-RPC for performance reasons. If this argument isn't designated, it defaults to 50."
13951395
}
13961396
}
13971397
}
@@ -2415,4 +2415,4 @@
24152415
}
24162416
],
24172417
"components": {}
2418-
}
2418+
}

0 commit comments

Comments
 (0)