Blockchain

Rescan the blockchain

Initiates a rescan of the blockchain for the specified cryptocurrency to update the state of tracked addresses and transactions.

post/v1/cryptos/{cryptoCode}/rescan

Path parameters

cryptoCodestring required

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

Request body

startHeightinteger

The block height from which to start the rescan.

Example request

{
  "startHeight": 0
}

Response

Rescan initiated successfully.

statusstring

Example response

{
  "status": "Rescan started."
}

Changes