depositAddress in 1click quote response payloads. This can help to
- Prevent man-in-the-middle tampering on transport or proxy layers.
- Ensure a quote/status payload was produced by the 1Click API.
- Detect unexpected field mutation before showing the quote or executing swaps.
What is signed
The signed message is a Base58-encoded SHA-256 hash of a deterministic JSON object from the 1click quote payload response. The JSON is serialized with stable key ordering (json-stable-stringify), then hashed with SHA-256 and Base58-encoded.
The signed message input is:
Use the TypeScript SDK (recommended)
If you integrate with our TypeScript SDK, useverifyQuoteSignature() directly:
signature and timestamp, and both should be verified before consuming the quote payload.