Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.prudra.dev/llms.txt

Use this file to discover all available pages before exploring further.

Withdrawals overview

Withdrawals convert crypto from your Prudra managed wallet to fiat and deliver it via bank wire. Prudra handles the exchange — you provide a destination bank account and Prudra’s ops team sends the wire.

How withdrawals work

Withdrawals are not instant — fiat conversion and bank wires take 1–3 business days after the on-chain transfer confirms.

Quick start

import { initialise, Token, Chain } from '@prudra/core';
import { addBankAccount, withdraw } from '@prudra/wallet';

initialise({ apiKey: process.env.PRUDRA_API_KEY! });

// 1. Register your bank account (once)
const bank = await addBankAccount({
  accountName:   'Acme Ltd — Operations',
  sortCode:      '20-00-00',
  accountNumber: '12345678',
  currency:      'GBP',
});

// 2. Request withdrawal
const w = await withdraw({
  fromWalletId:   'mwt_clx1abc123',
  fromWalletType: 'master',
  amount:         '100.00',
  token:          Token.USDC,
  chain:          Chain.BASE,
  bankAccountId:  bank.id,
  reference:      'WD-001',
});

console.log(w.status);         // 'pending_conversion'
console.log(w.txHash);         // on-chain transfer hash
console.log(w.estimatedDays);  // 2

Withdrawal status values

StatusMeaning
pending_conversionOn-chain transfer confirmed, awaiting fiat conversion
conversion_completeFiat converted, bank wire in transit
completedWire arrived at destination bank
failedConversion or wire failed — contact support

Sub-pages

Add a bank account

Register UK, US, or international bank accounts.

Request a withdrawal

Full API reference for initiating a withdrawal.

Track a withdrawal

Poll status or receive the withdrawal.completed webhook.

Currencies and limits

Supported fiat currencies and minimum/maximum amounts.