Submit EIP-712 signatures
API Reference
Submit Signature
Submit EIP-712 signatures for intent-based transfer routes.
POST
Submit EIP-712 signatures
Submits EIP-712 signatures for intent-based routes like Aori. Required when a quote includesDocumentation Index
Fetch the complete documentation index at: https://docs.layerzero.network/llms.txt
Use this file to discover all available pages before exploring further.
SIGNATURE user steps.
Reference
When to use
| Route type | When to call |
|---|---|
| AORI_V1 | Required. Intent-based routes need off-chain signature submission. |
| Other routes | Not applicable. Use on-chain transactions only. |
Request body
| Parameter | Type | Required | Description |
|---|---|---|---|
quoteId | string | Yes | Quote ID from the /quotes response |
signatures | string or array | Yes | EIP-712 signature(s) as hex string(s) |
Response
Returns an empty object on success.Code examples
- cURL
- TypeScript
- Python
Signing EIP-712 messages
When a quote includes aSIGNATURE user step, sign the EIP-712 typed data and submit it:
Step 1: Extract typed data
Step 2: Convert BigInt fields
Step 3: Sign typed data
- viem
- ethers
Step 4: Submit signature
Complete example
Errors
| HTTP Status | Description |
|---|---|
400 | Invalid signature or quote ID |
404 | Quote not found |
Related endpoints
- Quotes — Request transfer quotes (includes
SIGNATUREsteps for Aori routes) - Status — Track transfer progress after signature submission
Authorizations
API key for authenticating requests. Required for /quotes, /build-user-steps, /submit-signature, and /status endpoints.
Body
application/json
Response
200 - application/json
Signature submitted successfully
The response is of type object.