---
title: "SimpleHash에서 Alchemy로 Fungible Token 데이터 마이그레이션하기"
description: "이 가이드는 SimpleHash에서 Alchemy로 Fungible Token 데이터를 마이그레이션하는 단계별 예시를 제공합니다."
---

# SimpleHash에서 Alchemy로 Fungible Token 데이터 마이그레이션하기

<CalloutBlock>

SimpleHash는 2025년 3월 27일에 서비스를 종료하며, 이 가이드는 SimpleHash에서 Alchemy로 Fungible Token Data를 마이그레이션하는 간단한 방법을 제공합니다.

궁금한 점이 있으면 [data-services-product@alchemy.com](mailto:data-services-product@alchemy.com)으로 문의해 주세요!

</CalloutBlock>

## 사용 사례 1: 토큰 잔액 및 메타데이터
저희 token API는 SimpleHash의 fungible token 엔드포인트를 대체하기에 적합합니다.

저희 fungible token API는 다음을 제공합니다:
✅ ERC-20 및 기타 토큰의 **실시간 잔액**

✅ **토큰 메타데이터** \(name, symbol, decimals, contract address\)

✅ 모든 주요 블록체인에 대한 **멀티체인 지원**

문서: [https://www.alchemy.com/docs/data/token-api/token-api-endpoints/alchemy-get-token-balances](https://www.alchemy.com/docs/data/token-api/token-api-endpoints/alchemy-get-token-balances)

📌 **예시 Wallet:** `0x89205A3A3b2A69De6Dbf7f01ED13B2108B2c43e7`

### 토큰 잔액 조회하기
### SimpleHash 요청 \(이전\)
<CodeSnippet
  language="bash"
  code={`curl -X GET "<https://api.simplehash.com/api/v0/fungibles/balances?wallet_address=0x...&chain=ethereum>" \\\\
  -H "Authorization: Bearer YOUR_SIMPLEHASH_KEY"`}
/>
### Alchemy 요청 \(신규\)
_여기서 직접 사용해 보세요 _[here](https://sandbox.alchemy.com/?network=ETH_MAINNET&method=alchemy_getTokenBalances&body.id=1&body.jsonrpc=2.0&body.method=alchemy_getTokenBalances&body.params%5B0%5D=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045&body.params%5B1%5D=erc20&body.params%5B2%5D.pageKey=&body.params%5B2%5D.maxCount=100)_!_

<CodeSnippet
  language="bash"
  code={`curl --request POST \\\\
     --url <https://eth-mainnet.g.alchemy.com/v2/{apiKey}> \\\\
     --header 'accept: application/json' \\\\
     --header 'content-type: application/json' \\\\
     --data '
{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "alchemy_getTokenBalances",
  "params": [
    "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
  ]
}
'`}
/>
### 응답 예시:
<CodeSnippet
  language="json"
  code={`{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
    "tokenBalances": [
      {
        "contractAddress": "0x000000000000e63d2c9c29d3edf6efb99071f92c",
        "tokenBalance": "0x00000000000000000000000000000000000000000000001b1ae4d6e2ef500000"
      },
      {
        "contractAddress": "0x00000000002514bf58ae82408e1e217f16a1dfa0",
        "tokenBalance": "0x000000000000000000000000000000000000000000002a5a058fc295ed000000"
      },
      ...
    ]
  }
}`}
/>
### 토큰 메타데이터 조회하기
문서: [https://www.alchemy.com/docs/data/token-api/token-api-endpoints/alchemy-get-token-metadata](https://www.alchemy.com/docs/data/token-api/token-api-endpoints/alchemy-get-token-metadata)

### SimpleHash 요청 \(이전\)
<CodeSnippet
  language="bash"
  code={`curl -X GET "<https://api.simplehash.com/api/v0/token/metadata?contract_address=0x...&chain=ethereum>" \\\\
  -H "Authorization: Bearer YOUR_SIMPLEHASH_KEY"`}
/>
### Alchemy 요청 \(신규 - JSON-rpc\)
_여기서 직접 사용해 보세요 _[here](https://sandbox.alchemy.com/?network=ETH_MAINNET&method=alchemy_getTokenMetadata&body.id=1&body.jsonrpc=2.0&body.method=alchemy_getTokenMetadata&body.params%5B0%5D=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48)_!_

<CodeSnippet
  language="bash"
  code={`curl --request POST \\\\
     --url <https://eth-mainnet.g.alchemy.com/v2/docs-demo> \\\\
     --header 'accept: application/json' \\\\
     --header 'content-type: application/json' \\\\
     --data '
{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "alchemy_getTokenMetadata",
  "params": [
    "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
  ]
}`}
/>
### 응답 예시:
<CodeSnippet
  language="json"
  code={`{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "decimals": 6,
    "logo": "<https://static.alchemyapi.io/images/assets/3408.png>",
    "name": "USDC",
    "symbol": "USDC"
  }
}`}
/>
## 사용 사례 2: 토큰 가격 \(prices api\)
저희 [**Prices API**](https://www.alchemy.com/docs/reference/prices-api-quickstart)를 사용하면 SimpleHash의 **DEX price** 엔드포인트에서 원활하게 마이그레이션할 수 있습니다.

## 차이점 이해하기
<EmbeddedTable
  table={{
    columns: [
      { key: "1", width: 200, title: "Feature", dataType: "object" },
      { key: "2", width: 200, title: "SimpleHash", dataType: "object" },
      { key: "3", width: 200, title: "Alchemy Prices API", dataType: "object" },
    ],
    data: [
      {
        "1": { title: "<p>Real-time token prices</p>", tooltip: "", icon: "" },
        "2": { title: true, tooltip: "", icon: "" },
        "3": { title: true, tooltip: "", icon: "" },
        id: 0,
      },
      {
        "1": { title: "<p>Historical prices</p>", tooltip: "", icon: "" },
        "2": { title: false, tooltip: "", icon: "" },
        "3": { title: true, tooltip: "", icon: "" },
        id: 1,
      },
      {
        "1": { title: "<p>Batch requests (multiple tokens at once)</p>", tooltip: "", icon: "" },
        "2": { title: "<p>Up to 50 tokens per call</p>", tooltip: "", icon: "" },
        "3": { title: "<p>Supported</p>", tooltip: "", icon: "" },
        id: 2,
      },
      {
        "1": { title: "<p>DEX-specific prices</p>", tooltip: "", icon: "" },
        "2": { title: "<p>Yes (from Uniswap, etc.)</p>", tooltip: "", icon: "" },
        "3": { title: "<p>Coming Soon! Reach out if this is critical.</p>", tooltip: "", icon: "" },
        id: 3,
      },
      {
        "1": { title: "<p>Supported Chains</p>", tooltip: "", icon: "" },
        "2": { title: "<p>Multiple chains</p>", tooltip: "", icon: "" },
        "3": { title: "<p>Multiple chains (including all top chains)</p>", tooltip: "", icon: "" },
        id: 4,
      },
    ],
  }}
/>

📌 **주요 업데이트:** Alchemy는 다양한 신뢰할 수 있는 소스로부터 데이터를 집계하여 토큰 가격에 대한 종합적인 시각을 제공합니다. 특별히 **DEX 기반 가격**이 필요하다면 문의해 주세요! 저희는 이를 지원할 방법을 적극적으로 검토 중이며 여러분의 피드백을 기다리고 있습니다.

### 여러 토큰의 실시간 가격 조회하기
### SimpleHash 요청 \(이전\)
<CodeSnippet
  language="bash"
  code={`curl -X GET "<https://api.simplehash.com/api/v0/prices/fungible?token_ids=ethereum:0x>...,ethereum:0x..." \\\\
  -H "Authorization: Bearer YOUR_SIMPLEHASH_KEY"`}
/>
### Alchemy 요청 \(신규\)
<CodeSnippet
  language="bash"
  code={`curl --request GET \\\\
     --url '<https://api.g.alchemy.com/prices/v1/{api-key}/tokens/by-symbol?symbols=ETH&symbols=BTC>' \\\\
     --header 'accept: application/json'`}
/>
### 응답 예시:
<CodeSnippet
  language="json"
  code={`{
  "data": [
    {
      "symbol": "ETH",
      "prices": [
        {
          "currency": "usd",
          "value": "2304.5082988224",
          "lastUpdatedAt": "2025-02-26T19:16:14Z"
        }
      ]
    },
    {
      "symbol": "BTC",
      "prices": [
        {
          "currency": "usd",
          "value": "84614.0666993729",
          "lastUpdatedAt": "2025-02-26T19:16:21Z"
        }
      ]
    }
  ]
}`}
/>
### **과거 가격 조회하기** \(🚀 **Alchemy 신규 기능!**\)

문서: [https://www.alchemy.com/docs/data/prices-api/prices-api-endpoints/prices-api-endpoints/get-historical-token-prices](https://www.alchemy.com/docs/data/prices-api/prices-api-endpoints/prices-api-endpoints/get-historical-token-prices)

📌 **Alchemy는 과거 가격 데이터를 지원합니다 \(SimpleHash에서는 제공되지 않음\).**

### Alchemy 요청:
<CodeSnippet
  language="bash"
  code={`curl --request POST \\\\
     --url <https://api.g.alchemy.com/prices/v1/{api-key}/tokens/historical> \\\\
     --header 'accept: application/json' \\\\
     --header 'content-type: application/json' \\\\
     --data '
{
  "symbol": "ETH",
  "startTime": "2024-01-01T00:00:00Z",
  "endTime": "2024-01-31T23:59:59Z",
  "interval": "1d"
}
'`}
/>
### 응답 예시:
<CodeSnippet
  language="json"
  code={`{
  "symbol": "ETH",
  "currency": "usd",
  "data": [
    {
      "value": "2279.941008569",
      "timestamp": "2024-01-01T00:00:00Z"
    },
    {
      "value": "2350.0262860085",
      "timestamp": "2024-01-02T00:00:00Z"
    },
    {
      "value": "2360.7821195891",
      "timestamp": "2024-01-03T00:00:00Z"
    },
    ...
  ]
}`}
/>
## Alchemy로 마이그레이션 시작하기
서비스 마이그레이션이 복잡할 수 있다는 점을 잘 알고 있지만, 저희는 전담 지원, 기능 동등성, 확장된 기능을 통해 **쉽게 마이그레이션할 수 있도록** 돕겠습니다.

**👋 필요한 기능이 있다면 알려주세요!** [이 이메일](mailto: data-services-product@alchemy.com)로 연락하거나 텔레그램 @mihiralchemy로 DM을 보내주세요.

## 자주 묻는 질문

### SimpleHash에서 마이그레이션이 필요한 이유는 무엇인가요?

SimpleHash는 2025년 3월 27일에 서비스를 종료하므로, 사용자는 fungible token data를 다른 제공업체로 마이그레이션해야 합니다.

### 어떤 fungible token 기능을 제공하나요?

ERC-20 및 기타 토큰의 실시간 잔액, 토큰 메타데이터 (name, symbol, decimals, contract address), 그리고 모든 주요 블록체인에 대한 멀티체인 지원을 제공합니다.

### 토큰 잔액은 어떻게 조회하나요?

`https://eth-mainnet.g.alchemy.com/v2/{apiKey}`로 `alchemy_getTokenBalances` 메서드를 사용하여 POST 요청을 보내고, params에 wallet 주소를 전달하면 됩니다.

### 토큰 메타데이터는 어떻게 얻나요?

contract 주소와 함께 `alchemy_getTokenMetadata`으로 POST JSON-RPC 호출을 보내면 decimals, name, symbol, logo 정보가 반환됩니다.

### SimpleHash처럼 토큰 가격도 지원하나요?

네, 저희 Prices API는 토큰 symbol을 파라미터로 하여 `https://api.g.alchemy.com/prices/v1/{api-key}/tokens/by-symbol`에 GET 요청을 보내면 실시간 토큰 가격을 제공합니다.

### SimpleHash와 저희 가격 데이터 소스의 차이는 무엇인가요?

저희는 다양한 신뢰할 수 있는 소스로부터 데이터를 집계하여 종합적인 시각을 제공하는 반면, SimpleHash는 DEX 기반 가격에 초점을 맞추었습니다.

### 과거 토큰 가격에 접근할 수 있나요?

네, symbol, start/end 시간, interval 파라미터와 함께 `/tokens/historical`로 POST 요청을 보내면 과거 가격 데이터를 지원하며, 이는 SimpleHash에서는 제공되지 않는 기능입니다.

### 마이그레이션 관련 도움은 어디서 받을 수 있나요?

궁금한 점이나 기능 요청이 있으면 data-services-product@alchemy.com으로 문의하거나, 마이그레이션 지원을 위해 텔레그램 @mihiralchemy로 연락해 주세요.
