Treasury Proposals

Sign a proposal (approve or reject)

Submit an EIP-712 signature for a pending proposal. When approve signatures reach the Safe threshold, auto-execute fires: signatures are collected in address-sorted order, execTransaction calldata is built, and the transaction is broadcast via RPC.

post/v1/treasury/{treasury_id}/proposals/{proposal_id}/sign

Request

  • Base URL: https://api.1claw.co
  • URL: https://api.1claw.co/v1/treasury/{treasury_id}/proposals/{proposal_id}/sign
  • Auth: HTTP bearer

Path parameters

treasury_idstring uuid required
proposal_idstring uuid required

Request body

decision'approve' | 'reject' required

Whether to approve or reject the proposal

signaturestring

EIP-712 signature (hex). If omitted, server signs with caller's key.

Response

Signature recorded (may include executed_tx_hash if auto-executed)

idstring uuid
treasury_idstring uuid
proposed_bystring uuid
proposed_by_type'user' | 'agent'
chainstring
chain_idinteger
safe_addressstring
to_addressstring
value_weistring
data_hexstring nullable
operationinteger
safe_tx_hashstring nullable
nonceinteger nullable
status'pending' | 'approved' | 'executing' | 'executed' | 'rejected' | 'expired'
thresholdinteger
expires_atstring date-time nullable
executed_tx_hashstring nullable
executed_atstring date-time nullable
created_atstring date-time

Changes

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