Get exchange configurations

流量控制: 5 每 秒

摘要


HTTP 方法

GET

访问路径

/api/v3/exchange/info

功能

Return various configurations of Loopring.io

API 描述


HTTP头

请求参数

请求示例

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

响应字段

字段 类型 必须 说明 举例
chainId integer Loopring's smart contract network ID. 1
exchangeAddress string Contract address of exchange. "0xbA1D5779131aa529F5
1B4B00186E9e97f3BeB8
54"
depositAddress string field.ExchangeInfo.depositAddress "0xbA1D5779131aa529F5
1B4B00186E9e97f3BeB8
54"
onchainFees List[FeeInfo] Fees settings. /
openAccountFees List[OffFeeInfo] field.ExchangeInfo.openAccountFee /
updateFees List[OffFeeInfo] field.ExchangeInfo.updateFees /
transferFees List[OffFeeInfo] Transfer fee settings. /
withdrawalFees List[OffFeeInfo] Off-chain withdrawal fee settings. /
fastWithdrawalFees List[OffFeeInfo] fast withdrawal fee settings. /
ammExitFees List[OffFeeInfo] AMM pool exit fee settings. /

响应示例

{
    "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"
        }
    ]
}

状态码

状态码 描述
100000 Unknown error

模型


FeeInfo

Information about fees charged by the exchange.

字段 类型 必须 说明 举例
type string Fee category. "withdraw"
fee string Fee amount in Ether as wei. "2000000000000000"

OffFeeInfo

Off-chain fee info charged by loopring exchange.

字段 类型 必须 说明 举例
token string fee token "ETH"
fee string fee amount "2000000000000000"

results matching ""

    No results matching ""