Create deposit address

Create a deposit address for a sub-user in the marketplace

Create a deposit address for a sub-user

POST https://api.venly.market/users/{id}/deposit-addresses

Path Parameters

NameTypeDescription

*

String

The sub-user id

Request Body

NameTypeDescription

chain*

String

The blockchain for which this deposit-address will be created (MATIC, AVAC, BSC, ETHEREUM, HEDERA)

{
  "success": true,
  "result": {
    "userId": "string",
    "chain": "string",
    "address": "string",
    "memo": "string"
  }
}

Example

Request body

{
  "chain": "ETHEREUM"
}

Response

{
  "success": true,
  "result": {
    "userId": "8cf5f1a8-b3bb-4a81-9f1c-c1746d8eb59f",
    "chain": "ETHEREUM",
    "address": "0x7baf9af7ba501e2d11be5d02912aa16029db419e"
  }
}

Last updated