Key Custody

Spend from a passkey-owned Safe under an active grant

Agent credential only. Runs the agent's guardrails (chains, allowlists, caps, daily limits, approval policy) and the sanctions screen, reads the module's current allowance and nonce, signs the Allowance Module transfer hash with the agent's Ethereum signing key, and relays executeAllowanceTransfer from the Safe owner's Ethereum treasury wallet. Above the on-chain remaining allowance the request is refused before any gas is spent; the module would refuse it anyway. Counts as one signature. Audited as passkey_safe.allowance_spent.

post/v1/agents/{agent_id}/passkey-safes/{safe_id}/spend

Request

  • Base URL: https://api.1claw.co
  • URL: https://api.1claw.co/v1/agents/{agent_id}/passkey-safes/{safe_id}/spend
  • Auth: HTTP bearer

Request body

tostring required
amountstring required

Base units, decimal string.

tokenstring

ERC-20 contract; omit for the native token.

Response

Broadcast

grant_idstring uuid
safe_addressstring
chainstring
tostring
amountstring
token_addressstring
remaining_afterstring

Allowance left in this period after this transfer.

nonceinteger

The module's delegate nonce used.

tx_hashstring
statusstring

Changes

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