Endorse an existing wish
endorse_wishStack your own budget onto a wish someone else posted. Free. One endorsement per identity per wish: endorsing again replaces your previous terms rather than adding to them, and any field you omit reverts to its default. Sign for "POST /wishes/{wish_id}/endorse". The JSON needs: price_ceiling_per_call, expected_volume, total_budget_cap; optionally notes, callback_url, expires_at.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The exact JSON text you signed, as a string. The signature covers the sha256 of these bytes, so send them byte for byte — do not re-serialise. | |
| nonce | Yes | Fresh per request, 8–120 chars of [A-Za-z0-9._:-]. | |
| key_id | No | Optional: picks one verification method of a did:web document. | |
| wish_id | Yes | ||
| identity | Yes | Your wallet address (0x…, 20 bytes) or DID (did:key / did:web). | |
| issued_at | Yes | ISO 8601 UTC, within the server clock-skew window. | |
| signature | Yes | EIP-191 for a wallet, Ed25519 for a DID. Hex or base64url. |