简要描述:

  • 获取货币keystore

请求域名:

  • http://xx.com

请求URL:

POST/wapapi/addons/blockchain/blockchain/exportKeyStore

参数:

参数名 是否必须 类型 说明
password string 密码
address string 货币地址
symbol string 货币符号

返回示例:

正确时返回:

{
    "code": 200,
    "message": "获取成功",
    "data": {
        "keyStore": "{\"address\":\"20b102aaa15f616304465f74a75b08379e10d41b\",\"id\":\"df75dd07-7cb1-479b-86e3-1981a148e410\",\"version\":3,\"crypto\":{\"cipher\":\"aes-128-ctr\",\"ciphertext\":\"6c5c17d304fc8b00819d52d2e75cf064a134dfa7a8b8a1e52d153448c7df045f\",\"cipherparams\":{\"iv\":\"639d96a7ed40da04dc062a4765333aee\"},\"kdf\":\"scrypt\",\"kdfparams\":{\"dklen\":32,\"n\":4096,\"p\":6,\"r\":8,\"salt\":\"a8eecc43bb0cb8f8f449eb974aea2e438076a31dd528c84b3b26d19c46bb6509\"},\"mac\":\"b2efad3cb113e46935375462562c62c9bcd26cdd3fbbcb8d07816401df520144\"}}"
    }
}

错误时返回:

{
    "errcode": -1,
    "errmsg": "invalid appid"
}

返回参数说明:

参数名 类型 说明
keyStore string keyStore

备注:

  • 更多返回错误代码请看首页的错误代码描述