Aqua0
API ReferenceCross-chain

Submit a cross-chain front request (LP-signed demand)

Records an LP's EIP-712-signed FrontRequest bound to the frontId they will lock. The signature is the authorization, so this records demand only and moves no funds.

POST
/api/fronting/requests

Authorization

ApiKeyAuth
X-API-Key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/fronting/requests" \  -H "Content-Type: application/json" \  -d '{    "frontId": "string",    "srcChainId": "string",    "srcVault": "string",    "classId": "string",    "owner": "string",    "dstChainId": "string",    "dstVault": "string",    "frontAmount": "string",    "expectedFees": "string",    "deadline": "string",    "signature": "string"  }'
{  "request": {    "frontId": "string",    "srcChainId": 0,    "srcVault": "string",    "classId": "string",    "owner": "string",    "dstChainId": 0,    "dstVault": "string",    "frontAmount": "string",    "expectedFees": "string"  }}
Empty