Solana
Solana
Solana
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
getTransactionCount returns a single u64: the total number of transactions the Solana cluster has processed since genesis, as seen at the requested commitment. It is a cluster-wide running total — not tied to any one SOL account — and because Solana sustains very high throughput on ~400ms slots, this number climbs fast. Sampling it over time is a simple way to derive realized network throughput. Call it through the TheRPC Solana endpoint at https://solana.therpc.io/YOUR_API_KEY.
| # | الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|---|
| 1 | config | object | لا | Options: commitment, minContextSlot. |
| النوع | الوصف |
|---|---|
| integer | u64 total transaction count since genesis. |
| الكود | الرسالة | السبب |
|---|---|---|
-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. |