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

Alkanes

Alkanes JSON-RPC. Conforms to standard Alkanes / Metashrew interface.

PreviousRPCNextBitcoin

Last updated 3 days ago

Reference code:

Key Detail
Value

Endpoint URL

https://rpc.rebarlabs.io/alkanes

Protocol

JSON‑RPC 2.0 over HTTPS

Auth

X-Api-Key: <API‑KEY> header (same key you use elsewhere on Rebar Labs)

Supported Methods

Encoded Method
Purpose (one‑liner)

getbytecode

Retrieve the raw bytecode for an Alkane contract.

protorunesbyaddress

List proto‑rune objects created or owned by a given address.

transactionbyid

Fetch a full Alkane transaction by txid.

spendablesbyaddress

Return all unspent, spendable outputs controlled by the address.

runesbyaddress

Enumerate finalized rune assets held by the address.

runesbyheight

Stream rune events finalized in a specific Bitcoin block height.

protorunesbyheight

Stream proto‑rune events detected at a given block height.

protorunesbyoutpoint

Inspect proto‑rune state anchored to a particular outpoint.

runesbyoutpoint

Inspect finalized rune state anchored to a particular outpoint.

trace

Execute an internal transaction trace for debugging or simulation.

https://github.com/kungfuflex/alkanes/blob/main/src.ts/rpc.ts