သင့်ကိုယ်ပိုင် JSON-RPC endpoint၊ ဒေသတွင်းလည်ပတ်သော archive nodes များဖြင့်အထောက်အပံ့ပေးထားသည်။ Public RPC များနှင့် rate မျှဝေခြင်းမရှိ၊ cold-start latency မရှိ၊ သင်မထိန်းချုပ်နိုင်သော middleware မရှိပါ။
Auto-refreshes every 5 seconds · —
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"
Keys are prefixed rpc_ and are separate from your Smart Money API data keys. Keys are shown only once at creation — store them securely.
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" // Response: {"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" // Each call in the batch counts toward your quota.
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" // Returns: {"chains":{"bsc":{"ok":true,"block":42000000,"ms":45}, ...}}
For security and performance, the following method prefixes are blocked on all EVM chains. Requests using them return a -32601 error.
သာ info.* methods များသာ ခွင့်ပြုထားသည်။ အခြား namespaces အားလုံးသည် -32601 error ပြန်ပေးသည်။
| HTTP | JSON-RPC code | အဓိပ္ပာယ် |
|---|---|---|
| 401 | -32001 | API key ပျောက်နေခြင်း သို့မဟုတ် မမှန်ကန်ခြင်း |
| 429 | -32005 | Rate limit ကျော်လွန်သွားသည် (rpm သို့မဟုတ် နေ့စဉ်)။ စစ်ဆေးပါ Retry-After header။ |
| 413 | -32600 | Request body သည် 1 MB ထက်ကျော်လွန်နေသည် |
| 403 | -32601 | Blocked သို့မဟုတ် ခွင့်မပြုထားသော method |
| 400 | -32700 | JSON parse error |
| 502 | -32002 | Upstream node ရောက်ရှိမှု မရှိခြင်း သို့မဟုတ် အချိန်ကုန်သွားခြင်း |
{"jsonrpc":"2.0","error":{"code":-32001,"message":"invalid api key"},"id":null}
ငွေပေးချေသော plan keys များကို Smart Money data API keys များနှင့် သီးခြားစီ စီမံထားသည်။ ရှိပြီးသား RPC key ကို အဆင့်မြှင့်တင်ရန် dashboard မှတစ်ဆင့် ဆက်သွယ်ပါ။
| Feature | Public RPC | Smart Money RPC |
|---|---|---|
| Rate limits | Shared, unpredictable | Dedicated per key |
| Latency | Variable, cold-start | Consistent, warm |
| Uptime SLA | No guarantees | Monitored 24/7 |
| Batch calls | Often blocked | Up to 50 per request |
| Usage analytics | None | Per-chain, per-day |