Blockchain

Rescan a transaction

Changed on

NBXplorer does not rescan the whole blockchain when tracking a new derivation scheme. This means that if the derivation scheme already received UTXOs in the past, NBXplorer will not be aware of it and might reuse addresses already generated in the past, and will not show past transactions.

By using this route, you can ask NBXplorer to rescan specific transactions found in the blockchain. This way, the transactions and the UTXOs present before tracking the derivation scheme will appear correctly.

post/v1/cryptos/{cryptoCode}/rescan

Request

Path parameters

cryptoCodestring required

The cryptocurrency code to track (e.g., 'BTC' for Bitcoin, 'LTC' for Litecoin).

Request body

Response

Rescan initiated successfully.

Changes

    • breaking

      request body became required

    • breaking

      removed subschema #1: blockId + txId (Unpruned node) subschema #2: txId (With txindex) subschema #3: blockId+tx (On pruned node) from the / request property oneOf list

    • info

      api operation id RescanTransactions was added

    • info

      added subschema #1: blockId + txId (Unpruned node) subschema #2: txId (With txindex) subschema #3: blockId+tx (On pruned node) to the / request property anyOf list

    • breaking

      removed the media type application/json for the response with the status

    • warning

      removed the request property

    • info

      added the new optional request property