Vessel Finance API
  1. Exchange Data
Vessel Finance API
  • Introduction
  • General Info
  • HMAC Signature Guide
  • Poseidon Signature Guide
  • Internal Transfer Signature Guide
  • Error Code
  • Vessel REST API
    • Public
      • Market Data
        • 24hr Ticker Statistics
        • Kline / Candlestick Data
        • Order Book
        • Recent Trades List
        • Average Price
        • AMM Pool Last 24h Data
      • Exchange Data
        • Ticker Info
          GET
        • Asset Info
          GET
        • Trade Fee
          GET
        • AMM Pool Info
          GET
    • User
      • Asset
        • User Asset
        • Withdraw
        • Withdraw History
        • Deposit History
        • Claim History
        • Internal Transfer (Send)
        • Internal Transfer History
      • Order
        • Place Order
        • Cancel Order
        • Open Orders
        • Completed Orders
        • All Orders
        • Query Order
        • Modify Order
      • AMM
        • Add Liquidity
        • Remove Liquidity
        • Collect Fee
        • AMM Position
        • AMM Action History
      • Account
        • User Profile
        • User Trade List
  • Vessel WebSocket
    • Market
      • Order Book
      • K Line
      • Recent Trades
      • 24hr Ticker Statistics
      • Ticker Setting Upade
    • User
      • Authorize
      • Balance
      • Account
  1. Exchange Data

Asset Info

Testnet Env
https://testnet.trade.vessel.finance
Testnet Env
https://testnet.trade.vessel.finance
GET
/api/v1/public/assetInfo
Last modified:2024-10-15 06:23:56
Asset Info provides detailed information about supported assets on our platform.

Request

Query Params
assetId
string 
optional
The unique numerical identifier for the asset.
Example:
1
assetName
string 
optional
The name of the asset.
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
A unique numerical identifier for the currency.
assetName
string 
required
Name of the asset (e.g., "WBTC" for Wrapped Bitcoin)
address
string 
required
The on-chain address of the currency
isToken
boolean 
required
Indicates whether the asset is a token (true) or a native cryptocurrency (false)
canDepositFrontend
boolean 
required
Indicates if deposit can be made through the frontend interface
canWithdraw
boolean 
required
Indicates if withdrawal are allowed for this asset
minWithdrawSize
string 
required
Minimum amount that can be withdrawn in a single transaction
maxWithdrawSize
string 
required
Maximum amount that can be withdrawn in a single transaction
depositLimit
string 
required
Maximum number of digital places allowed for deposits
depositPrecision
string 
required
Maximum number of decimal places allowed for deposits
onChainDecimal
string 
required
The number of decimal places used for on-chain calculations.
scaleK
string 
required
Related to the maximum number of the decimal places in the fractional part of the currency. 'scaleK' of '1000000' allows up to 6 decimal places in the fractional part.
price
string 
required
Current USD price of the asset
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"
}
Previous
Ticker Info
Next
Trade Fee
Built with