From a939d4d5642f8dd122f7e85375e4abd4419ca544 Mon Sep 17 00:00:00 2001 From: Elliot Voris Date: Thu, 22 Feb 2024 15:02:07 -0600 Subject: [PATCH] use by-name params in pagination example (#743) 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 + } + } } ```