Returns a list of recent prioritization fees from recent blocks
Show result elements
curl http://rpc.orbitflare.com -X POST -H "Content-Type: application/json" -d '{ "jsonrpc": "2.0", "id": 1, "method": "getRecentPrioritizationFees", "params": [ ["CxELquR1gPP8wHe33gZ4QxqGB3sZ9RSwsJ2KshVewkFY"] ] }'
import { Connection } from '@solana/web3.js'; const connection = new Connection('http://rpc.orbitflare.com'); const address = 'CxELquR1gPP8wHe33gZ4QxqGB3sZ9RSwsJ2KshVewkFY'; const fees = await connection.getRecentPrioritizationFees([address]); console.log(fees);
from solana.rpc.api import Client client = Client("http://rpc.orbitflare.com") address = "CxELquR1gPP8wHe33gZ4QxqGB3sZ9RSwsJ2KshVewkFY" response = client.get_recent_prioritization_fees([address]) print(response)