Get Recent Priority Fee

This endpoint gives you the top percentile of the recent priority fee based on the project over the last 100 slots.

Be aware that using a suggested priority fee does not guarantee your transaction will be included in the future slot.

Request

Method:

GET ./api/v2/system/priority-fee

Parameters:

Parameter
Type
Description

project

enum

Define which project to fetch the recent priority fee. Potential value: "P_JUPITER", "P_RAYDIUM"

percentile

double

OPTIONAL. Define how much percentile of the previous 100 slot's priority fee. Type 90, if you want the top 90% percentile. Default 55.

Request example:

curl --header "Authorization: $AUTH_HEADER" \
'https://ny.solana.dex.blxrbdn.com/api/v2/system/priority-fee?project=P_JUPITER'

Response:

Fields:

Fields
Type
Description

project

enum

Name of the project fetching.

percentile

double

How much percentile of the previous 100 slot's priority fee.

feeAtPercentile

uint64

The priority fee at the defined percentile. In micro lamport.

Response Example:

{
    project: 'P_JUPITER', 
    percentile: 55, 
    feeAtPercentile: '71428' 
}

Last updated