v1

latestOpenAPI 3.0.02026-07-174823135.4 KB
Derivations

Manual pruning

Manually prune transactions from a derivation scheme. This can be used to remove old transactions whose UTXOs have been spent.

post/v1/cryptos/{cryptoCode}/derivations/{derivationScheme}/prune

Path parameters

cryptoCodestring required

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

derivationSchemestring required

The derivation scheme (See documentation)

Request body

daysToKeepnumber double

The number of days of history to keep

Example request

{
  "daysToKeep": 1
}

Response

Successfully pruned transactions

totalPrunedinteger

The number of transactions pruned from the derivation scheme