latestOpenAPI 3.1.02026-08-106725.2 KB
09a793a37d89
API SERVICE
Estimated order amount 预估订单价格
get/v1/estimate
Query parameters
quantityinteger required
delegation energy quantity,must >= 65000 购买能量的数量,不小于65000
durationstring required
Duration of the order: allowed values are 1h 代理能量的最大持续时间,允许的值:1h
Headers
CF-ACCESS-KEYstring required
The API Access key as a string API所使用的KEY
CF-ACCESS-SIGNstring required
The Base64-encoded signature (see signing messages subsection for details) 使用HMAC SHA256哈希函数获得哈希值,再使用Base-64编码(请参阅签名)
CF-ACCESS-TIMESTAMPstring required
The UTC timestamp of your request .e.g : 2008-08-08T08:08:08.888Z 发起请求的时间(UTC),如:2008-08-08T08:08:08.888Z
Response
OK