# Creditrisk

The Creditrisk module keeps track and stores of all the Commercio tokens that were used to buy memberships and/or are the results of the CDP autoliquidation feature, which are concentrated on the credit risk pool.

# Queries

# Getting current credit risk pool amount

# CLI

cncli query creditrisk pool
1

# REST

Endpoints:

/creditrisk/pool
1
# Example

Getting current credit risk pool amount:

http://localhost:1317/creditrisk/pool
1
# Response
{
  "height": "0",
  "result": [
    "<amount of coins to deposit into the pool>"
  ]
}
1
2
3
4
5
6

where components of result are object of the following type:

{
    "denom": "<token denom>",
    "amount": "<integer amount of tokens of denom>"
}
1
2
3