# Close a CDP

# Transaction message

To close a previously opened CDP you need to create and sign the following message.

{
  "type": "commercio/MsgCloseCdp",
  "value": {
    "signer": "<User address>",
    "timestamp": "<Block height at which the CDP is being inserted into the chain>"
  }
}
1
2
3
4
5
6
7

# Action type

If you want to list past transactions including this kind of message, you need to use the following message.action value:

closeCdp
1