Initiate a Withdrawal
Endpoint
Section titled “Endpoint”POST /withdraw
Server: https://bridge.openfish.me (port 3004)
Tags: Bridge
The meme bridge withdraws only the configured platform meme ERC-20 on BSC. The bridge debits the user’s Openfish balance and sends the same token from the hot wallet to recipientAddr.
Request Body
Section titled “Request Body”| Property | Type | Required | Description |
|---|---|---|---|
address | string | Yes | Your Openfish wallet address |
toChainId | string | Yes | Must be "56" for BSC |
toTokenAddress | string | Yes | Must match the configured platform meme token address |
recipientAddr | string | Yes | Destination BSC wallet address |
amount | string | No | Amount in base units. Omit or set "all" to withdraw full available balance minus configured fee. |
{ "address": "0xabc0000000000000000000000000000000000000", "toChainId": "56", "toTokenAddress": "0xaE71fd8baCc2f17C43a01C3F4aFF6dEEbc194444", "recipientAddr": "0xdef0000000000000000000000000000000000000", "amount": "1000000000000000000"}Response
Section titled “Response”200 — Withdrawal submitted.
{ "address": { "evm": "0x23566f8b2E82aDfCf01846E54899d110e97AC053" }, "note": "Withdrawal submitted successfully."}curl -X POST "https://bridge.openfish.me/withdraw" \ -H "Content-Type: application/json" \ -d '{"address":"0xabc0000000000000000000000000000000000000","toChainId":"56","toTokenAddress":"0xaE71fd8baCc2f17C43a01C3F4aFF6dEEbc194444","recipientAddr":"0xdef0000000000000000000000000000000000000","amount":"1000000000000000000"}'