请求地址:
- NewKeeper 测试网: https://gateway.testnet.newkeeper.org/api/v1/evt/check/
- NewKeeper 正式网: https://gateway.newkeeper.org/api/v1/evt/check/
请求说明:
生成随机字符串作为
message
, 建议使用evt + 时间戳
,使用钱包私钥进行secp256r1
签名,生成r s v
header
名称 | 类型 | 说明 |
---|---|---|
content-type | string | application/json |
Authorization | string | 对 post 参数进行排序签名 |
参数 | 类型 | 说明 |
---|---|---|
contract_address | string | EVT 合约地址 |
sign_r | string | 签名结果 r |
sign_s | string | 签名结果 s |
sign_v | string | 签名结果 v |
sign_message | string | 使用app_secret 对 message 进行aes 加密结果 |
app_key | string | 申请访问 newkeeper 的 app_key |
timestamp | int | 请求时间戳,单位秒 |
参数 | 类型 | 说明 |
---|---|---|
csm_version | string | CSM 版本号 |
private_key | string | 用app_secret aes加密后的加密key |