# Reading a user opened CDP

# Rest API

# Endpoint

/commerciomint/cdps/${address}/${timestamp}
1

# Parameters

Parameter Description
address Address of the user for which to read the CDP
timestamp Timestamp of when the CDP request was made

# Example

# Call

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

# Response

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