Get token info
EndPoint
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" |
Last updated