---
title: "신뢰할 수 있는 Bitcoin RPC 엔드포인트를 고르는 방법"
description: "Bitcoin RPC 엔드포인트 선택을 위한 10가지 체크리스트, 출처를 밝힌 7개 공급자 비교, 그리고 계약 전에 정확성과 최신성을 테스트하는 스크립트를 소개합니다."
datePublished: "2026-11-20"
dateModified: "2026-11-20"
---

# 신뢰할 수 있는 Bitcoin RPC 엔드포인트를 고르는 방법

<ImageBlock
  src="https://media.alchemy.com/bitcoin-rpc-endpoint-overview-2026-11-20.webp"
  alt="신뢰할 수 있는 Bitcoin RPC 엔드포인트 선택 방법 타이틀 카드"
  width={2000}
  height={1125}
  priority
/>

앱이 반영하는 모든 입금, 브로드캐스트하는 모든 출금, 표시하는 모든 잔액은 먼저 Bitcoin RPC 엔드포인트를 거칩니다. 이 엔드포인트가 체인보다 뒤처지거나 요청을 놓치면, 사용자에게는 입금이 사라지거나 지급이 멈춘 것처럼 보입니다.

Bitcoin RPC 엔드포인트는 "최신 블록이 무엇인가?"나 "이 트랜잭션을 브로드캐스트하라" 같은 JSON-RPC 요청을 받아 Bitcoin 노드에 전달하는 URL입니다. 신뢰할 수 있는 엔드포인트는 체인과 일치하는 데이터를 반환하고, 부하가 걸려도 계속 동작하며, 앱이 호출하는 메서드를 지원하고, 요청이 실패한 이유를 알려 줍니다.

신뢰할 수 있는 엔드포인트는 언제나 체인과 일치합니다.

**한눈에 보기**

