Skip to content

fix(examples): unlock session with OTP before submitting withdrawal#9266

Open
alia-bitgo wants to merge 1 commit into
masterfrom
caas-2135-go-account-withdrawal-otp-unlock
Open

fix(examples): unlock session with OTP before submitting withdrawal#9266
alia-bitgo wants to merge 1 commit into
masterfrom
caas-2135-go-account-withdrawal-otp-unlock

Conversation

@alia-bitgo

Copy link
Copy Markdown
Contributor

Summary

  • Adds a bitgo.unlock({ otp }) step before submitting the signed transaction in go-account-withdrawal.ts
  • BitGo API requires an unlocked session before accepting send requests
  • OTP is read from the OFC_OTP environment variable
  • Clarifies that RECIPIENT_ADDRESS accepts either a destination address or a same-jurisdiction Go Account wallet ID

Test plan

  • Run go-account-withdrawal.ts with OFC_OTP set to a valid TOTP code
  • Verify the session unlocks and the transaction submits successfully

Ticket: CAAS-2135

🤖 Generated with Claude Code

@alia-bitgo alia-bitgo requested a review from a team as a code owner July 15, 2026 17:50
@linear-code

linear-code Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

CAAS-2135

Adds a session unlock step (bitgo.unlock) before submitting the signed
transaction in go-account-withdrawal.ts, which is required by the BitGo
API. Also clarifies that the recipient can be a destination address or
another Go Account wallet ID for same-jurisdiction internal transfers.

Ticket: CAAS-2135
@alia-bitgo alia-bitgo force-pushed the caas-2135-go-account-withdrawal-otp-unlock branch from 05f1b29 to 1cdb9d2 Compare July 15, 2026 17:51
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.

2 participants