From 5539584a569829c24a4b9d0a26a404bde93d3c42 Mon Sep 17 00:00:00 2001 From: EthanYuan Date: Fri, 13 Oct 2023 18:26:52 +0800 Subject: [PATCH] fix typo --- rpc/README.md | 4 ++-- rpc/src/module/indexer.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rpc/README.md b/rpc/README.md index 10125a38d0..8d76e4b672 100644 --- a/rpc/README.md +++ b/rpc/README.md @@ -2179,7 +2179,7 @@ Returns the live cells collection by the lock or type script. * limit: result size limit -* after_cursor: pagination parameter, optional +* after: pagination parameter, optional ###### Returns @@ -2556,7 +2556,7 @@ Returns the transactions collection by the lock or type script. * limit: result size limit -* after_cursor: pagination parameter, optional +* after: pagination parameter, optional ###### Returns diff --git a/rpc/src/module/indexer.rs b/rpc/src/module/indexer.rs index 02e93b1c8b..9a492a8228 100644 --- a/rpc/src/module/indexer.rs +++ b/rpc/src/module/indexer.rs @@ -59,7 +59,7 @@ pub trait IndexerRpc { /// - with_data - bool, optional default is `true`, if with_data is set to false, the field of returning cell.output_data is null in the result /// * order: enum, asc | desc /// * limit: result size limit - /// * after_cursor: pagination parameter, optional + /// * after: pagination parameter, optional /// /// ## Returns /// @@ -406,7 +406,7 @@ pub trait IndexerRpc { /// - group_by_transaction - bool, optional default is `false`, if group_by_transaction is set to true, the returning objects will be grouped by the tx hash /// * order: enum, asc | desc /// * limit: result size limit - /// * after_cursor: pagination parameter, optional + /// * after: pagination parameter, optional /// /// ## Returns /// * objects - enum, ungrouped TxWithCell | grouped TxWithCells