Get exchange configurations
Rate limit: every seconds
API Overview
HTTP method
GET
Path
/api/v3/exchange/info
Summary
Return various configurations of Loopring.io
API description
HTTP Header
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
| X-API-KEY | string | Y | ApiKey | "HlkcGxbqBeaF76j4rvPaOasyfPwnkQ 6B6DQ6THZWbvrAGxzEdulXQvOKLrRW ZLnN" |
Request parameters
None
Request example
HTTP
CURL
GET http://aa90cd58e38014a1b864ddc488129b7a-624979106.us-east-2.elb.amazonaws.com/api/v3/exchange/info HTTP/1.1
Host: aa90cd58e38014a1b864ddc488129b7a-624979106.us-east-2.elb.amazonaws.com
Connection: keep-alive
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: zh,en;q=0.9
X-API-KEY: sra1aavfacurl -H "X-API-KEY:sra1aavfa" http://aa90cd58e38014a1b864ddc488129b7a-624979106.us-east-2.elb.amazonaws.com/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. | "0xbA1D5779131aa529F5 1B4B00186E9e97f3BeB8 54" |
| depositAddress | string | Y | field.ExchangeInfo.depositAddress | "0xbA1D5779131aa529F5 1B4B00186E9e97f3BeB8 54" |
| onchainFees | List[FeeInfo] | Y | Fees settings. | / |
| updateFees | List[OffFeeInfo] | Y | field.ExchangeInfo.updateFees | / |
| transferFees | List[OffFeeInfo] | Y | Transfer fee settings. | / |
| withdrawalFees | List[OffFeeInfo] | Y | Off-chain withdrawal fee settings. | / |
Response example
{
"chainId" : 1,
"exchangeAddress" : "0xbA1D5779131aa529F51B4B00186E9e97f3BeB854",
"depositAddress" : "0xbA1D5779131aa529F51B4B00186E9e97f3BeB854",
"onchainFees" : [
{
"type" : "withdraw",
"fee" : "2000000000000000"
}
],
"updateFees" : [
{
"token" : "ETH",
"fee" : "2000000000000000"
}
],
"transferFees" : [
{
"token" : "ETH",
"fee" : "2000000000000000"
}
],
"withdrawalFees" : [
{
"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. | "2000000000000000" |
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 | "2000000000000000" |