Skip to content

Commit

Permalink
Add last page doc on get_cells and get_transactions RPC
Browse files Browse the repository at this point in the history
Signed-off-by: Eval EXEC <[email protected]>
  • Loading branch information
eval-exec committed Oct 30, 2023
1 parent 8215a2f commit ff1205b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rpc/src/module/indexer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ pub trait IndexerRpc {
///
/// ## Returns
///
/// > If the number of objects is less than the requested `limit`, it indicates that these are the last page of get_cells.
/// * objects:
/// - output: the fields of an output cell
/// - output_data: the cell data
Expand Down Expand Up @@ -409,6 +410,7 @@ pub trait IndexerRpc {
/// * after: pagination parameter, optional
///
/// ## Returns
/// > If the number of objects is less than the requested `limit`, it indicates that these are the last page of get_transactions.
/// * objects - enum, ungrouped TxWithCell | grouped TxWithCells
/// - TxWithCell:
/// - tx_hash: transaction hash,
Expand Down

0 comments on commit ff1205b

Please sign in to comment.