ghost.secret field for future protected operations.command: Set to keys.secret.enable.ghost (object, required):secret (string, required): The static secret value to enable for authentication.totp (integer, required if TOTP is already enabled for the address): The current valid TOTP (Time-based One-Time Password) code. Required if the address is configured with two-factor authentication.ghost.totp field.ghost.secret for all future protected operations.secret and totp, depending on the current configuration.curl --location --request POST 'https://sandbox.norsh.org//v1/ucp' \
--header 'Content-Type: application/vnd.ucp+json' \
--data-raw '[
{
"command": "address.secret.enable",
"version": 1,
"parameters": {},
"publicKey": "MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEoVOBV/Ji7NfdOA8RAqpvqLQ7qnzuUHESOL/6Oosdg4/un0+YU+7QVX5L3sjXbbxYLQeYa4XPI7n5pKKOxNn2Qu7rsvY+CkHXW+lxzGKen9JA4EfnlWteM5KI3JYvH/Pj",
"signature": "MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEoVOBV/Ji7NfdOA8RAqpvqLQ7qnzuUHESOL/6Oosdg4/un0+YU+7QVX5L3sjXbbxYLQeYa4XPI7n5pKKOxNn2Qu7rsvY+CkHXW+lxzGKen9JA4EfnlWteM5KI3JYvH/Pj",
"ghost": {
"secret": "norsh@2025"
}
}
]'[
{
"command": "keys.secret.enabled",
"version": 1,
"status": 200,
"timestamp": "2025-09-22T03:15:52.48Z",
"success": true,
"result": "Secret has been enabled for this address.",
"info": {
"ledger": "bigledger",
"statement": "69017c0f7fc2f1cacffed2ffc6ee937bba47d339c38390dc6c1380a85adc0244d83c197a7d603d513660c7f08618cb4b",
"envelope": "78334f0b0e1c8696e74f30833ae9b024494d84996121ce1745126c7e468079db5fdb46327837ebaba1524a7e67f9d623",
"duration": 77
}
}
]