Generate Deposit Addresses
Endpoint
Section titled “Endpoint”POST /deposit
Server: https://bridge.openfish.fun (port 3004)
Tags: Bridge
Calling this endpoint provisions chain-specific deposit addresses tied to your Openfish wallet. Funds sent to these addresses are automatically credited to your trading balance.
Request Body
Section titled “Request Body”| Property | Type | Required | Description |
|---|---|---|---|
address | string | Yes | Your Openfish wallet address (0x-prefixed, 40 hex chars) |
{ "address": "0x56687bf447db6ffa42ffe2204a05edaa20f55839"}Response
Section titled “Response”201 — Deposit addresses provisioned.
{ "address": { "evm": "0x23566f8b2E82aDfCf01846E54899d110e97AC053", "svm": "CrvTBvzryYxBHbWu2TiQpcqD5M7Le7iBKzVmEj3f36Jb", "btc": "bc1q8eau83qffxcj8ht4hsjdza3lha9r3egfqysj3g" }, "note": "Only certain chains and tokens are supported. See /supported-assets for details."}400 — Invalid address or malformed request body.
curl -X POST "https://bridge.openfish.fun/deposit" \ -H "Content-Type: application/json" \ -d '{"address": "0x56687bf447db6ffa42ffe2204a05edaa20f55839"}'