Docs • rebar labs
X / TwitterContact
  • Introduction
  • Mission
  • Rebar Shield
    • Introduction
      • Shield Overview
      • Quick Start Guide
    • Developer Guide
      • Fee Management
      • Mining Considerations
      • Security Best Practices
    • API
      • Authentication
      • API Reference
      • Rate Limits & Quotas
      • Error Codes
      • Change Log
    • FAQ
    • Glossary
    • Troubleshooting
  • Rebar Data
    • Introduction
    • Developer Guide
    • API
      • Runes
        • Etchings
        • Activity
        • Balances
      • Ordinals & BRC20s
        • Inscriptions
        • Satoshis
        • BRC 20
        • Statistics
    • RPC
      • Alkanes
      • Bitcoin
  • Resources
    • Contact
Powered by GitBook
LogoLogo

Legal

  • Terms of Service

Resources

  • Github
  • Media Kit

© 2025 Rebar Labs Inc

On this page
Export as PDF
  1. Rebar Data
  2. RPC

Bitcoin

Bitcoin Core JSON-RPC Interface

PreviousAlkanesNextContact

Last updated 3 days ago

See RPC documentation here for details on specific methods:

Key Detail
Value

Endpoint URL

https://rpc.rebarlabs.io/bitcoin

Protocol

JSON‑RPC 2.0 over HTTPS

Auth

X-Api-Key: <API‑KEY> header

Supported Methods

Method
Purpose (one‑liner)

getbestblockhash

Return the hash of the chain tip.

getblockcount

Current height of the best blockchain.

getblockhash

Block hash for a specified height.

getblockheader

Retrieve a block header in hex or JSON.

getdifficulty

Current network difficulty target.

getchaintips

List all known chain tips (main & forks).

getchaintxstats

Aggregate transaction statistics over recent blocks.

getmempoolinfo

Overview of mempool size, bytes, and usage limits.

getmempoolentry

Detailed stats for a specific mempool transaction.

gettxout

Info about an unspent output (txid, vout).

gettxoutsetinfo

Global statistics for the current UTXO set.

verifytxoutproof

Validate a Merkle proof produced by gettxoutproof.

gettxoutproof

Create a Merkle proof for one or more txids.

estimatesmartfee

Fee‐rate estimate needed for confirmation in N blocks.

getindexinfo

Status of optional indexes (txindex, addrindex, etc.).

getnetworkinfo

Version, peers, services, and relay fee details.

getblock

Full block data by hash or height (raw or decoded).

getblockstats

Per‑block statistics (fees, size, inputs/outputs, etc.).

getrawtransaction

Raw or decoded transaction by txid.

sendrawtransaction

Broadcast a raw transaction to the network.

testmempoolaccept

Check if a transaction would be accepted (dry‑run).

https://developer.bitcoin.org/reference/rpc/