Solana
Solana
Solana
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
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.
| # | الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|---|
| 1 | addresses | array | لا | Array of base-58 accounts the transaction will write/lock. |
| النوع | الوصف |
|---|---|
| array | Array of { slot, prioritizationFee } over recent slots. |
| الكود | الرسالة | السبب |
|---|---|---|
-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. |