- [10가지 기준](#bitcoin-rpc-신뢰성-체크리스트)으로 공급자를 평가하세요. 정확한 데이터와 가동 시간이 최우선입니다.
- 계약 전에 테스트하세요. [아래 스크립트](#계약-전에-bitcoin-rpc-엔드포인트를-어떻게-테스트하나요)를 엔드포인트와 두 번째 소스에 대해 한 시간 동안 실행하세요.
- 각 공급자의 자체 페이지를 바탕으로 체인 지원, 인덱싱된 데이터, 스트리밍, SOC 2를 기준으로 공급자를 비교하세요.
- Alchemy는 Bitcoin, Litecoin, Dogecoin, Bitcoin Cash를 100개 이상의 다른 체인과 같은 API 키와 대시보드에서 제공하며, 무료 플랜에 Bitcoin JSON-RPC가 포함됩니다.

## Bitcoin RPC 신뢰성 체크리스트

10가지 기준은 Bitcoin 엔드포인트가 프로덕션에서 실패하는 방식을 다루며, 각각 직접 테스트할 수 있습니다. 정확한 데이터와 가동 시간이 최우선입니다. 빠르더라도 오래된 블록을 반환하는 엔드포인트는 입금 반영이 늦어집니다.

<EmbeddedTable
  table={{
    columns: [
      { key: "c0", title: "#", dataType: "object" },
      { key: "c1", title: "기준", dataType: "object" },
      { key: "c2", title: "좋은 상태", dataType: "object" },
      { key: "c3", title: "테스트 방법", dataType: "object" },
      { key: "c4", title: "특히 중요한 경우", dataType: "object" },
    ],
    data: [
      {
        c0: { title: "<p>1</p>", tooltip: "", icon: "" },
        c1: { title: "<p>정확한 체인 데이터</p>", tooltip: "", icon: "" },
        c2: { title: "<p>리오그(체인이 최신 블록을 교체하는 것) 이후에도 네트워크와 같은 블록과 해시</p>", tooltip: "", icon: "" },
        c3: { title: "<p>팁에서 6블록 아래에서 <code>getblockhash</code>를 두 번째 소스와 비교</p>", tooltip: "", icon: "" },
        c4: { title: "<p>커스터디, 결제, 정산</p>", tooltip: "", icon: "" },
        id: 0,
      },
      {
        c0: { title: "<p>2</p>", tooltip: "", icon: "" },
        c1: { title: "<p>가용성</p>", tooltip: "", icon: "" },
        c2: { title: "<p>뒤에 있는 노드가 실패해도 계속 응답</p>", tooltip: "", icon: "" },
        c3: { title: "<p>한 시간 동안 실패, 타임아웃, 뒤처진 블록 수를 센다. 상태 페이지 이력을 확인한다</p>", tooltip: "", icon: "" },
        c4: { title: "<p>거래소</p>", tooltip: "", icon: "" },
        id: 1,
      },
      {
        c0: { title: "<p>3</p>", tooltip: "", icon: "" },
        c1: { title: "<p>메서드 및 노드 지원</p>", tooltip: "", icon: "" },
        c2: { title: "<p>호출하는 모든 메서드를, 전체 트랜잭션 인덱스(<code>txindex</code>)가 있는 비프루닝 노드에서 지원</p>", tooltip: "", icon: "" },
        c3: { title: "<p>각 메서드를 호출한다. 오래된 트랜잭션을 ID만으로 가져온다</p>", tooltip: "", icon: "" },
        c4: { title: "<p>커스터디, 정산, 분석</p>", tooltip: "", icon: "" },
        id: 2,
      },
      {
        c0: { title: "<p>4</p>", tooltip: "", icon: "" },
        c1: { title: "<p>속도 제한</p>", tooltip: "", icon: "" },
        c2: { title: "<p>피크 트래픽에서도 HTTP 429(요청 과다) 오류 없이 처리</p>", tooltip: "", icon: "" },
        c3: { title: "<p>피크 트래픽을 보내고 429를 따로 센다</p>", tooltip: "", icon: "" },
        c4: { title: "<p>거래소, 분석</p>", tooltip: "", icon: "" },
        id: 3,
      },
      {
        c0: { title: "<p>5</p>", tooltip: "", icon: "" },
        c1: { title: "<p>내 리전에서의 지연 시간</p>", tooltip: "", icon: "" },
        c2: { title: "<p>내 서버에서 충분히 빠름</p>", tooltip: "", icon: "" },
        c3: { title: "<p>성공한 호출만 측정한다. 타임아웃은 실패로 센다</p>", tooltip: "", icon: "" },
        c4: { title: "<p>트레이딩</p>", tooltip: "", icon: "" },
        id: 4,
      },
      {
        c0: { title: "<p>6</p>", tooltip: "", icon: "" },
        c1: { title: "<p>브로드캐스트 신뢰성</p>", tooltip: "", icon: "" },
        c2: { title: "<p>트랜잭션이 다른 노드의 멤풀(미확인 트랜잭션 대기열)에 도달</p>", tooltip: "", icon: "" },
        c3: { title: "<p>메인넷에서 <code>testmempoolaccept</code>를 실행한 뒤, testnet4에서 소액을 전송한다</p>", tooltip: "", icon: "" },
        c4: { title: "<p>결제</p>", tooltip: "", icon: "" },
        id: 5,
      },
      {
        c0: { title: "<p>7</p>", tooltip: "", icon: "" },
        c1: { title: "<p>디버깅 용이성</p>", tooltip: "", icon: "" },
        c2: { title: "<p>명확한 오류, 요청 로그, 상태 페이지에 Bitcoin 표시</p>", tooltip: "", icon: "" },
        c3: { title: "<p>잘못된 요청을 보내고 오류를 읽는다</p>", tooltip: "", icon: "" },
        c4: { title: "<p>모든 팀</p>", tooltip: "", icon: "" },
        id: 6,
      },
      {
        c0: { title: "<p>8</p>", tooltip: "", icon: "" },
        c1: { title: "<p>보안</p>", tooltip: "", icon: "" },
        c2: { title: "<p>SOC 2 Type II 보고서</p>", tooltip: "", icon: "" },
        c3: { title: "<p>보고서를 요청하고 트러스트 페이지를 확인한다</p>", tooltip: "", icon: "" },
        c4: { title: "<p>규제 대상 팀</p>", tooltip: "", icon: "" },
        id: 7,
      },
      {
        c0: { title: "<p>9</p>", tooltip: "", icon: "" },
        c1: { title: "<p>지원</p>", tooltip: "", icon: "" },
        c2: { title: "<p>빠르게 답하는 실제 담당자</p>", tooltip: "", icon: "" },
        c3: { title: "<p>구매 전에 기술 질문을 보낸다. 서명된 SLA에 대해 문의한다</p>", tooltip: "", icon: "" },
        c4: { title: "<p>모든 팀</p>", tooltip: "", icon: "" },
        id: 8,
      },
      {
        c0: { title: "<p>10</p>", tooltip: "", icon: "" },
        c1: { title: "<p>이전 비용</p>", tooltip: "", icon: "" },
        c2: { title: "<p>표준 메서드를 사용하고, 인덱싱된 호출에는 대체 수단이 있음</p>", tooltip: "", icon: "" },
        c3: { title: "<p>비표준 호출을 정리하고 새 공급자에서 확인한다</p>", tooltip: "", icon: "" },
        c4: { title: "<p>모든 팀</p>", tooltip: "", icon: "" },
        id: 9,
      },
    ],
  }}
/>

## Bitcoin RPC 공급자는 어떻게 비교되나요?

이 표는 각 공급자의 자체 페이지를 바탕으로 체인 지원, 인덱싱된 데이터, 스트리밍, 컴플라이언스를 기준으로 공급자를 비교합니다. 성능 순위는 매기지 않습니다. "명시되지 않음"은 공급자의 페이지에서 해당 항목을 확인할 수 없었다는 뜻입니다.

<EmbeddedTable
  table={{
    columns: [
      { key: "c0", title: "공급자", dataType: "object" },
      { key: "c1", title: "UTXO 체인", dataType: "object" },
      { key: "c2", title: "Bitcoin 노드 및 데이터", dataType: "object" },
      { key: "c3", title: "스트리밍", dataType: "object" },
      { key: "c4", title: "Bitcoin 포함 무료 티어", dataType: "object" },
      { key: "c5", title: "Bitcoin 전용 옵션", dataType: "object" },
      { key: "c6", title: "SOC 2", dataType: "object" },
      { key: "c7", title: "상태 페이지에 Bitcoin 표시", dataType: "object" },
    ],
    data: [
      {
        c0: { title: "<p>Alchemy</p>", tooltip: "", icon: "" },
        c1: { title: "<p>BTC, BCH, LTC, DOGE</p>", tooltip: "", icon: "" },
        c2: { title: "<p>txindex가 있는 비프루닝 풀 노드, 인덱싱된 UTXO API</p>", tooltip: "", icon: "" },
        c3: { title: "<p>WebSocket</p>", tooltip: "", icon: "" },
        c4: { title: "<p>예(JSON-RPC)</p>", tooltip: "", icon: "" },
        c5: { title: "<p>예</p>", tooltip: "", icon: "" },
        c6: { title: "<p>Type II</p>", tooltip: "", icon: "" },
        c7: { title: "<p>예</p>", tooltip: "", icon: "" },
        id: 0,
      },
      {
        c0: { title: "<p>Blockdaemon</p>", tooltip: "", icon: "" },
        c1: { title: "<p>BTC, BCH, LTC, DOGE</p>", tooltip: "", icon: "" },
        c2: { title: "<p>커스텀 RPC 메서드와 REST를 통한 UTXO 데이터</p>", tooltip: "", icon: "" },
        c3: { title: "<p>이벤트 스트리밍</p>", tooltip: "", icon: "" },
        c4: { title: "<p>명시되지 않음</p>", tooltip: "", icon: "" },
        c5: { title: "<p>예</p>", tooltip: "", icon: "" },
        c6: { title: "<p>Type II</p>", tooltip: "", icon: "" },
        c7: { title: "<p>예</p>", tooltip: "", icon: "" },
        id: 1,
      },
      {
        c0: { title: "<p>Blockstream</p>", tooltip: "", icon: "" },
        c1: { title: "<p>BTC, Liquid</p>", tooltip: "", icon: "" },
        c2: { title: "<p>인덱싱된 Esplora REST 및 Electrum, Bitcoin Core JSON-RPC는 명시되지 않음</p>", tooltip: "", icon: "" },
        c3: { title: "<p>명시되지 않음</p>", tooltip: "", icon: "" },
        c4: { title: "<p>예</p>", tooltip: "", icon: "" },
        c5: { title: "<p>예</p>", tooltip: "", icon: "" },
        c6: { title: "<p>명시되지 않음</p>", tooltip: "", icon: "" },
        c7: { title: "<p>예</p>", tooltip: "", icon: "" },
        id: 2,
      },
      {
        c0: { title: "<p>Chainstack</p>", tooltip: "", icon: "" },
        c1: { title: "<p>BTC, 전용 노드에서 LTC와 DOGE</p>", tooltip: "", icon: "" },
        c2: { title: "<p>txindex가 있는 비프루닝 노드</p>", tooltip: "", icon: "" },
        c3: { title: "<p>명시되지 않음</p>", tooltip: "", icon: "" },
        c4: { title: "<p>예</p>", tooltip: "", icon: "" },
        c5: { title: "<p>예</p>", tooltip: "", icon: "" },
        c6: { title: "<p>Type II</p>", tooltip: "", icon: "" },
        c7: { title: "<p>예</p>", tooltip: "", icon: "" },
        id: 3,
      },
      {
        c0: { title: "<p>GetBlock</p>", tooltip: "", icon: "" },
        c1: { title: "<p>BTC, BCH, LTC, DOGE</p>", tooltip: "", icon: "" },
        c2: { title: "<p>풀 노드, 인덱싱된 Blockbook API</p>", tooltip: "", icon: "" },
        c3: { title: "<p>Blockbook을 통한 WebSocket(유료 플랜)</p>", tooltip: "", icon: "" },
        c4: { title: "<p>예</p>", tooltip: "", icon: "" },
        c5: { title: "<p>예</p>", tooltip: "", icon: "" },
        c6: { title: "<p>Type II</p>", tooltip: "", icon: "" },
        c7: { title: "<p>명시되지 않음</p>", tooltip: "", icon: "" },
        id: 4,
      },
      {
        c0: { title: "<p>NOWNodes</p>", tooltip: "", icon: "" },
        c1: { title: "<p>BTC, BCH, LTC, DOGE</p>", tooltip: "", icon: "" },
        c2: { title: "<p>풀 노드, 인덱싱된 Blockbook API</p>", tooltip: "", icon: "" },
        c3: { title: "<p>유료 플랜에서 WebSocket</p>", tooltip: "", icon: "" },
        c4: { title: "<p>예(체험판)</p>", tooltip: "", icon: "" },
        c5: { title: "<p>예</p>", tooltip: "", icon: "" },
        c6: { title: "<p>명시되지 않음</p>", tooltip: "", icon: "" },
        c7: { title: "<p>명시되지 않음</p>", tooltip: "", icon: "" },
        id: 5,
      },
      {
        c0: { title: "<p>QuickNode</p>", tooltip: "", icon: "" },
        c1: { title: "<p>BTC, BCH(LTC와 DOGE는 유료 애드온)</p>", tooltip: "", icon: "" },
        c2: { title: "<p>프루닝 비활성화, Blockbook 애드온</p>", tooltip: "", icon: "" },
        c3: { title: "<p>Streams(블록 데이터만)</p>", tooltip: "", icon: "" },
        c4: { title: "<p>예(체험판)</p>", tooltip: "", icon: "" },
        c5: { title: "<p>예(Enterprise)</p>", tooltip: "", icon: "" },
        c6: { title: "<p>Type II</p>", tooltip: "", icon: "" },
        c7: { title: "<p>예</p>", tooltip: "", icon: "" },
        id: 6,
      },
    ],
  }}
/>

출처: 각 공급자의 자체 문서, 가격, 보안, 상태 페이지(2026년 11월 19일 확인). [Alchemy](https://www.alchemy.com/docs/bitcoin/bitcoin-api-overview), [Blockdaemon](https://docs.blockdaemon.com/reference/rpc-api-overview), [Blockstream](https://help.blockstream.com/blockstream-explorer-api), [Chainstack](https://chainstack.com/build-better-with-bitcoin/), [GetBlock](https://getblock.io/nodes/btc/), [NOWNodes](https://nownodes.io/nodes/bitcoin-btc), [QuickNode](https://www.quicknode.com/docs/bitcoin)부터 확인해 보세요.

잔액과 주소 이력이 필요하다면 노드 및 데이터 열부터 확인하세요. Bitcoin Core는 주소 인덱스를 유지하지 않기 때문입니다. 실시간 업데이트가 필요하다면 스트리밍을 확인하세요. 규제 산업이라면 SOC 2부터 확인하세요.

## 계약 전에 Bitcoin RPC 엔드포인트를 어떻게 테스트하나요?

아래 스크립트를 엔드포인트와 두 번째 소스에 대해 한 시간 동안 실행한 뒤 비교하세요. 두 번째 소스는 서버실에 두는 두 번째 시계와 같습니다. 시계가 하나뿐이면 틀렸는지 알 수 없지만, 두 시계가 서로 다르면 확인해야 한다는 것을 알 수 있습니다.

두 번째 소스로는 자체 Bitcoin Core 노드나 다른 공급자를 쓸 수 있습니다. 스크립트는 한 시간(새 블록 약 6개) 동안 실패를 유형별로 세고, 성공한 호출의 시간을 측정하고, 엔드포인트가 얼마나 뒤처지는지 추적하며, 팁에서 6블록 아래의 블록 해시가 두 소스에서 일치하는지 확인합니다. 초당 약 1회 요청이므로 부하 테스트는 아닙니다. 피크 처리량은 따로 테스트하세요.

<CodeSnippet
  language="javascript"
  code={"// test-endpoint.mjs: check a Bitcoin RPC endpoint against a second source. Node 18+, no dependencies.\n// PRIMARY_URL=https://bitcoin-mainnet.g.alchemy.com/v2/YOUR_KEY REFERENCE_URL=http://user:pass@127.0.0.1:8332 node test-endpoint.mjs\nconst env = process.env;\nconst DURATION_S = Number(env.DURATION_S ?? 3600); // an hour sees ~6 new blocks\nconst INTERVAL_MS = Number(env.INTERVAL_MS ?? 2000);\nconst TIMEOUT_MS = Number(env.TIMEOUT_MS ?? 5000); // slower than this counts as a timeout\nconst DEPTH = 6; // compare hashes 6 blocks below the tip, past normal reorgs\n// A 200 response only counts if the result has the right shape.\nconst VALID = { getblockcount: Number.isInteger, getblockhash: (h) => /^[0-9a-f]{64}$/.test(h) };\nif (!env.PRIMARY_URL || !env.REFERENCE_URL) throw new Error(\"Set PRIMARY_URL and REFERENCE_URL.\");\n\n// fetch() rejects user:pass in URLs, so move credentials into a header.\nfunction target(raw) {\n  const url = new URL(raw);\n  const headers = { \"content-type\": \"application/json\" };\n  if (url.username) {\n    const creds = `${decodeURIComponent(url.username)}:${decodeURIComponent(url.password)}`;\n    headers.authorization = \"Basic \" + Buffer.from(creds).toString(\"base64\");\n    url.username = url.password = \"\";\n  }\n  return { url: url.toString(), headers };\n}\n\nasync function rpc({ url, headers }, method, params = []) {\n  const started = performance.now();\n  try {\n    const res = await fetch(url, { method: \"POST\", headers, signal: AbortSignal.timeout(TIMEOUT_MS),\n      body: JSON.stringify({ jsonrpc: \"2.0\", id: 1, method, params }) });\n    const text = await res.text();\n    const ms = performance.now() - started;\n    let body;\n    try { body = JSON.parse(text); } catch { return { kind: res.ok ? \"bad_response\" : `http_${res.status}` }; }\n    if (body?.error) return { kind: `rpc_${body.error.code}` }; // Bitcoin Core before v28 sends these as HTTP 500\n    if (!res.ok) return { kind: `http_${res.status}` };\n    if (!VALID[method](body?.result)) return { kind: \"bad_response\" };\n    return { ok: true, result: body.result, ms };\n  } catch (err) {\n    return { kind: err.name === \"TimeoutError\" || err.name === \"AbortError\" ? \"timeout\" : \"network\" };\n  }\n}\n\nconst P = target(env.PRIMARY_URL), R = target(env.REFERENCE_URL);\nconst latencies = [], errors = {}, referenceErrors = {}, checked = new Set(), mismatches = new Set();\nlet calls = 0, maxBehind = 0, behindSince = null, longestBehindMs = 0;\nconst tally = (bag, r) => r.ok || (bag[r.kind] = (bag[r.kind] ?? 0) + 1);\n\n// Call both endpoints at once. Returns [primary, reference] results, or null if either failed.\nasync function both(method, params) {\n  const [p, r] = await Promise.all([rpc(P, method, params), rpc(R, method, params)]);\n  calls++;\n  tally(errors, p);\n  tally(referenceErrors, r);\n  if (p.ok) latencies.push(p.ms);\n  return p.ok && r.ok ? [p.result, r.result] : null;\n}\n\nconsole.log(`Testing for ${DURATION_S}s...`);\nfor (const end = Date.now() + DURATION_S * 1000; Date.now() < end; await new Promise((r) => setTimeout(r, INTERVAL_MS))) {\n  const heights = await both(\"getblockcount\"); // does the primary keep up?\n  if (!heights) continue;\n  const behind = heights[1] - heights[0];\n  maxBehind = Math.max(maxBehind, behind);\n  behindSince = behind > 0 ? behindSince ?? Date.now() : null;\n  if (behindSince) longestBehindMs = Math.max(longestBehindMs, Date.now() - behindSince);\n  const height = Math.min(...heights) - DEPTH;\n  const hashes = await both(\"getblockhash\", [height]); // do both agree on a settled block?\n  if (!hashes) continue;\n  checked.add(height);\n  if (hashes[0] !== hashes[1]) mismatches.add(height);\n}\n\nconst sorted = latencies.sort((a, b) => a - b);\nconst pct = (q) => (sorted.length ? Math.round(sorted[Math.min(sorted.length - 1, Math.floor(q * sorted.length))]) : null);\nconst failed = Object.values(errors).reduce((a, b) => a + b, 0);\nconsole.log({\n  primaryCalls: calls,\n  failures: errors,\n  failureRate: `${((100 * failed) / Math.max(calls, 1)).toFixed(2)}%`,\n  latencyMsOnSuccess: { p50: pct(0.5), p95: pct(0.95), p99: pct(0.99) },\n  maxBlocksBehindReference: maxBehind,\n  longestSecondsBehind: Math.round(longestBehindMs / 1000),\n  blockHeightsChecked: checked.size,\n  hashMismatchesAtHeights: [...mismatches],\n  referenceFailures: referenceErrors, // if this is high, pick a better second source\n});\n"}
/>

자신의 엔드포인트 URL로 실행하세요.

<CodeSnippet
  language="bash"
  code={"PRIMARY_URL=https://bitcoin-mainnet.g.alchemy.com/v2/YOUR_KEY \\\nREFERENCE_URL=https://your-second-source.example \\\nDURATION_S=3600 node test-endpoint.mjs\n"}
/>

두 번째 소스가 자체 Bitcoin Core 노드라면 `http://user:pass@127.0.0.1:8332`처럼 RPC 사용자 이름과 비밀번호를 URL에 넣으세요. 스크립트가 이를 authorization 헤더로 옮깁니다.

출력을 읽는 방법은 다음과 같습니다.

<EmbeddedTable
  table={{
    columns: [
      { key: "c0", title: "필드", dataType: "object" },
      { key: "c1", title: "정상", dataType: "object" },
      { key: "c2", title: "그렇지 않다면", dataType: "object" },
    ],
    data: [
      {
        c0: { title: "<p><code>failureRate</code></p>", tooltip: "", icon: "" },
        c1: { title: "<p>0%에 가까움</p>", tooltip: "", icon: "" },
        c2: { title: "<p><code>http_429</code>: 플랜의 속도 제한에 도달했습니다. <code>rpc_</code>: 노드가 오류를 반환했습니다. <code>bad_response</code>: 게이트웨이 오류 페이지나 빈 결과처럼 유효하지 않은 응답입니다</p>", tooltip: "", icon: "" },
        id: 0,
      },
      {
        c0: { title: "<p><code>maxBlocksBehindReference</code></p>", tooltip: "", icon: "" },
        c1: { title: "<p>0 또는 1</p>", tooltip: "", icon: "" },
        c2: { title: "<p>한 블록 뒤처질 때마다 약 10분 분량의 트랜잭션이 빠집니다</p>", tooltip: "", icon: "" },
        id: 1,
      },
      {
        c0: { title: "<p><code>longestSecondsBehind</code></p>", tooltip: "", icon: "" },
        c1: { title: "<p>몇 초</p>", tooltip: "", icon: "" },
        c2: { title: "<p>몇 분씩 뒤처진다면 한 블록이라도 데이터가 오래된 것입니다</p>", tooltip: "", icon: "" },
        id: 2,
      },
      {
        c0: { title: "<p><code>blockHeightsChecked</code></p>", tooltip: "", icon: "" },
        c1: { title: "<p>2보다 큼</p>", tooltip: "", icon: "" },
        c2: { title: "<p>테스트를 더 오래 실행하세요</p>", tooltip: "", icon: "" },
        id: 3,
      },
      {
        c0: { title: "<p><code>hashMismatchesAtHeights</code></p>", tooltip: "", icon: "" },
        c1: { title: "<p>비어 있음</p>", tooltip: "", icon: "" },
        c2: { title: "<p>한 소스가 거의 확실히 잘못된 체인에 있습니다</p>", tooltip: "", icon: "" },
        id: 4,
      },
      {
        c0: { title: "<p><code>referenceFailures</code></p>", tooltip: "", icon: "" },
        c1: { title: "<p>낮음</p>", tooltip: "", icon: "" },
        c2: { title: "<p>두 번째 소스가 문제입니다. 다른 소스를 골라 다시 실행하세요</p>", tooltip: "", icon: "" },
        id: 5,
      },
    ],
  }}
/>

테스트는 하루 중 가장 바쁜 시간에, 서버가 실행되는 리전에서 하세요. 저희가 공개 [RPC 벤치마크](https://www.alchemy.com/benchmarks)에 적용하는 규칙이 그대로 적용됩니다. 모든 공급자에게 같은 요청을 같은 시간에 보내고, 지연 시간과 함께 실패도 보고하세요.

## Alchemy가 적합한 Bitcoin RPC 공급자인 경우는 언제인가요?

Alchemy는 [Ethereum](https://www.alchemy.com/overviews/best-ethereum-rpc-providers), [Solana](https://www.alchemy.com/overviews/solana-rpc) 및 100개 이상의 다른 체인에 이미 사용 중인 [RPC 플랫폼](https://www.alchemy.com/rpc-api)에서 Bitcoin, Litecoin, Dogecoin, Bitcoin Cash도 쓰고 싶을 때 적합합니다. API 키 하나, 대시보드 하나, 청구서 하나로 관리할 수 있습니다.

다음과 같은 경우 Alchemy를 선택하세요.

- **이미 Alchemy에서 EVM이나 Solana를 운영하고 있다.** Bitcoin은 앱에 네트워크가 하나 더 추가되는 것일 뿐, 새 벤더나 보안 검토가 필요 없습니다.
- **잔액, UTXO, 주소 이력이 필요하다.** 인덱싱된 UTXO API가 REST로 이를 제공하며, xpub(지갑의 모든 주소를 파생하는 확장 공개 키)와 output descriptor로도 조회할 수 있습니다.
- **실시간 업데이트가 필요하다.** Bitcoin WebSockets가 새 블록과 감시 중인 주소의 활동을 스트리밍합니다. Bitcoin과 Dogecoin의 주소 활동 웹훅은 베타입니다.
- **다른 UTXO API에서 마이그레이션한다.** [UTXO 마이그레이션 가이드](https://www.alchemy.com/docs/bitcoin/utxo-migration-guide)에서 QuickNode, BlockCypher, Blockdaemon 호출을 Alchemy에 대응시켜 두었습니다.
- **보안 검토에 SOC 2 Type II가 필요하다.** Alchemy는 인증을 받았으며, 자세한 내용은 [트러스트 센터](https://trust.alchemy.com)에서 확인할 수 있습니다.

지원되는 노드 메서드는 자체 Bitcoin Core 노드에서와 똑같이 동작합니다. 호출하는 메서드는 [메서드 목록](https://www.alchemy.com/docs/bitcoin/bitcoin-api-overview)에서 확인하세요. `getbalance`와 `listunspent` 같은 지갑 메서드는 Alchemy 엔드포인트에서 사용할 수 없으므로, 잔액에는 인덱싱된 UTXO API를 사용하세요.

## Litecoin, Dogecoin, Bitcoin Cash는 어떤가요?

세 체인 모두 Bitcoin의 코드베이스에서 파생되었기 때문에 UTXO 모델, 대부분의 JSON-RPC 메서드, 그리고 같은 체크리스트를 공유합니다.

<EmbeddedTable
  table={{
    columns: [
      { key: "c0", title: "체인", dataType: "object" },
      { key: "c1", title: "블록 시간", dataType: "object" },
      { key: "c2", title: "다른 점", dataType: "object" },
      { key: "c3", title: "지원 네트워크", dataType: "object" },
    ],
    data: [
      {
        c0: { title: "<p>Litecoin</p>", tooltip: "", icon: "" },
        c1: { title: "<p>약 2.5분</p>", tooltip: "", icon: "" },
        c2: { title: "<p>\"두 블록 뒤처짐\"이 Bitcoin보다 작은 차이</p>", tooltip: "", icon: "" },
        c3: { title: "<p>메인넷, 테스트넷</p>", tooltip: "", icon: "" },
        id: 0,
      },
      {
        c0: { title: "<p>Dogecoin</p>", tooltip: "", icon: "" },
        c1: { title: "<p>약 1분</p>", tooltip: "", icon: "" },
        c2: { title: "<p>블록이 Bitcoin보다 약 10배 자주 생성됨</p>", tooltip: "", icon: "" },
        c3: { title: "<p>메인넷</p>", tooltip: "", icon: "" },
        id: 1,
      },
      {
        c0: { title: "<p>Bitcoin Cash</p>", tooltip: "", icon: "" },
        c1: { title: "<p>약 10분</p>", tooltip: "", icon: "" },
        c2: { title: "<p><code>estimatesmartfee</code> 대신 <code>estimatefee</code> 사용</p>", tooltip: "", icon: "" },
        c3: { title: "<p>메인넷, 테스트넷</p>", tooltip: "", icon: "" },
        id: 2,
      },
    ],
  }}
/>

[UTXO 체인 가이드](https://www.alchemy.com/blog/how-to-build-on-utxo-chains)에서 이 네 체인이 Ethereum 같은 계정 기반 체인과 어떻게 다른지 설명합니다.

## Alchemy에서 Bitcoin RPC 엔드포인트를 얻으려면 어떻게 하나요?

앱을 만들고, Bitcoin을 활성화한 뒤, 요청을 보내세요.

1. [Alchemy 대시보드](https://dashboard.alchemy.com/)에 로그인하고 앱을 만듭니다.
2. Bitcoin Mainnet을 활성화합니다.
3. 엔드포인트 URL을 복사합니다. `https://bitcoin-mainnet.g.alchemy.com/v2/YOUR_KEY` 형태입니다.
4. 요청을 보냅니다.

<CodeSnippet
  language="bash"
  code={"curl -X POST https://bitcoin-mainnet.g.alchemy.com/v2/YOUR_KEY \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"getblockcount\",\"params\":[]}'\n"}
/>

응답은 현재 블록 높이입니다. 지원되는 모든 메서드는 [Bitcoin API 레퍼런스](https://www.alchemy.com/docs/bitcoin/bitcoin-api-overview)에서 확인할 수 있습니다.

[인덱싱된 UTXO API](https://www.alchemy.com/docs/chains/bitcoin/utxo-api-endpoints/utxo-api-endpoints/get-utxo)(잔액, UTXO, 주소 및 xpub 이력)는 유료 애드온입니다. 종량제 플랜에서는 대시보드에서 체인별로 구매할 수 있고, [Enterprise 플랜](https://www.alchemy.com/enterprise)에는 서명된 SLA와 함께 포함됩니다. 팀 전용으로 예약된 용량이 필요하다면 [Dedicated Clusters](https://www.alchemy.com/dedicated-clusters)를 확인하거나 [저희 팀에 문의하세요](https://www.alchemy.com/contact-sales).

<CalloutBlock>

직접 확인해 보시겠어요? [무료 Bitcoin 엔드포인트를 만들고](https://dashboard.alchemy.com/signup/?a=overviews%2Fbitcoin-rpc-endpoint) 테스트 스크립트를 실행해 보세요. 영업 미팅도 계약도 필요 없습니다. Enterprise 플랜이나 Dedicated Clusters에 대해서는 [저희 팀에 문의하세요](https://www.alchemy.com/contact-sales).

</CalloutBlock>

## 자주 묻는 질문

### 신뢰할 수 있는 Bitcoin RPC 엔드포인트는 어떻게 고르나요?

정확성, 가용성, 메서드 및 노드 지원, 속도 제한, 내 리전에서의 지연 시간, 브로드캐스트 신뢰성, 디버깅 용이성, 보안, 지원, 이전 비용의 10가지 기준으로 공급자를 비교하세요. 그런 다음 후보를 두 번째 소스에 대해 한 시간 동안 테스트하세요. 실패, 타임아웃, 뒤처진 블록 수, 블록 해시 불일치를 세고, 시간은 성공한 호출만 측정하세요.

### Bitcoin RPC 공급자란 무엇인가요?

Bitcoin RPC 공급자는 사용자를 대신해 Bitcoin 노드를 운영하고 JSON-RPC 요청용 엔드포인트 URL을 제공합니다. 동기화, 업그레이드, 디스크 증가는 공급자가 처리합니다. 많은 공급자가 Bitcoin Core 자체로는 제공하지 않는 잔액 및 주소 이력용 인덱싱된 API도 제공합니다.

### Bitcoin 노드를 직접 운영해야 하나요, 아니면 공급자를 사용해야 하나요?

로컬 개발이나 노드 설정을 완전히 제어해야 하는 경우에는 직접 노드를 운영하세요. 동기화, 업그레이드, 모니터링, 주소 인덱서를 직접 운영하고 싶지 않다면 프로덕션에서는 공급자를 사용하세요. 많은 팀이 둘 다 사용하며, 공급자를 테스트할 때 자체 노드를 두 번째 소스로 씁니다.

### 공급자는 어떤 Bitcoin RPC 메서드를 지원해야 하나요?

최소한 `getblockcount`, `getblockhash`, `getblock`, `getrawtransaction`, `sendrawtransaction`, `estimatesmartfee`, `getblockchaininfo`, 그리고 `getrawmempool` 같은 멤풀 메서드가 필요합니다. `getrawtransaction`이 오래된 트랜잭션을 ID만으로 찾을 수 있는지 확인하세요. 이를 위해서는 txindex가 필요합니다. 지갑과 커스터디 앱에는 인덱싱된 API를 통한 잔액, UTXO, xpub 조회도 필요합니다.

### Alchemy는 Bitcoin, Litecoin, Dogecoin, Bitcoin Cash를 지원하나요?

네. Alchemy는 Bitcoin, Litecoin, Dogecoin, Bitcoin Cash에서 JSON-RPC를 지원하며, 네 체인 모두에서 잔액, UTXO, 주소 이력을 위한 인덱싱된 UTXO API도 제공합니다. 인덱싱된 API는 종량제 플랜에서는 체인별 애드온이고 Enterprise에는 포함되어 있습니다. 네 체인 모두 100개 이상의 다른 체인과 하나의 대시보드와 API 키를 공유합니다.

### Alchemy는 Bitcoin 아카이브 노드를 제공하나요?

네, Bitcoin 팀이 보통 의미하는 뜻에서는 그렇습니다. Alchemy의 Bitcoin 엔드포인트는 전체 트랜잭션 인덱스(txindex)가 있는 비프루닝 풀 노드에서 실행되므로, 모든 블록과 모든 확인된 트랜잭션을 ID로 가져올 수 있습니다. 주소 잔액과 이력에는 인덱싱된 UTXO API를 사용하세요. Bitcoin Core는 주소 인덱스를 유지하지 않기 때문입니다.

### 체인 리오그 중에는 어떤 일이 일어나나요?

리오그는 네트워크가 최신 블록 하나 또는 여러 개를 경쟁 브랜치로 교체할 때 발생합니다. 교체된 블록의 트랜잭션은 채굴자 보상을 제외하고 멤풀로 돌아가며, 대부분은 나중에 다시 확인됩니다. 새 브랜치에서 충돌하는 트랜잭션이 확인되었다면 빠질 수도 있으므로, 입금을 반영하기 전에 충분한 확인 수를 기다리고 되돌릴 준비를 해 두세요.

### 무료 Bitcoin RPC 엔드포인트가 있나요?

네. Alchemy를 포함한 여러 공급자가 무료 플랜에서 Bitcoin JSON-RPC를 제공하며, 테스트용 무료 퍼블릭 엔드포인트도 있습니다. 무료 플랜은 속도 제한이 낮고 퍼블릭 엔드포인트는 가동 시간 약정이 없으므로 개발용으로 사용하세요. Alchemy에서는 무료 플랜에서 인덱싱된 UTXO API를 사용할 수 없습니다.
