Skip to content

Conversation

@Thoralf-M
Copy link
Member

@Thoralf-M Thoralf-M commented Sep 10, 2025

Add examples to show how to fetch all pages using the nextCursor of the pageInfo

Fixes #189

make bindings-example pagination
make[1]: Verzeichnis „/home/t/Desktop/iota-rust-sdk“ wird betreten

Running Go example "pagination"
Fetching page with cursor: nil
Fetching page with cursor: IAsCcO6dJ9oNsJZR5fczjfoyx+5kQczvofbjBXNbz8erj6o4BwAAAAA=
Fetching page with cursor: IC18jxuTcLkdf/Pb2BRKBdadf5d1jemMW7bDJXjNpiIUj6o4BwAAAAA=
3 objects fetched:
0x0b0270ee9d27da0db09651e5f7338dfa32c7ee6441ccefa1f6e305735bcfc7ab
0x2d7c8f1b9370b91d7ff3dbd8144a05d69d7f97758de98c5bb6c32578cda62214
0xd04077fe3b6fad13b3d4ed0d535b7ca92afcac8f0f2a0e0925fb9f4f0b30c699

@Thoralf-M Thoralf-M linked an issue Sep 10, 2025 that may be closed by this pull request
@Thoralf-M Thoralf-M merged commit 97b6ac1 into sdk-bindings Sep 10, 2025
14 checks passed
@Thoralf-M Thoralf-M deleted the feat/pagination-example branch September 10, 2025 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add pagination example

4 participants