一次性私钥
POST /outputs
Mixin 主网地址给 Messenger 用户转帐时,需要用户一次性私钥.
API 端点 URL
https://api.mixin.one/outputs
请求体
[{
"receivers": "用户 uuid 数组",
"index": "Output index.",
"hint": "Unique ghosts generated for users.",
}]
请求示例
curl -i -X GET -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" https://api.mixin.one/outputs --data PAYLOAD
Response
{
"data": [{
"type": "ghost_key",
"mask": "ab56be4cxxxx244f9a433f35",
"keys": ["ab56be4cxxxx244f9a433f35"]
},
...
]
}