Treasury Wallets

Export the private key for a treasury wallet

Returns the raw private key hex for the user's active wallet on the given chain. Requires re-authentication via the X-Auth-Confirm header (account password). Audit-logged as treasury_wallet.export. Human users only.

post/v1/treasury/wallets/{chain}/export

Request

  • Base URL: https://api.1claw.co
  • URL: https://api.1claw.co/v1/treasury/wallets/{chain}/export
  • Auth: HTTP bearer

Path parameters

chainstring required

Headers

X-Auth-Confirmstring password required

Account password for re-authentication

Response

Private key exported

chainstring
addressstring
private_key_hexstring

Raw private key in hex encoding. Handle with extreme care.

Changes

No recorded changes to this operation across all 2 revisions of this API.