> ## Documentation Index
> Fetch the complete documentation index at: https://cobo-docs-feature-cobo-cli.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Coin Details

> <Note>This content applies to WaaS 1.0 only. We highly recommend that you upgrade to [WaaS 2.0](https://www.cobo.com/developers/v2/guides/overview/introduction).</Note> This endpoint returns a JSON response with the currency rate and unit for a given coin code. The endpoint requires authentication and takes a 'coin_code' parameter in the GET request.

<Tip> FAQ：[How do I query the withdraw fees?](/v1/faqs/coin-management#how-do-i-query-the-withdrawal-fees)</Tip>

#### Request

<ParamField query="coin" type="String" required>Coin code</ParamField>
<ParamField query="amount" type="Int">the amount you wish to send</ParamField>
<Tip>To accurately estimate handling fees, it is required to include the amount parameter. Otherwise, this endpoint will return the default transaction fee. Please note that the default transaction fee might not be very accurate.</Tip>

#### Response

<ResponseField name="success" type="bool">request successful or failed</ResponseField>

<ResponseField name="result" type="object">
  <Expandable title="object">
    <ResponseField name="coin" type="String">Coin code</ResponseField>
    <ResponseField name="display_code" type="String">Coin ticker symbol  (not unique, changeable, for reference only )</ResponseField>
    <ResponseField name="description" type="String">Coin code</ResponseField>
    <ResponseField name="decimal" type="Int">Coin balance decimal places</ResponseField>
    <ResponseField name="can_deposit" type="bool">Deposit accessibility</ResponseField>
    <ResponseField name="can_withdraw" type="bool">Withdraw accessibility</ResponseField>
    <ResponseField name="balance" type="String">Current balance</ResponseField>
    <ResponseField name="abs_balance" type="String">Absolute value of balance</ResponseField>
    <ResponseField name="fee_coin" type="String">Coin used for fee</ResponseField>
    <ResponseField name="abs_estimate_fee" type="String">Estimated fee</ResponseField>
    <ResponseField name="abs_estimate_fee_usd" type="String">Estimated fee(Convert to USD calculation) </ResponseField>
    <ResponseField name="confirming_threshold" type="Int">Confirmation threshold required for the coin</ResponseField>
    <ResponseField name="dust_threshold" type="Int">Coin minimum withdraw threshold</ResponseField>
    <ResponseField name="minimum_deposit_threshold" type="String">Coin minimum deposit threshold</ResponseField>
    <ResponseField name="token_address" type="String">Smart contract address for token (null for main-chain token)</ResponseField>
    <ResponseField name="require_memo" type="String">Memo for specified coins(EOS,XLM,XRP,IOST)</ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```python Python
  request(
    "GET",
    "/v1/custody/coin_info/",
    {
      "coin": "ETH",
      "amount": 1000000000000000000
    },
    api_key, api_secret, host
  )
  ```

  ```javascript JavaScript
  coboFetch('GET', '/v1/custody/coin_info/', {
      "coin": "ETH",
      "amount": 1000000000000000000
  }, api_key, api_secret, host)
      .then(res => {
          res.json().then((data)=>{
              console.log(JSON.stringify(data, null, 4));
          })
      }).catch(err => {
          console.log(err)
      });
  ```

  ```go Go
  Request("GET", "/v1/custody/coin_info/", map[string]string{
      "coin": "ETH",
      "amount": 1000000000000000000
  })
  ```
</RequestExample>

<ResponseExample>
  ```json
  {
    "success": true,
    "result": {
      "coin": "ETH",
      "display_code": "ETH",
      "description": "Ethereum",
      "decimal": 18,
      "can_deposit": true,
      "can_withdraw": true,
      "require_memo": false,
      "balance": "0",
      "abs_balance": "0",
      "fee_coin": "ETH",
      "abs_estimate_fee": "0.0003648",
      "abs_estimate_fee_usd": "5.67",
      "confirming_threshold": 12,
      "dust_threshold": 0,
      "token_address": ""
    }
  }
  ```
</ResponseExample>
