SDK — approve a proposal
Records the caller’s consent, signed with their session key. Requires step-up authentication: approving is the act that authorizes the mutation, so it carries the same weight as performing it.
Recording an approval does not apply the change — call execute once the requirements are satisfied. An initiator can never approve their own intent; the enclave refuses it and so does this endpoint.
Authorizations
Path Parameters
Body
SDK approveProposal body. The signature is over the proposal's stored intent together with approvedAt, produced by the approver's session key — which never leaves their device, so approving cannot be done on their behalf.
Hex-encoded ECDSA P-256 signature over the canonicalized payload, produced by the signer's session key — which never leaves their device, so consent cannot be given on their behalf. Exactly 128 hex characters. WebCrypto emits the raw r‖s form with both halves padded to 32 bytes, so unlike DER the length never varies. Constrained here so a malformed value is a 400 at the edge rather than an enclave round trip that returns INTENT_SIGNATURE_INVALID, and so an unbounded string cannot be persisted against a proposal.
^[0-9a-fA-F]{128}$Response
Approval recorded; the proposal with its current approvals
A governed mutation or signing operation waiting on consent. Untrusted workflow state: it records what was proposed and who has signed, and the enclave verifies every signature when the proposal is executed. The signature is over intent as stored, so an approver must sign these exact bytes — re-deriving the intent would produce a different intentId and invalidate the approvals already collected.
A business-account action that an approval requirement can gate.
addMember, removeMember, updateMemberRole, transferOwnership, createWallet, linkWallet, removeWallet, addSignerToWallet, removeSignerFromWallet, updatePolicyLayer, setGovernance, defineRole, deleteRole, signMessage, exportWallet, reshareWallet The initiator's proposal, signed with their session key. Built by the API, not the client — sign these exact bytes verbatim, because re-serializing can change them and invalidate the signature.
autoExecute is inside the signed bytes, so an approver consents to it and nothing can flip it afterwards.
Every governance rule matching this proposal, with how close each is. Do NOT derive progress from approvals — that counts rows, including approvers outside a rule's pool and approvers demoted since they signed.
Absent means the tally is unknown (not fetched, or no longer pending); an empty array means nothing is outstanding. Treat the two differently.