---
title: "Get scriptPubKey details"
method: GET
path: "/v1/cryptos/{cryptoCode}/scripts/{script}"
tags: ["Blockchain"]
---

# Get scriptPubKey details

`GET /v1/cryptos/{cryptoCode}/scripts/{script}`

Retrieve details about a specific scriptPubKey. Since a single scriptPubKey can be associated with multiple tracked sources, the response includes an array listing all related sources.

## Path parameters

- `cryptoCode` string, required
- `derivationScheme` string, required
- `script` string, required

## Response `200`

ScriptPubKey information

- KeyInformation[]
  - `trackedSource` string, nullable — The tracked source identifier, typically representing the derivation scheme being used.
  - `feature` string — Specifies the type of address generated. Possible values are: - `Deposit`: A deposit address from the external chain (`0/x`). - `Change`: A change address from the internal chain (`1/x`). - `Direct`: An address from the direct chain (`x`). - `Custom`: An address using a custom key path template.
  - `derivationStrategy` string — The derivation strategy used to derive addresses, typically the extended public key (xpub) with optional suffixes indicating the script type.
  - `keyPath` string, nullable — The derivation path used to generate this address, e.g., `0/123`. (Only for standard derivation schemes)
  - `index` integer, nullable — The derivation path index of this address
  - `scriptPubKey` string — The scriptPubKey of the generated address in hexadecimal format.
  - `address` string — The generated address, in base58 or bech32 format, depending on the script type.
  - `redeem` string, nullable — The redeem script associated with the address (if applicable). Returns the SegWit redeem script if the derivation scheme is P2SH-P2WPKH or P2WPKH, or the P2SH redeem script if the script type is P2SH.
  - `blindingKey` string, nullable — The blinding private key (Liquid Only)

---

[API](https://skmtc.net/btcpayserver/apis/nbxplorer-api.md) · [All operations](https://skmtc.net/btcpayserver/apis/nbxplorer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/btcpayserver/nbxplorer-api/revisions/208cac39e31a/schema)
