Vessel Finance API
  1. Asset
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
        • Asset Info
        • Trade Fee
        • AMM Pool Info
    • User
      • Asset
        • User Asset
          GET
        • Withdraw
          POST
        • Withdraw History
          GET
        • Deposit History
          GET
        • Claim History
          GET
        • Internal Transfer (Send)
          POST
        • Internal Transfer History
          GET
      • 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. Asset

Claim History

Testnet Env
https://testnet.trade.vessel.finance
Testnet Env
https://testnet.trade.vessel.finance
GET
/api/v1/gateway/user/history/claim
Last modified:2024-10-15 06:23:56
Claim History provides a list of historical claim transactions. Users can query the claims made of a specific assetName, including details like the amount, asset name, and timestamp of each claim.

Request

Query Params
assetName
string 
optional
The name of the asset claimed.
startTime
integer 
optional
The start of the time range for the claim history in Unix milliseconds.
endTime
integer 
optional
The end of the time range for the claim history in Unix milliseconds.
offset
integer 
optional
The offset for pagination.
limit
integer 
optional
The maximum number of results to return. Default is 500.
fromId
integer 
optional
The ID from which to start fetching records. In this API, since the order is descending (backwards), if fromId is set to 100, the system will return records starting from the ID just before 100 and continue moving backwards. The retrieval will proceed until the limit is reached.
Header Params
VESSEL-API-KEY
string 
required
Default:
{{API_KEY}}
VESSEL-PASSPHRASE
string 
required
Default:
{{API_PASSPHRASE}}
VESSEL-SIGNATURE
string 
required
Use signRequest script to generate
VESSEL-TIMESTAMP
string 
required
Use signRequest script to set

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/gateway/user/history/claim?assetName&startTime&endTime&offset&limit&fromId' \
--header 'VESSEL-API-KEY;' \
--header 'VESSEL-PASSPHRASE;' \
--header 'VESSEL-SIGNATURE;' \
--header 'VESSEL-TIMESTAMP;'

Responses

🟢200Success
application/json
Body
claims
array [object {5}] 
required
An array containing details for each historical claim transaction.
id
string 
optional
amount
string 
required
Amount of cryptocurrency claimed.
assetName
string 
required
Name of the asset claimed.
address
string 
required
Address to which the claim was made.
timestamp
string 
required
Timestamp when the claim was made, in Unix milliseconds.
Example
{
  "claims": [
    {
      "id": "259610002",
      "amount": "0.01",
      "assetName": "WBTC",
      "address": "0x3ad8ccb270d84808ca16e2be3594c9eb723210f8",
      "timestamp": "1728716459749"
    }
  ]
}
Previous
Deposit History
Next
Internal Transfer (Send)
Built with