Skip to content

feat(examples): add go-account-list-products script#9230

Open
alia-bitgo wants to merge 1 commit into
masterfrom
caas-2079-go-account-list-products
Open

feat(examples): add go-account-list-products script#9230
alia-bitgo wants to merge 1 commit into
masterfrom
caas-2079-go-account-list-products

Conversation

@alia-bitgo

@alia-bitgo alia-bitgo commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds go-account-list-products.ts example script that fetches available trading pairs for a Go Account via GET /api/prime/trading/v1/accounts/{accountId}/products
  • Displays a formatted table of available/disabled pairs with base currency, quote currency, and margin support
  • Updates go-account-workflows.md with documentation, env var requirements, and usage

Test plan

  • Set TESTNET_ACCESS_TOKEN and OFC_WALLET_ID in examples/.env
  • Run npx tsx go-account-list-products.ts from examples/ts/go-account
  • Verify trading pairs are listed correctly

Ticket: CAAS-2079

🤖 Generated with Claude Code

@alia-bitgo alia-bitgo requested a review from a team as a code owner July 10, 2026 16:04
@linear-code

linear-code Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

CAAS-2079

Adds a new example script that fetches available trading pairs for a Go
Account via GET /api/prime/trading/v1/accounts/{accountId}/products.
Displays a formatted table of available/disabled pairs with base currency,
quote currency, and margin support.

Ticket: CAAS-2079
@alia-bitgo alia-bitgo force-pushed the caas-2079-go-account-list-products branch from 4158566 to 83ff6d1 Compare July 10, 2026 19:15
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