walletStatus

ui_walletStatus

wallet info

Parameters

Returns

Success

  1. status: (string)
    1. err - error happened
    2. nil - wallet not exists
    3. closed - wallet closed
    4. lock - wallet locked
    5. unlock - wallet unlocked

Example

Request

curl -sku "test:test" -X POST -H 'Content-Type: application/json' --data '{"jsonrpc":"1.0","method":"ui_walletStatus","params":[],"id":1}' http://127.0.0.1:8130/api | jq

Response

{                                                                                                                                       
  "jsonrpc": "2.0",                                                                                                                     
  "id": 1,                                                                                                                              
  "result": {                                                                                                                           
    "stats": "lock"                                                                                                                     
  }                                                                                                                                     
}
Contribute on GitHub

Report an Issue | View File | Edit File

© Copyright Qitmeer 2021.
This work is licensed under a Creative Commons Attribution 4.0 International License Creative Commons License