These docs are for v2.0. Click to read the latest docs for v3.0.

Get/Create Deposit Address

How to create and retrieve a deposit address.

🚧

The Market API will be discontinued, in Q3 2024 we will be sunsetting this product

Create a deposit address

Request Endpoint: reference

POST /user/deposit-addresses
ParameterParam TypeDescriptionData TypeMandatory
chainBodyThe blockchain to create a deposit address onString✅

Example Request:

POST https://api.venly.market/user/deposit-addresses
{
    "chain": "ETHEREUM"
}

Response Body:

{
    "success": true,
    "result": [
        {
            "userId": "7c344b6c-2a05-4597-95ce-9b48e07f8e50",
            "chain": "ETHEREUM",
            "address": "0xa51b1d9f8715884647aea7c593e4ff3176aaac16"
        }
    ]
}

Get deposit address

Request Endpoint: reference

GET /user/deposit-addresses

Example Request:

GET https://api.venly.market/user/deposit-addresses

Response Body:

{
    "success": true,
    "result": [
        {
            "userId": "7c344b6c-2a05-4597-95ce-9b48e07f8e50",
            "chain": "ETHEREUM",
            "address": "0xa51b1d9f8715884647aea7c593e4ff3176aaac16"
        }
    ]
}