當前位置: 首頁>>編程示例 >>用法及示例精選 >>正文


Bitcoin removeprunedfunds用法及代碼示例

比特幣(Bitcoin) RPC Wallet API中removeprunedfunds的用法及代碼示例。

用法:

removeprunedfunds "txid"

從錢包中刪除指定的交易。旨在與修剪後的錢包配合使用,並作為導入修剪後的資金的伴侶。這將影響錢包餘額。

參數1 - txid

類型:字符串,必填

您要刪除的交易的hex-encoded ID

示例

bitcoin-cli removeprunedfunds "a8d0c0184dde994a09ec054286f1ce581bebf46446a512166eae7628734ea0a5"

作為JSON-RPC調用:

curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "removeprunedfunds", "params": ["a8d0c0184dde994a09ec054286f1ce581bebf46446a512166eae7628734ea0a5"] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/

相關用法


注:本文由純淨天空篩選整理自bitcoin.org大神的英文原創作品 Bitcoin removeprunedfunds。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。