← Back to directory

Decode a Bitcoin script from hex (scriptPubKey, redeem or witness script): type,...

https://diamond.btc-intel.workers.dev/api/x402/script_decode

Overview

Decode a Bitcoin script from hex (scriptPubKey, redeem or witness script): type, asm, descriptor, address, and the P2SH and P2WSH addresses that wrap it (Bitcoin Core decodescript).

Protocol x402
Price $0.0020
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider Bitcoin Script Decoder
Source bazaar
Indexed 2026-11-08 05:08:00

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "script": "0014751e76e8199196d454941c45d1b3a323f1433bd6" }, "type": "http" }

Output Schema

{ "example": { "address": "bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4", "as_of": "2026-11-07T18:00:00Z", "asm": "0 751e76e8199196d454941c45d1b3a323f1433bd6", "product": "script_decode", "type": "witness_v0_keyhash", "type_short": "p2wpkh" }, "type": "json" }