Kurzfassung
Every transaction pays a small flat network fee, currently a fraction of a cent, whatever the amount. The transaction’s fee payer pays, and that can be your app rather than your customer.You’ve used this in: Quickstart Step 2 Payments Overview Pay-per-call Overview
Jede Transaktion zahlt eine Fee in SOL, die aus zwei Teilen besteht:
einer Basis-Fee, die Validatoren für die Überprüfung von Signaturen vergütet, und einer optionalen
Priority Fee, durch die der aktuelle Leader Ihre Transaktion mit höherer Wahrscheinlichkeit
vor anderen einplant.
Fee-Struktur
Wie jede Fee berechnet und verteilt wird, inklusive Code zum Festlegen.
Compute Budget
Compute-Unit-Limits, ComputeBudget-Anweisungen und Block-Limits.
Wichtige Fakten
- Basis-Fee: pro Signatur, aufgeteilt in 50 % verbrannt / 50 % an den Validator.
- Priority Fee:
ceil(compute_unit_price * compute_unit_limit / 1,000,000)lamports. 100 % an den Validator. Im v1-Format ist die Fee stattdessen ein absoluter lamport-Gesamtbetrag, der in der Message-Konfiguration festgelegt wird.
Limits
| Limit | Wert | Quelle |
|---|---|---|
| Basis-Fee pro Signatur | 5.000 lamports | lamports_per_signature |
| Standard-CU-Limit / Anweisung | 200.000 | DEFAULT_INSTRUCTION_COMPUTE_UNIT_LIMIT |
| Standard-CU für Builtin-Anweisungen | 3.000 | MAX_BUILTIN_ALLOCATION_COMPUTE_UNIT_LIMIT |
| Maximales CU-Limit / Transaktion | 1.400.000 | MAX_COMPUTE_UNIT_LIMIT |
| Micro-lamports pro lamport | 1.000.000 | MICRO_LAMPORTS_PER_LAMPORT |