Solana
Solana
Solana
O plano gratuito cobre projetos pessoais. O pay-as-you-go escala sem cartão de crédito.
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.
| # | Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|---|
| 1 | addresses | array | Não | Array of base-58 accounts the transaction will write/lock. |
| Tipo | Descrição |
|---|---|
| array | Array of { slot, prioritizationFee } over recent slots. |
| Código | Mensagem | Causa |
|---|---|---|
-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. |