Jump to
Ctrl
+
/

Get Fee Recommendations Solana

GET
/blockchain-fees/solana/{network}/mempool

Through this endpoint customers can obtain recommended Solana transaction fees. Recommendations are computed in real time by taking the 25th, 50th and 75th percentiles of recent non-zero priority fees (in micro-lamports per compute unit) observed across a recent slot window, alongside the constant base fee per signature and the default and maximum compute unit limits. Solana has no mempool, so recommendations are derived from recently observed prioritization fees rather than pending-transaction data.

Path Parameters

network string Required

Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - "mainnet" is the live network with actual data while a network like "devnet" is a test network.

Query Parameters

context string Optional

In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

Response Schema

apiVersion string Required

Specifies the version of the API that incorporates this endpoint.

2024-12-12
requestId string Required

Defines the ID of the request. The requestId is generated by Crypto APIs and it's unique for every request.

601c1710034ed6d407996b30
context string Optional

In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

yourExampleString
data object Required
item object Required
baseFeePerSignature object Required
unit string Required

Unit of the base fee, e.g. lamports

lamports
value string Required

Base fee per signature in lamports (currently 5000)

5000
computeUnitPerInstruction object Required
default integer Required

Default compute unit limit per instruction (200000)

200000
max integer Required

Maximum compute unit limit per transaction (1400000)

1400000
priorityFeePerComputeUnit object Required
fast string Required

Recommended fast priority fee per compute unit in micro-lamports (75th percentile across the recent slot window)

100000
slow string Required

Recommended slow priority fee per compute unit in micro-lamports (25th percentile across the recent slot window)

1
standard string Required

Recommended standard priority fee per compute unit in micro-lamports (50th percentile across the recent slot window)

10000
unit string Required

Unit of priority fees, e.g. microLamports

microLamports

Credits Cost

Blockchain protocol Credits for 1 Results
Default Cost 90
Solana 90
Was this page helpful?
Yes
No
Powered by
Language
URL

{
    "apiVersion": "2024-12-12",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "item": {
            "baseFeePerSignature": {
                "unit": "lamports",
                "value": "5000"
            },
            "computeUnitPerInstruction": {
                "default": 200000,
                "max": 1400000
            },
            "priorityFeePerComputeUnit": {
                "fast": "100000",
                "slow": "1",
                "standard": "10000",
                "unit": "microLamports"
            }
        }
    }
}