Aqua0
API ReferenceFronting

Build calldata to open a cross-chain front lock

Returns the calldata to open a front lock, the source-chain leg of a cross-chain fronting flow. It must be sent by the owner (the on-chain call requires msg.sender == owner), either directly or as a UserOp from the owner's smart account under a scoped session key.

POST
/api/vaults/{chainId}/{asset}/prepare-request-front-lock

Authorization

ApiKeyAuth
X-API-Key<token>

In: header

Path Parameters

chainId*string

Numeric ID of the chain to query or act on.

asset*string

The vault's underlying asset, as a token contract address or ticker symbol (e.g. USDC).

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/api/vaults/string/string/prepare-request-front-lock" \  -H "Content-Type: application/json" \  -d '{    "strategyId": "string",    "amount": "string",    "owner": "string",    "frontId": "string"  }'
Empty
Empty
Empty