定价
计费按 CU(Compute Unit,计算单元)计量:每个 JSON-RPC 方法按其权重消耗一定数量的 CU。
缓存命中固定按 1 CU 计费。
权重表中未列出的方法按 10 CU 计费。
每 1000 CU 结算为 1 个计费单位,具体金额待业务确定。
匹配规则
按顺序解析:精确匹配方法名 → 匹配以 * 结尾的最长前缀通配规则 → 落到未列出方法的默认权重。
exact > longest prefix (pattern ending in *) > default结算
按账户、按小时账期汇总用量,账期结束后按账期内总 CU 换算成计费单位扣费:
floor(account CU per hourly period / 1000)余额与准入
网关按余额与尚未结算的 CU 实时判断是否放行新请求,余额不足时拒绝:
block when balance - ceil(unsettled CU / 1000) <= 0完整方法权重表
按 CU 从低到高排列;以 * 结尾的规则按最长前缀匹配。
| 方法 | CU |
|---|---|
| eth_blockNumber | 1 |
| eth_chainId | 1 |
| eth_getBlockByNumber | 5 |
| eth_getBlockReceipts | 10 |
| eth_getProof | 10 |
| eth_call | 20 |
| eth_createAccessList | 20 |
| eth_estimateGas | 20 |
| eth_simulateV1 | 20 |
| eth_sendRawTransaction | 30 |
| eth_getLogs | 50 |
| debug_trace*前缀通配 | 200 |
| 其他未列出的方法 | 10 |
| 缓存命中(任意方法) | 1 |
允许与拒绝的方法
允许的方法遵循以下前缀模式:
eth_*net_*web3_*debug_trace*以下方法被显式拒绝:
eth_newFiltereth_newBlockFiltereth_newPendingTransactionFiltereth_getFilterLogseth_getFilterChangeseth_uninstallFiltereth_subscribeeth_unsubscribe价格与套餐
价格与套餐即将公布,现在可以联系我们获取报价。
常见问题
什么是 CU?
CU(Compute Unit,计算单元)用于衡量每次调用消耗的资源:不同 JSON-RPC 方法按权重消耗不同数量的 CU,权重越高代表该方法对节点的负载越大。
缓存命中如何计费?
命中缓存的调用不会转发到节点,固定按 1 CU 计费。
如何获取 API key?
控制台自助开通尚未上线,请前往「获取 API key」页面,通过邮件联系我们人工开通。