> For the complete documentation index, see [llms.txt](https://docs.justaname.id/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.justaname.id/sdk-reference/justaname-core-sdk/functions/getcointypedetails.md).

# getCoinTypeDetails

Retrieves detailed information about a specific cryptocurrency coin type from the supported coin types.

***

## Usage

```typescript
import { getCoinTypeDetails } from '@justaname.id/sdk'

// Basic usage
const ethDetails = getCoinTypeDetails('60')
console.log(ethDetails)
// {
//   coin: 'Ethereum',
//   symbol: 'eth',
//   coinType: '60'
// }

const btcDetails = getCoinTypeDetails('0')
console.log(btcDetails)
// {
//   coin: 'Bitcoin',
//   symbol: 'btc',
//   coinType: '0'
// }
```

***

## Supported Coin Types

The SDK supports all coin types from the [ENS address-encoder supported cryptocurrencies list](https://github.com/ensdomains/address-encoder/blob/master/docs/supported-cryptocurrencies.md). For unsupported coin types, returns `{ coin: 'NON', symbol: 'NON', coinType: '-1' }`.

***

## Returns

[`CoinType`](/sdk-reference/justaname-core-sdk/interfaces/cointype.md) - An object containing:

* `coin`: The full name of the cryptocurrency
* `symbol`: The symbol of the cryptocurrency
* `coinType`: The coin type identifier

## Parameters

* **cointype**: `string` - The coin type identifier string

## Defined in

[packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts:34](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts#L34)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.justaname.id/sdk-reference/justaname-core-sdk/functions/getcointypedetails.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
