Using the excludefromcoinjoin
method - question regarding parameters.
#12479
-
Hey guys! I want to use the RPC method [JsonRpcMethod("excludefromcoinjoin")]
public void ExcludeCoinsFromCoinjoin(uint256 transactionId, int n, bool exclude = true) Questions:
Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
hi, excludedfromcoinjoin docs is here excludefromcoinjoinExcludes a specific UTXO from participating in coinjoin. curl -s --data-binary '{"jsonrpc":"2.0","id":"1","method":"excludefromcoinjoin","params":["7958defd85bb4f34dc66b3323eaa2f4fbdbece35f5e1b2d7b49b461ddc2066ec", "0", true]}' http://127.0.0.1:37128/WalletName | jq {
"jsonrpc": "2.0",
"id": "1"
} The first parameter is the transaction ID of the UTXO, the second parameter is the index, the third parameter is whether to exclude (true) or not exclude (false) the coin from coinjoin. Listunspentcoins method can be used to see the wallet's UTXO's and their excludedfromcoinjoin status. |
Beta Was this translation helpful? Give feedback.
hi,
excludedfromcoinjoin docs is here
WalletWasabi/WasabiDoc#1640
excludefromcoinjoin
Excludes a specific UTXO from participating in coinjoin.
The first parameter is the transaction ID of the UTXO, the second parameter is the index, the third parameter is whether to exclude (true) or not exclude (false) the coin from coinjoin.
The exclusion applies until it is reverted (set to false).
Listunspentcoins method can be used to see the wallet's UTXO's …