Skip to content

Withdraw

The FISH bridge sends the FISH BEP-20 directly from the platform hot wallet on BSC. It does not bridge to other chains or convert the asset.

  1. Call POST /withdraw/preview with your Openfish wallet address, BSC destination, token address, and amount.
  2. Show the preview to the user: amount, fee, total debit, hot-wallet liquidity, and canWithdraw.
  3. After explicit confirmation, call POST /withdraw with the same fields.
  4. The bridge debits your Openfish FISH balance.
  5. The hot wallet sends the FISH token to your BSC recipient address.
  6. Track progress with GET /status/{address}.
POST https://bridge.openfish.me/withdraw/preview
POST https://bridge.openfish.me/withdraw
FieldTypeRequiredDescription
addressstringYesYour Openfish wallet address
toChainIdstringYesMust be "56"
toTokenAddressstringYesConfigured FISH token address
recipientAddrstringYesRecipient BSC wallet address
amountstringNoAmount in base units. Omit or set "all" to withdraw full available balance minus fee.
Terminal window
curl -X POST https://bridge.openfish.me/withdraw/preview \
-H "Content-Type: application/json" \
-d '{
"address": "0xabc0000000000000000000000000000000000000",
"toChainId": "56",
"toTokenAddress": "0xdcc3990630eB5Ffd8914d639198cCa593e59465A",
"recipientAddr": "0xdef0000000000000000000000000000000000000",
"amount": "1000000000000000000"
}'
curl -X POST https://bridge.openfish.me/withdraw \
-H "Content-Type: application/json" \
-d '{
"address": "0xabc0000000000000000000000000000000000000",
"toChainId": "56",
"toTokenAddress": "0xdcc3990630eB5Ffd8914d639198cCa593e59465A",
"recipientAddr": "0xdef0000000000000000000000000000000000000",
"amount": "1000000000000000000"
}'
  • Withdrawals require the bridge hot wallet to hold enough FISH and BNB gas.
  • The bridge only supports BSC in this environment.
  • The token address must match GET /supported-assets.
  • Withdrawal fee, if configured, is denominated in FISH base units.