Skip to content

Commit 839cb7a

Browse files
Merge pull request #32 from IQAIcom/fix-add-close-false-for-get-active-markets
add close false for get active markets
2 parents 669b7c8 + aee641d commit 839cb7a

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changeset/odd-moose-shake.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@iqai/mcp-polymarket": patch
3+
---
4+
5+
Add close false for get active markets

src/services/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class PolymarketAPI {
4343
* Lists active markets with pagination.
4444
*/
4545
async listActiveMarkets(limit = 20, offset = 0) {
46-
return this.gamma.getActiveMarkets({ limit, offset });
46+
return this.gamma.getActiveMarkets({ limit, offset, closed: false });
4747
}
4848

4949
/**

0 commit comments

Comments
 (0)