Skip to content

feat(examples): add go-account-get-order script#9253

Merged
alia-bitgo merged 1 commit into
masterfrom
caas-2125-go-account-get-order
Jul 15, 2026
Merged

feat(examples): add go-account-get-order script#9253
alia-bitgo merged 1 commit into
masterfrom
caas-2125-go-account-get-order

Conversation

@alia-bitgo

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

Copy link
Copy Markdown
Contributor

Summary

  • Adds go-account-get-order.ts example script that fetches the status and details of a specific trade order by order ID via GET /api/prime/trading/v1/accounts/{accountId}/orders/{orderId}
  • Useful for monitoring execution after placing an order with go-account-place-order.ts

Test plan

  • Set TESTNET_ACCESS_TOKEN, OFC_WALLET_ID, and TRADE_ORDER_ID in examples/.env
  • Run npx tsx go-account-get-order.ts from examples/ts/go-account
  • Verify order status and details are displayed correctly

Ticket: CAAS-2125

🤖 Generated with Claude Code

Adds a new example script that fetches the status and details of a
specific trade order by order ID via
GET /api/prime/trading/v1/accounts/{accountId}/orders/{orderId}.

Ticket: CAAS-2125
@alia-bitgo alia-bitgo requested a review from a team as a code owner July 14, 2026 15:38
@linear-code

linear-code Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

CAAS-2125

@alia-bitgo alia-bitgo merged commit badebc9 into master Jul 15, 2026
22 checks passed
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.

3 participants