Lps

get
Responses
200Success
application/json
get
GET /lp/apr HTTP/1.1
Host: 
Accept: */*
{
  "apr7d": "text",
  "apr30d": "text"
}
get
Responses
200Success
application/json
get
GET /lp/balances HTTP/1.1
Host: 
Accept: */*
{
  "current": {
    "waves": "text",
    "fWaves": "text"
  },
  "cycleStart": {
    "waves": "text",
    "fWaves": "text"
  }
}
get
Path parameters
addressstringRequired

Waves address

Example: 3NATtoFY9ke8DXV5nkzaMegnFVLypU5c8vT
Responses
200Success
application/json
get
GET /lp/withdraw-request/{address} HTTP/1.1
Host: 
Accept: */*
{
  "txId": "text",
  "timestamp": 1,
  "height": 1,
  "cycle": 1,
  "address": "text",
  "amount": "text",
  "fWavesAmount": "text",
  "isProcessed": true
}
get
Path parameters
addressstringRequired

Waves address

Example: 3NATtoFY9ke8DXV5nkzaMegnFVLypU5c8vT
Query parameters
pagenumberOptional

Page number. Starts from 1.

Default: 1
limitnumber · max: 20Optional

Number of items per page. Maximum is 20.

Default: 10
sortstring[]Optional

Sort by fields: cycle, timestamp, amount, fWavesAmount. Format: sort=field[,direction]. Default direction = 'asc'

Example: ["cycle,asc","timestamp,asc"]
Responses
200Success
application/json
get
GET /lp/history/{address} HTTP/1.1
Host: 
Accept: */*
200Success
{
  "data": [
    {
      "txId": "text",
      "timestamp": 1,
      "height": 1,
      "cycle": 1,
      "address": "text",
      "type": "deposit",
      "amount": "text",
      "fWavesFee": "text",
      "fWavesAmount": "text"
    }
  ],
  "total": 100,
  "page": 1,
  "limit": 10
}