From 010d3175af155539fe2d516bf0aea36c3faf75fa Mon Sep 17 00:00:00 2001 From: Simon Sefcik <56121054+CoCoNuTeK@users.noreply.github.com> Date: Tue, 17 Jun 2025 11:15:08 +0000 Subject: [PATCH] fix: chaingate needs cursor in offer and listings as param --- blockapi/v2/api/nft/unisat.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blockapi/v2/api/nft/unisat.py b/blockapi/v2/api/nft/unisat.py index 0b7a9d4e..c323eff1 100644 --- a/blockapi/v2/api/nft/unisat.py +++ b/blockapi/v2/api/nft/unisat.py @@ -378,6 +378,7 @@ def fetch_listings( all_items: Optional[bool] = None, sort_by: NftSortBy = NftSortBy.UNIT_PRICE, sort_order: int = -1, + cursor: Optional[str] = None, ) -> FetchResult: """ Fetch all current listings (sell offers) for a specific collection. @@ -548,6 +549,7 @@ def fetch_offers( domain_type: Optional[str] = None, collection: Optional[str] = None, limit: int = 499, + cursor: Optional[str] = None, ) -> FetchResult: """ Fetch listing events (historical or recent) in a collection.