Solana
Solana
Solana
Das Free-Tier deckt persönliche Projekte ab. Pay-as-you-go skaliert ohne Karte.
On Solana a base fee is paid in SOL for every signature, but during contention you also attach a priority fee — a price per compute unit that bumps your transaction ahead of others competing for the same accounts. getRecentPrioritizationFees reports the priority fees observed over recent slots, returning an array of { slot, prioritizationFee } entries you can use to size a compute-unit price that actually lands. Optionally pass the writable accounts your transaction will lock to scope the sample to that contention. Query it through TheRPC at https://solana.therpc.io/YOUR_API_KEY.
| # | Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|---|
| 1 | addresses | array | Nein | Array of base-58 accounts the transaction will write/lock. |
| Typ | Beschreibung |
|---|---|
| array | Array of { slot, prioritizationFee } over recent slots. |
| Code | Meldung | Ursache |
|---|---|---|
-32602 | Invalid params | A param is missing, of the wrong type, or malformed (e.g. a non-base58 pubkey or a bad config field). |
-32603 | Internal error | The node hit an internal error serving the request — retry, and reduce the requested range/encoding if it persists. |