Key Custody

Prepare a native transfer from a 2-of-3 Safe

Changed on

Runs the owner's send gates (wallet access, the sanctions screen on the destination, spend policies, Cedar/OPA transaction policy and treasury_send M-of-N consensus), then fixes a SafeTx: a native transfer (no calldata, operation 0, positive value, not to the Safe itself) at the Safe's current nonce (0 while undeployed). Returns its EIP-712 SafeTx hash (Safe v1.4.1 domain: chainId and verifyingContract; gas fields zero). The device recomputes the hash from the fields, confirms it pays exactly what was asked, signs it with D after a passkey touch bound to it, and calls execute. ERC-20 and contract calls are refused on this path.

post/v1/treasury/multisig-safes/{safe_id}/prepare

Request

  • Base URL: https://api.1claw.co
  • URL: https://api.1claw.co/v1/treasury/multisig-safes/{safe_id}/prepare
  • Auth: HTTP bearer

Request body

tostring required

0x EVM address.

value_weistring required

Amount in wei, as a decimal string.

approval_idstring uuid

An approved treasury_send M-of-N consensus approval for this exact send (the pending_approval_id of an earlier 202).

Response

The prepared SafeTx

idstring uuid required
chain_idinteger required
safe_addressstring required
tostring required

Lowercase 0x destination.

value_weistring required
nonceinteger required

The Safe nonce the SafeTx uses (0 while undeployed).

safe_tx_hashstring required

Hex EIP-712 SafeTx hash; what D signs and the passkey token binds.

deployedboolean required

Changes

    • info

      added the new optional request property

    • info

      added the success response with the status