Update getRecentPrioritizationFees json-rpc docs (#29666)

* Update getRecentPrioritizationFees json-rpc docs

* Address review feedback

* Remove minimum
This commit is contained in:
Tyera 2023-01-11 23:17:32 -07:00 committed by GitHub
parent 56f8c16497
commit 451fbfee2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -2125,20 +2125,20 @@ Result:
### getRecentPrioritizationFees
Returns a list of minimum prioritization fees from recent blocks. Currently, a
Returns a list of prioritization fees from recent blocks. Currently, a
node's prioritization-fee cache stores data from up to 150 blocks.
#### Parameters:
- `<array>` - (optional) An array of account address strings. If this parameter is provided, the response will reflect the minimum prioritization fee to land a transaction locking all of the provided accounts as writable.
- `<array>` - (optional) An array of account address strings (up to a maximum of 128 addresses). If this parameter is provided, the response will reflect a fee to land a transaction locking all of the provided accounts as writable.
#### Results:
An array of:
- `RpcPrioritizationFee<object>`
- `slot: <u64>` - Slot in which minimum fee was observed
- `prioritizationFee: <u64>` - Minimum fee paid for a successfully landed transaction
- `slot: <u64>` - Slot in which fee was observed
- `prioritizationFee: <u64>` - a fee paid by at least one successfully landed transaction, specified in increments of 0.000001 lamports
#### Example: