From c39e43cc817e8173fd48853431804f91ee7e33a5 Mon Sep 17 00:00:00 2001 From: Elliot Voris Date: Thu, 22 Feb 2024 12:26:29 -0600 Subject: [PATCH] use by-name params in pagination example Refs: #728 --- api/pagination.mdx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/api/pagination.mdx b/api/pagination.mdx index 3ac52f5a..3da84ce1 100644 --- a/api/pagination.mdx +++ b/api/pagination.mdx @@ -18,6 +18,12 @@ For example, calling a method with pagination parameter set: "jsonrpc": "2.0", "id": "1", "method": "exampleMethod", - "params": ["other", "arguments", { "cursor": "1234-1", "limit": 100 }] + "params": { + "some": "argument", + "pagination": { + "cursor": "1234-1", + "limit": 100 + } + } } ```