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

# Get scriptPubKey details

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

Retrieve detail about a specific scriptPubKey of a derivationScheme.

## 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)

## Other responses

- `404` — Cryptocurrency not supported

## Changes

- **2025-04-04** `7a5c59ac1e4d` — 1 info
  - added the optional property `blindingKey` to the response with the `200` status
- **2024-12-25** `eb48f5312f18` — 2 breaking, 2 info
  - the response property `keyPath` became nullable for the status `200`
  - the response property `trackedSource` became nullable for the status `200`
  - added the optional property `index` to the response with the `200` status
  - added the optional property `redeem` to the response with the `200` status
- **2024-11-25** `32a04b45196c` — 1 info
  - api tag `Derivations` added
- **2024-11-25** `72a2dfa26976` — 1 info
  - endpoint added
- **2024-11-18** `b5092f204599` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/btcpayserver/apis/nbxplorer-api/changes/v1/cryptos/:cryptoCode/derivations/:derivationScheme/scripts/:script/get.md)

---

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