REST HMAC (POST)
Inbound webhook (text + idempotencyKey)
Inbound webhook (structured buy, unknown fields stripped)
Canonical JSON for that vector:
Inbound canonicalization rules
- Only signing-eligible keys are included (
text,idempotencyKey, and structured fields from the#1098schema). - Object keys are sorted alphabetically at every nesting level.
- Unknown top-level fields are omitted from the canonical form.
- Numbers must be finite JSON numbers (no
NaN/Infinity).
inbound_canonical.rs (reference for all languages).
Outbound signal.execution
Verify with the same raw bytes you receive on the wire (do not re-serialize JSON).
Inbound webhook (nested buy with triggers + context)
slPrice before tps; targetType before value inside each TP). This is where cross-language signing bugs usually appear.