Asset Info
Testnet Env
Testnet Env
GET
/api/v1/public/assetInfo
Last modified:2024-10-15 06:23:56
Request
Query Params
assetId
string
optional
Example:
1
assetName
string
optional
Example:
USDT
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://testnet.trade.vessel.finance/api/v1/public/assetInfo?assetId=1&assetName=USDT'
Responses
🟢200OK
application/json
Body
assetId
string
required
assetName
string
required
address
string
required
isToken
boolean
required
canDepositFrontend
boolean
required
canWithdraw
boolean
required
minWithdrawSize
string
required
maxWithdrawSize
string
required
depositLimit
string
required
depositPrecision
string
required
onChainDecimal
string
required
scaleK
string
required
price
string
required
Examples
{
"assetId": "1",
"assetName": "WBTC",
"address": "0x115D7113E5df03fD95242aB0183d343fF1ED13B3",
"isToken": true,
"canDepositFrontend": true,
"canWithdraw": true,
"minWithdrawSize": "0.0000001",
"maxWithdrawSize": "100000",
"depositLimit": "8",
"depositPrecision": "8",
"onChainDecimal": "8",
"scaleK": "100000000",
"price": "61121.82"
}
Modified at 2024-10-15 06:23:56