# App 별 총/금일 누적 코인 리스트 조회

<mark style="color:blue;">`GET`</mark> `https://{dashboard-domain}/v1.0/db/me/coin/list`

#### Headers

| Name                                            | Type   | Description                 |
| ----------------------------------------------- | ------ | --------------------------- |
| Authorization<mark style="color:red;">\*</mark> | string | Bearer {{web-access-token}} |

{% tabs %}
{% tab title="200: OK 성공" %}

```javascript
{
    "return": 0,
    "message": "success",
    "value": [
        {
            "coin_id": 1,
            "base_coin_id": 0,
            "coin_symbol": "ONIT",
            "wallet_address": "",
            "quantity": 0,
            "today_acq_quantity": 0,
            "today_cnsm_quantity": 0,
            "today_exchange_acq_quantity": 0,
            "today_exchange_cnsm_quantity": 0,
            "reset_date": "2024-07-12T00:00:00Z"
        },
        {
            "coin_id": 2,
            "base_coin_id": 0,
            "coin_symbol": "NEWTON",
            "wallet_address": "",
            "quantity": 0,
            "today_acq_quantity": 0,
            "today_cnsm_quantity": 0,
            "today_exchange_acq_quantity": 277,
            "today_exchange_cnsm_quantity": 0,
            "reset_date": "2024-07-12T00:00:00Z"
        },
        {
            "coin_id": 4,
            "base_coin_id": 0,
            "coin_symbol": "ETH",
            "wallet_address": "",
            "quantity": 0,
            "today_acq_quantity": 1,
            "today_cnsm_quantity": 0,
            "today_exchange_acq_quantity": 0,
            "today_exchange_cnsm_quantity": 0,
            "reset_date": "2023-06-16T00:00:00Z"
        },
        {
            "coin_id": 5,
            "base_coin_id": 0,
            "coin_symbol": "MATIC",
            "wallet_address": "",
            "quantity": 0,
            "today_acq_quantity": 0,
            "today_cnsm_quantity": -0.45908,
            "today_exchange_acq_quantity": 0,
            "today_exchange_cnsm_quantity": 0,
            "reset_date": "2023-03-07T00:00:00Z"
        },
        {
            "coin_id": 6,
            "base_coin_id": 0,
            "coin_symbol": "MATIC-ERC20",
            "wallet_address": "",
            "quantity": 0,
            "today_acq_quantity": 0,
            "today_cnsm_quantity": 0,
            "today_exchange_acq_quantity": 0,
            "today_exchange_cnsm_quantity": 0,
            "reset_date": "2023-02-13T00:00:00Z"
        },
        {
            "coin_id": 7,
            "base_coin_id": 0,
            "coin_symbol": "SUI",
            "wallet_address": "",
            "quantity": 0,
            "today_acq_quantity": 0,
            "today_cnsm_quantity": 0,
            "today_exchange_acq_quantity": 0,
            "today_exchange_cnsm_quantity": -277,
            "reset_date": "2024-07-12T00:00:00Z"
        },
        {
            "coin_id": 8,
            "base_coin_id": 0,
            "coin_symbol": "ITI",
            "wallet_address": "",
            "quantity": 0,
            "today_acq_quantity": 0,
            "today_cnsm_quantity": 0,
            "today_exchange_acq_quantity": 0,
            "today_exchange_cnsm_quantity": 0,
            "reset_date": "2023-07-24T00:00:00Z"
        },
        {
            "coin_id": 10,
            "base_coin_id": 0,
            "coin_symbol": "HUBBLE",
            "wallet_address": "",
            "quantity": 0,
            "today_acq_quantity": 0,
            "today_cnsm_quantity": 0,
            "today_exchange_acq_quantity": 831,
            "today_exchange_cnsm_quantity": 0,
            "reset_date": "2023-08-29T00:00:00Z"
        }
    ]
}
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="Example Curl" %}

```
curl --location --request GET 'https://{dashboard-domain}/v1.0/db/me/coin/list' \
--header 'Authorization: Bearer eyJhbGciOiJ...'
```

{% endtab %}

{% tab title="Response Value" %}

<table><thead><tr><th width="252.13953488372093">key</th><th>data type</th><th>desc.</th></tr></thead><tbody><tr><td>coin_id</td><td>int64</td><td>coin id</td></tr><tr><td><mark style="background-color:green;">base_coin_id</mark></td><td>int64</td><td>base id</td></tr><tr><td>coin_symbol</td><td>string</td><td>코인 심볼</td></tr><tr><td>wallet_address</td><td>string</td><td>지갑 주소</td></tr><tr><td>quantity</td><td>float64</td><td>코인량</td></tr><tr><td>today_acq_quantity</td><td>float64</td><td>외부 지갑을 통한 일일 획득량</td></tr><tr><td>today_cnsm_quantity</td><td>float64</td><td>외부 지갑을 통한 일일 소모량</td></tr><tr><td><del><mark style="background-color:red;">today_acq_exchange_quantity</mark></del><br><mark style="background-color:green;">today_exchange_acq_quantity</mark></td><td>float64</td><td>일일 획득 전환량</td></tr><tr><td><del><mark style="background-color:red;">today_cnsm_exchange_quantity</mark></del><br><mark style="background-color:green;">today_exchange_cnsm_quantity</mark></td><td>float64</td><td>일일 소모 전환량</td></tr><tr><td>reset_date</td><td>string</td><td>초기화 날짜</td></tr></tbody></table>
{% endtab %}

{% tab title="Result Code" %}

| return        | message                     | desc.          |
| ------------- | --------------------------- | -------------- |
| 0             | success                     | 성공             |
| 20004         | Invalid jwt token           | 유효하지 않은 액세스 토큰 |
| 34004         | GetMeCoinList DB Scan Error | DB 스캔 에러       |
| {% endtab %}  |                             |                |
| {% endtabs %} |                             |                |
