BlueForge Docs

client.wallet.unfreeze

Unfreeze a workspace wallet

Signature

class Client {
  wallet: {
    unfreeze(workspaceId: string): Promise<{ success: boolean }>
  }
}

Parameters

NameTypeRequiredNotes
workspaceId
string
YesWorkspace ID

Throws

  • NotFoundError
    — workspace not found
  • AuthError
    — insufficient permissions

Examples

import { Client } from '@blueforge/client'

const bf = new Client({ apiKey: process.env.BF_API_KEY!, url: 'https://your-project.blueforge.dev' })

await bf.wallet.unfreeze('ws_abc')

Pitfalls

  • Admin only — only workspace admins can freeze/unfreeze wallets

See also

  • client.wallet.freeze

Tested against

  • Unit:
    packages/client/src/__tests__/wallet.test.ts