# Reading all user opened CDPs

# Rest API

# Endpoint

/commerciomint/cdps/${address}
1

# Parameters

Parameter Description
address Address of the user for which to read all the CDPs

# Example

# Call

http://localhost:1317/commerciomint/cdps/did:com:15erw8aqttln5semks0vnqjy9yzrygzmjwh7vke
1

# Response

{
  "height": "0",
  "result": [
    {
      "deposited_amount": {
        "denom": "ucommercio",
        "amount": "10000000"
      },
      "liquidity_amount": {
        "denom": "uccc",
        "amount": "500000"
      },
      "owner": "did:com:15erw8aqttln5semks0vnqjy9yzrygzmjwh7vke/1570177686",
      "timestamp": "1570177686"
    }
  ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17