Skip to content

Conversation

@suhailkakar
Copy link
Member

@suhailkakar suhailkakar commented Feb 5, 2026

Note

Medium Risk
Changes request authentication headers for order-query endpoints; incorrect header selection or builder signing failures could cause auth errors or unexpected access behavior.

Overview
Builder-authenticated clients can now query orders. ClobClient.getOrder() and ClobClient.getOpenOrders() attempt to generate and inject builder headers (via existing builder config) and fall back to standard L2 headers when builder auth isn’t available.

Adds examples/getBuilderOpenOrders.ts, a runnable script showing how to configure BuilderConfig (local creds or remote signer) and call getOpenOrders() using env-based credentials.

Written by Cursor Bugbot for commit d69e93a. This will update automatically on new commits. Configure here.

@suhailkakar suhailkakar requested a review from a team as a code owner February 5, 2026 22:44
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.

1 participant