Skip to main content

purgesnapshot

RPC help captured from Yerbas Core 4.0.1.4 (f0e2dde).

Use ./yerbas-cli help purgesnapshot on your node for help. In the GUI console omit yerbas-cli. HTTP examples use mainnet RPC port 15419; network-specific defaults and availability can differ.

purgesnapshot "asset_name" block_height

THIS COMMAND IS NOT YET ACTIVE!
https://github.com/The-Yerbas-Endeavor/yerbas

V4 mainnet wallet policy: asset creation, sending, reissuance, ownership transfers, and asset reward payouts
are locked below tip height 1195400. Receiving/viewing assets and ordinary YERB payments remain available.
Testnet/regtest are unaffected. This is wallet policy, not a consensus restriction on raw transactions.

Removes details for the asset snapshot, at the specified height

Arguments:
1. "asset_name" (string, required) the name of the asset
2. block_height (int, required) the block height of the snapshot

Result:
{
name: (string),
height: (number),
}

Examples:
> yerbas-cli purgesnapshot "ASSET_NAME" 28546
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "purgesnapshot", "params": ["ASSET_NAME" 28546] }' -H 'content-type: text/plain;' http://127.0.0.1:15419/