Get exchange configurations
Rate limit: 5 every second
API Overview
HTTP method
GET
Path
/api/v3/exchange/info
Summary
Return various configurations of Loopring.io
API description
HTTP Header
None
Request parameters
None
Request example
HTTP
CURL
GET https://api3.loopring.io/api/v3/exchange/info HTTP/1.1
Host: api3.loopring.io
Connection: keep-alive
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: zh,en;q=0.9curl https://api3.loopring.io/api/v3/exchange/infoResponse fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
| chainId | integer | Y | Loopring's smart contract network ID. | 1 |
| exchangeAddress | string | Y | Contract address of exchange. | "0xbA1D577913 1aa529F51B4B 00186E9e97f3 BeB854" |
| depositAddress | string | Y | field.ExchangeInfo.depositAddress | "0xbA1D577913 1aa529F51B4B 00186E9e97f3 BeB854" |
| onchainFees | List[FeeInfo] | Y | Fees settings. | / |
| openAccountFees | List[OffFee Info] |
Y | field.ExchangeInfo.openAccountFee | / |
| updateFees | List[OffFee Info] |
Y | field.ExchangeInfo.updateFees | / |
| transferFees | List[OffFee Info] |
Y | Transfer fee settings. | / |
| withdrawalFees | List[OffFee Info] |
Y | Off-chain withdrawal fee settings. | / |
| fastWithdrawalFees | List[OffFee Info] |
Y | fast withdrawal fee settings. | / |
| ammExitFees | List[OffFee Info] |
Y | AMM pool exit fee settings. | / |
Response example
{
"chainId" : 1,
"exchangeAddress" : "0xbA1D5779131aa529F51B4B00186E9e97f3BeB854",
"depositAddress" : "0xbA1D5779131aa529F51B4B00186E9e97f3BeB854",
"onchainFees" : [
{
"type" : "withdraw",
"fee" : "2000000000000000"
}
],
"openAccountFees" : [
{
"token" : "ETH",
"fee" : "2000000000000000"
}
],
"updateFees" : [
{
"token" : "ETH",
"fee" : "2000000000000000"
}
],
"transferFees" : [
{
"token" : "ETH",
"fee" : "2000000000000000"
}
],
"withdrawalFees" : [
{
"token" : "ETH",
"fee" : "2000000000000000"
}
],
"fastWithdrawalFees" : [
{
"token" : "ETH",
"fee" : "2000000000000000"
}
],
"ammExitFees" : [
{
"token" : "ETH",
"fee" : "2000000000000000"
}
]
}
Status code
| Value | Description |
|---|---|
| 100000 | Unknown error |
Model
FeeInfo
Information about fees charged by the exchange.
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
| type | string | Y | Fee category. | "withdraw" |
| fee | string | Y | Fee amount in Ether as wei. | "200000000000 0000" |
OffFeeInfo
Off-chain fee info charged by loopring exchange.
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
| token | string | Y | fee token | "ETH" |
| fee | string | Y | fee amount | "200000000000 0000" |