Get actual escrow factory contract address (v2 for fee-enabled orders)
Supported on: Ethereum Base Solana BNB Chain Gnosis Optimism Polygon Linea Sonic Unichain Arbitrum Avalanche ZKsync
Parameters
chainId
number queryChain ID
Request Body
This request doesn’t have any request body.
JavaScript
Copy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
const axios = require('axios');
async function httpCall() {
const url = 'https://api.1inch.com/fusion-plus/orders/v1.2/order/escrow';
const config = {
headers: {
Authorization: `Bearer ${API_KEY}`,
},
params: {
chainId: 1,
},
paramsSerializer: {
indexes: null,
},
};
const body = {};
try {
const response = await axios.get(url, body, config);
console.log(response.data);
} catch (error) {
console.error(error);
}
}
Returns
default
oneOf[0]
EscrowFactory object EVM escrow factory contract information
address
* string Actual escrow factory contract address
oneOf[1]
SolanaEscrowFactory object Solana escrow factory contract information
srcAddress
* string Actual source escrow factory contract address
dstAddress
* string Actual destination escrow factory contract address
JSON
Copy
1
2
3
4
{
"address": "string"
}