Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions blockapi/v2/api/nft/unisat.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ def fetch_offers(
event: Optional[str] = None,
tick: Optional[str] = None,
domain_type: Optional[str] = None,
collection_id: Optional[str] = None,
collection: Optional[str] = None,
cursor: Optional[str] = None,
limit: int = 100,
) -> FetchResult:
Expand All @@ -473,7 +473,7 @@ def fetch_offers(
event: Filter by event type (Listed, Cancel, Buy)
tick: Filter by tick (for BRC20)
domain_type: Filter by domain type
collection_id: Collection ID to filter by
collection: Collection ID to filter by
cursor: Pagination cursor (offset, 'start' parameter)
limit: Number of items per page

Expand All @@ -500,8 +500,8 @@ def fetch_offers(
filter_dict["tick"] = tick
if domain_type:
filter_dict["domainType"] = domain_type
if collection_id:
filter_dict["collectionId"] = collection_id
if collection:
filter_dict["collectionId"] = collection

request_body = {
"filter": filter_dict,
Expand Down