LP

Get an LP's refused destination chains

Returns the destination chains the LP has refused to front to from this chain, where none means any chain may be chosen. Prove the wallet with the app's caller token or its signature of `ReadFrontingConsent(address wallet,bytes32 nonce,uint256 expiry)`.

GET
/api/fronting-consent/{chainId}

Authorization

X-API-Key<token>

Your API key. Authorizing a swap or opening a market takes a key issued to your integration, and the shared key the docs fill in reads and quotes only.

In: header

X-Caller-Token<token>

A short-lived token proving which wallet is calling. Only the Aqua0 app issues it.

In: header

Path Parameters

chainId*integer

The chain's numeric id, for example 8453 for Base. GET /api/vaults/chains lists them.

Header Parameters

X-Wallet-Address?string

The wallet that signed. Required with a wallet signature.

X-Wallet-Nonce?string

A fresh 32-byte hex value, also in the signed message. Each one works once.

X-Wallet-Expiry?string

Unix time in seconds when the signature stops working, at most 600 seconds ahead. Also in the signed message.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/fronting-consent/1"
{  "state": "resolved",  "exclusions": [    {      "scope": "chain",      "subject": "42220",      "active": true    }  ]}
{  "error": "string",  "code": "string",  "message": "string",  "details": {},  "requestId": "string"}
{  "error": "string",  "code": "string",  "message": "string",  "details": {},  "requestId": "string"}
{  "error": "string",  "code": "string",  "message": "string",  "details": {},  "requestId": "string"}
{  "error": "string",  "code": "string",  "message": "string",  "details": {},  "requestId": "string"}
{  "error": "string",  "code": "string",  "message": "string",  "details": {},  "requestId": "string"}