/build/rpc / contracts / settlement
settlement_profile.list
settlement_profile.list List all settlement profiles. Result: [ (json array) { (json object) "profile_id" : "str", (string) Profile identifier "label" : "str", (string) Human-readable label "chain" : "str", (string) External chain "address" : "str", (string) Settlement address "signer_ref" : "str", (string) Signing reference "preferred_asset" : "str", (string) Preferred asset "fee_speed" : "str" (string) Fee speed }, ... ] Examples: > bitcoin-cli settlement_profile.list
Signature
settlement_profile.list() → any Code samples
curl --user "$RPC_USER:$RPC_PASS" \
--data-binary '{"jsonrpc":"1.0","id":"docs","method":"settlement_profile.list","params":[]}' \
-H 'content-type: text/plain;' \
http://127.0.0.1:8332/ Parameters
No parameters.
Result
Type: any
[ (json array) { (json object) "profile_id" : "str", (string) Profile identifier "label" : "str", (string) Human-readable label "chain" : "str", (string) External chain "address" : "str", (string) Settlement address "signer_ref" : "str", (string) Signing reference "preferred_asset" : "str", (string) Preferred asset "fee_speed" : "str" (string) Fee speed }, ... ]
Source: services/core-node/bcore/src/wallet/rpc/contracts.cpp:18527
C++ symbol: settlement_profile_list