Skip to main content
Version: testnet (v0.76)

List paid liquidity fees data

GET 

/api/v2/liquidity/paidfees

List information about paid liquidity fees for a given market, or asset ID.

Request

Query Parameters

    marketId string

    Restrict fee data to those fees generated in the given market.

    assetId string

    Restrict fee statistics to those paid in the given asset.

    epochSeq uint64

    Epoch to get paid liquidity fee statistics for. If omitted, the last complete epoch is used.

    partyIds string[]

    Restrict fee data to those fees paid to the given parties.

    pagination.first int32

    Number of records to be returned that sort greater than row identified by cursor supplied in 'after'.

    pagination.after string

    If paging forwards, the cursor string for the last row of the previous page.

    pagination.last int32

    Number of records to be returned that sort less than row identified by cursor supplied in 'before'.

    pagination.before string

    If paging forwards, the cursor string for the first row of the previous page.

    pagination.newestFirst boolean

    Whether to order the results with the newest records first. If not set, the default value is true.

Responses

A successful response.

Schema
    paidLiquidityFees object

    Page of paid liquidity fees and corresponding page information.

    edges object[]

    Page of paid liquidity fees data.

  • Array [
  • cursor string

    Cursor that can be used to fetch further data.

    node object

    Paid liquidity fees data returned by the API.

    asset string

    Settlement asset of the market.

    epochSeq uint64

    Epoch for which these stats where valid.

    feesPaidPerParty object[]

    Fees paid per party.

  • Array [
  • amount string

    Amount received.

    party string

    Receiving party ID.

    quantumAmount string

    Amount value in quantum.

  • ]
  • market string

    Market the fees were paid in.

    totalFeesPaid string

    Total fees paid across all parties.

  • ]
  • pageInfo object

    Page information that is used for fetching further pages.

    endCursor string

    End cursor.

    hasNextPage boolean

    Indicator if there is a next page.

    hasPreviousPage boolean

    Indicator if there is a previous page.

    startCursor string

    Start cursor.

Loading...