Skip to content

Initiate a Withdrawal

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.


PropertyTypeRequiredDescription
addressstringYesYour Openfish wallet address
toChainIdstringYesMust be "56" for BSC
toTokenAddressstringYesMust match the configured platform meme token address
recipientAddrstringYesDestination BSC wallet address
amountstringNoAmount 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"
}

200 — Withdrawal submitted.

{
"address": {
"evm": "0x23566f8b2E82aDfCf01846E54899d110e97AC053"
},
"note": "Withdrawal submitted successfully."
}

Terminal window
curl -X POST "https://bridge.openfish.me/withdraw" \
-H "Content-Type: application/json" \
-d '{"address":"0xabc0000000000000000000000000000000000000","toChainId":"56","toTokenAddress":"0xaE71fd8baCc2f17C43a01C3F4aFF6dEEbc194444","recipientAddr":"0xdef0000000000000000000000000000000000000","amount":"1000000000000000000"}'