services

getPriorityFeeEstimate

getPriorityFeeEstimate, RPC on carbium services: returns {priorityFeeEstimate, priorityFeeLevels?: {min, low, medium, high, veryHigh, unsafeMax}}. It costs 5 credits, and a JSON-RPC batch refuses it.

getPriorityFeeEstimate5 creditsFREE 1/sDEV 6/sBUSINESS 20/sPRO 100/s
paramtype
accountKeyspubkey[]optat most 128
transactionstringoptread when accountKeys is absent
options.priorityLevelstringoptMin, Low, Medium, High, VeryHigh or UnsafeMax
options.includeAllPriorityFeeLevelsbooloptadds priorityFeeLevels
options.recommendedbooloptreads the 75th percentile
options.lookbackSlotsu64optat most 150
options.transactionEncoding"base58" | "base64"opthow transaction is encoded, default base58
{"jsonrpc":"2.0","id":1,"method":"getPriorityFeeEstimate","params":[{"accountKeys":["EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"],"options":{"includeAllPriorityFeeLevels":true}}]}

answer{priorityFeeEstimate, priorityFeeLevels?: {min, low, medium, high, veryHigh, unsafeMax}}

refuses400 -32602 sent in a batch; 400 -32602 accountKeys over 128 or not pubkeys; 400 -32602 priorityLevel is not one of the six; 400 -32602 transaction does not decode