Ihr eigener JSON-RPC-Endpunkt, unterstützt durch lokal betriebene Archivknoten. Keine Ratenweitergabe mit öffentlichen RPCs, keine Kaltstart-Latenz, keine Middleware, die Sie nicht kontrollieren.
Automatische Aktualisierung alle 5 Sekunden · —
curl -X POST \ -H "X-API-Key: rpc_YOUR_KEY_HERE" \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' \ "https://api.smartmoneyapi.com/rpc/v1/bsc"
Schlüssel sind mit rpc_ gekennzeichnet und getrennt von Ihren Smart Money API-Datenschlüsseln. Schlüssel werden nur einmal bei der Erstellung angezeigt — speichern Sie sie sicher.
curl -X POST \ -H "X-API-Key: rpc_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' \ "https://api.smartmoneyapi.com/rpc/v1/bsc" // Antwort: {"jsonrpc":"2.0","result":"0x286c1b2","id":1}
curl -X POST \ -H "X-API-Key: rpc_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_getBalance","params":["0xYOUR_ADDRESS","latest"],"id":1}' \ "https://api.smartmoneyapi.com/rpc/v1/avax-c"
curl -X POST \ -H "X-API-Key: rpc_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '[ {"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}, {"jsonrpc":"2.0","method":"eth_gasPrice","params":[],"id":2}, {"jsonrpc":"2.0","method":"net_version","params":[],"id":3} ]' \ "https://api.smartmoneyapi.com/rpc/v1/bsc" // Jeder Aufruf im Batch zählt zu Ihrem Kontingent.
curl -X POST \ -H "X-API-Key: rpc_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"info.isBootstrapped","params":{"chain":"C"},"id":1}' \ "https://api.smartmoneyapi.com/rpc/v1/avax-info"
curl "https://api.smartmoneyapi.com/rpc/v1/health" // Rückgabe: {"chains":{"bsc":{"ok":true,"block":42000000,"ms":45}, ...}}
Aus Sicherheits- und Leistungsgründen sind die folgenden Methoden-Präfixe auf allen EVM-Chains blockiert. Anfragen, die sie verwenden, geben einen -32601 Fehler zurück.
Nur info.* Methoden sind erlaubt. Alle anderen Namensräume geben einen -32601 Fehler zurück.
| HTTP | JSON-RPC-Code | Bedeutung |
|---|---|---|
| 401 | -32001 | Fehlender oder ungültiger API-Schlüssel |
| 429 | -32005 | Rate-Limit überschritten (rpm oder täglich). Überprüfen Sie den Retry-After Header. |
| 413 | -32600 | Anfragekörper überschreitet 1 MB |
| 403 | -32601 | Blockierte oder nicht erlaubte Methode |
| 400 | -32700 | JSON-Parse-Fehler |
| 502 | -32002 | Upstream-Knoten nicht erreichbar oder Zeitüberschreitung |
{"jsonrpc":"2.0","error":{"code":-32001,"message":"invalid api key"},"id":null}
Schlüssel für kostenpflichtige Pläne werden separat von Smart Money Data API-Schlüsseln verwaltet. Kontaktieren Sie uns über das Dashboard, um einen bestehenden RPC-Schlüssel zu upgraden.
| Funktion | Öffentlicher RPC | Smart Money RPC |
|---|---|---|
| Rate-Limits | Geteilt, unvorhersehbar | Dediziert pro Schlüssel |
| Latenz | Variabel, Kaltstart | Konsistent, warm |
| Uptime-SLA | Keine Garantien | 24/7 überwacht |
| Batch-Aufrufe | Oft blockiert | Bis zu 50 pro Anfrage |
| Nutzungsanalysen | Keine | Pro Chain, pro Tag |