Skip to content

Commit c01d2ca

Browse files
authored
fix: chaingate needs cursor in offer and listings as param (#239)
1 parent 17caad8 commit c01d2ca

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

blockapi/v2/api/nft/unisat.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@ def fetch_listings(
378378
all_items: Optional[bool] = None,
379379
sort_by: NftSortBy = NftSortBy.UNIT_PRICE,
380380
sort_order: int = -1,
381+
cursor: Optional[str] = None,
381382
) -> FetchResult:
382383
"""
383384
Fetch all current listings (sell offers) for a specific collection.
@@ -548,6 +549,7 @@ def fetch_offers(
548549
domain_type: Optional[str] = None,
549550
collection: Optional[str] = None,
550551
limit: int = 499,
552+
cursor: Optional[str] = None,
551553
) -> FetchResult:
552554
"""
553555
Fetch listing events (historical or recent) in a collection.

0 commit comments

Comments
 (0)