Get actual escrow factory contract address (v2 for fee-enabled orders)
Supported on: Ethereum Base Solana BNB Chain Optimism Polygon Linea Sonic Unichain Arbitrum Avalanche Cronos ZKsync Gnosis HyperEVM Arc Monad
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
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,
},
};
try {
const response = await axios.get(url, config);
console.log(response.data);
} catch (error) {
console.error(error);
}
}
Returns
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"
}