/build/rpc / assets / zk_compliance
dumpassetdek
experimental
dumpassetdek "asset_id_or_ticker" Return the base64-encoded Data Encryption Key (DEK) for an asset. Available only on regtest for testing purposes. Arguments: 1. asset_id_or_ticker (string, required) Asset identifier (hex) or ticker Result: "str" (string) Base64-encoded 32-byte DEK Examples: > bitcoin-cli dumpassetdek "ASSET123"
Signature
dumpassetdek(asset_id_or_ticker: string) → any Code samples
curl --user "$RPC_USER:$RPC_PASS" \
--data-binary '{"jsonrpc":"1.0","id":"docs","method":"dumpassetdek","params":["\"<asset_id_or_ticker>\""]}' \
-H 'content-type: text/plain;' \
http://127.0.0.1:8332/ Parameters
| Name | Type | Req. | Description |
|---|---|---|---|
| asset_id_or_ticker | string | yes | Asset identifier (hex) or ticker |
Result
Type: any
"str" (string) Base64-encoded 32-byte DEK
Source: services/core-node/bcore/src/wallet/rpc/assets.cpp:5492
C++ symbol: dumpassetdek