Qchain
English
English
  • KNOWLEDGE BASE
    • Introduction to Qchain
    • Getting Started
    • How to run QChain node?
    • Instructions
      • How to install QNode on Linux
      • How to send tokens to staking
      • How to import an account
      • How to change the storage size
      • How to install Qnode on Andriod and register an account.
      • How to create a repository
      • How to transfer tokens between accounts
      • How to create your own token
      • How to send a file to the storage
    • Video instructions
      • How to import an account into Qchain node
      • Qchain. Import and Export of private key
      • Qchain installation Mac OS
      • Installation Qchain Node on Android
      • How to install a Qnode on Windows and register an account
    • Our tokens
    • Our products
    • Developing
      • Node API
      • Node account API
        • Export and import operations
        • Registering a new user
        • Registering a new user (2)
        • User login
        • Getting an address
        • Getting a balance
        • Getting a private key
        • Import a private key
        • Transfer
        • Request for transfer status
        • Request for list of transfers
        • Staking-Stake
        • Staking-Unstake
      • QTreasure API
        • Registration
        • List of payment gateways
        • Status payment
        • Payments
        • Purchase
        • Transaction fields
        • Transaction types
        • Transaction statuses
        • Callback response
Powered by GitBook
On this page
  1. KNOWLEDGE BASE
  2. Developing
  3. Node account API

Getting a private key

(.config = "webaccess": {"active": true, "access_private_key": true})

POST http://127.0.0.1/api/access/exportkey

{ 
     "token": "f71d593ca1eda6f96972a45283e2c983"
} 

success response:

(base64): {"success": true, "private_key": "AAIAAEgAA***************13d48+20ceOuyd3qcZhpHnIlevnCd1Sc4oZir7Fnn0EDAAAAAEAAAABAAAAEQAAAOGR"}

fail response:

{"success":"false","error":"access to private keys is disabled"}
PreviousGetting a balanceNextImport a private key

Last updated 1 year ago