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.9
curl https://api3.loopring.io/api/v3/exchange/info

Response 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. /
openAccountFees List[OffFeeInfo] Y field.ExchangeInfo.openAccountFee /
updateFees List[OffFeeInfo] Y field.ExchangeInfo.updateFees /
transferFees List[OffFeeInfo] Y Transfer fee settings. /
withdrawalFees List[OffFeeInfo] Y Off-chain withdrawal fee settings. /
fastWithdrawalFees List[OffFeeInfo] Y fast withdrawal fee settings. /
ammExitFees List[OffFeeInfo] 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. "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"

results matching ""

    No results matching ""