L
L
Loopring Dev Docs
Search…
⌃K

Get token info

EndPoint

GET /api/v3/exchange/tokens

Response

Field
Description
Example
type
Token Type Allowable : ['ERC20', 'ETH']
"ERC20"
tokenId
Token's numeric ID
2
symbol
Token symbol
"LRC"
name
Token name
"Loopring"
address
Token ERC20 contract address
"0xbbbbca6a901c926f240b89eacb641d8aec7aeafd"
decimals
Token decimals
18
precision
Max decimals that relayer uses for the token, smaller amount will be treated as zero.
6
precisionForOrder
Max decimals that relayer uses for the token, smaller amount will be treated as zero.
6
The amount requirements for submitting orders.
"{min:100000, max:900000, dust:10}"
field.TokenInfoV3.luckyTokenAmounts
"{min:100000, max:900000, dust:10}"
fastWithdrawLimit
The maximum amount for single fast withdrawal
"100000000000 0000"
The gas amount requirements for user requests
"{distributio nGas:100000, depositGas:1 50000}"
enabled
Whether the token is currently enabled for deposits and withdrawals.
"true"

Model

OrderAmount

Contains information about the order amounts that are valid for usage with the token in order-related APIs.
Field
Description
Example
minimum
The minimum amount enforced when submitting orders for the token.
"100000000000 00000"
maximum
The maximum amount enforced when submitting orders for the token.
"100000000000 0000000"
dust
The dust amount enforced when submitting orders for the token.
"100000000000 0000"

GasAmountLimit

Contains information about the gas amounts required by ETH L1 requests.
Field
Description
Example
distribution
The gas amount for withdrawal
"100000000000 0000"
deposit
The gas amount for deposit
"100000000000 0000"

Example

Request

https://uat2.loopring.io/api/v3/exchange/tokens

Response

[{
"type": "ETH",
"tokenId": 0,
"symbol": "ETH",
"name": "Ethereum",
"address": "0x0000000000000000000000000000000000000000",
"decimals": 18,
"precision": 7,
"precisionForOrder": 3,
"orderAmounts": {
"minimum": "5000000000000000",
"maximum": "1000000000000000000000",
"dust": "200000000000000"
},
"luckyTokenAmounts": {
"minimum": "50000000000000",
"maximum": "1000000000000000000000",
"dust": "50000000000000"
},
"fastWithdrawLimit": "100000000000000000000",
"gasAmounts": {
"distribution": "85000",
"deposit": "100000"
},
"enabled": true
}, {
"type": "ERC20",
"tokenId": 1,
"symbol": "LRC",
"name": "Loopring",
"address": "0xfc28028d9b1f6966fe74710653232972f50673be",
"decimals": 18,
"precision": 3,
"precisionForOrder": 3,
"orderAmounts": {
"minimum": "5000000000000000000",
"maximum": "5000000000000000000000000",
"dust": "5000000000000000000"
},
"luckyTokenAmounts": {
"minimum": "50000000000000000",
"maximum": "5000000000000000000000000",
"dust": "50000000000000000"
},
"fastWithdrawLimit": "750000000000000000000000",
"gasAmounts": {
"distribution": "101827",
"deposit": "200000"
},
"enabled": true
}]