getRecentPrioritizationFees

Returns a list of prioritization fees from recent blocks.

This method will use 30 Compute Units.


Parameters

  • address array. A collection of up to 128 Account addresses represented as base-58 encoded strings in an array.

Returns

result array

  • prioritizationFee integer. The prioritization fee value.

  • slot integer. The slot number associated with the prioritization fee.

// Result
{
	"jsonrpc": "2.0",
	"result": [
		{
			"prioritizationFee": 0,
			"slot": 320159396
		},
		{
			"prioritizationFee": 0,
			"slot": 320159397
		},
		...
		}
	],
	"id": 1
}
curl https://mainnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc": "2.0","id":1,"method":"getRecentPrioritizationFees","params":[]}'
    

Last updated

Was this helpful?