#### qn_estimatePriorityFees

5 credits · FREE 1/s, DEV 6/s, BUSINESS 20/s, PRO 100/s

| param | type |   |   |
|---|---|---|---|
| last_n_blocks | u64 | opt | at most 150 |
| account | pubkey | opt |  |
| api_version | u64 | opt |  |

```
{"jsonrpc":"2.0","id":1,"method":"qn_estimatePriorityFees","params":[{"last_n_blocks":100,"account":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","api_version":2}]}
```

**answer**: {context: {slot}, per_compute_unit: {extreme, high, medium, low, percentiles}, per_transaction: {...}, recommended}

**refuses**: 400 -32602 sent in a batch; 400 -32602 account is not a pubkey
