帮我把地址上链接口 单独分出来一个接口,同时修改对应文档

This commit is contained in:
lu7213 committed 2026-10-29 21:50:00 -04:00
1 parent fbc72b5b57
commit dc2564b1d4
4 files changed
+90 -9

No files matched your search

+1 -1
View File
@@ -110,7 +110,7 @@ node --env-file=.env src/index.js
## 6. 外部商户签名接口
`POST /api/rental/v1/create`、`query`、`packages`,仅JSON,最多512KiB(524,288字节),不允许查询串。请求头为 `X-Rent-Key`、`X-Rent-Timestamp`(Unix毫秒)、`X-Rent-Nonce`、`X-Rent-Signature`。认证窗口前后60秒,nonce保留180秒后可清理。
资源租赁:`POST /api/rental/v1/quote`、`create`、`query`、`packages`。地址上链:`POST /api/rental/v1/address-onchain/quote`、`create`、`query`;独立路径确定ADDRESS_ONCHAIN类型,无需提交order_type,原资源接口不再接收地址上链订单。仅JSON,最多512KiB(524,288字节),不允许查询串。请求头为 `X-Rent-Key`、`X-Rent-Timestamp`(Unix毫秒)、`X-Rent-Nonce`、`X-Rent-Signature`。认证窗口前后60秒,nonce保留180秒后可清理。签名必须使用服务端实际完整路径,包含address-onchain子路径,不能沿用资源接口签名。
签名原文用换行连接,末尾不加换行: