Language

Choose a language

/build/rpc / contracts / settlement

settlement_profile.remove

settlement_profile.remove "profile_id" Remove a settlement profile. Arguments: 1. profile_id (string, required) Profile identifier to remove Result: true|false (boolean) true if removed Examples: > bitcoin-cli settlement_profile.remove "btc-cold"

Signature

settlement_profile.remove(profile_id: string) → any

Code samples

curl --user "$RPC_USER:$RPC_PASS" \
  --data-binary '{"jsonrpc":"1.0","id":"docs","method":"settlement_profile.remove","params":["\"<profile_id>\""]}' \
  -H 'content-type: text/plain;' \
  http://127.0.0.1:8332/

Parameters

NameTypeReq.Description
profile_idstringyesProfile identifier to remove

Result

Type:  any

true|false (boolean) true if removed

Source: services/core-node/bcore/src/wallet/rpc/contracts.cpp:18505

C++ symbol: settlement_profile_remove