Zenon Wallet API
  1. Wallet
Zenon Wallet API
  • AutoReceiver
    • Get the auto-receiver status
      GET
  • Plasma
    • Generate plasma by fusing QSR
      POST
    • Cancel a plasma fusion
      POST
  • Ledger
    • Get the account info by address
      GET
    • Get all received account blocks by address
      GET
    • Get all unreceived account blocks by address
      GET
    • Get plasma info by address
      GET
    • Get all fusion entries by address
      GET
  • Transfer
    • Send tokens to an address
      POST
    • Receive an account block by block hash
      POST
  • Wallet
    • Get the wallet status
      GET
    • Get all wallet accounts
      GET
    • Add wallet accounts
      POST
    • Initialize a new wallet
      POST
    • Restore an existing wallet
      POST
    • Lock the wallet
      POST
    • Unlock the wallet
      POST
  • Utilities
    • Generate plasma by fusing QSR from the plasma-bot
      POST
    • Get the fusion expiration by address from the plasma-bot
      GET
    • Validate an address
      POST
  • Users
    • Authenticate an user
      POST
  1. Wallet

Initialize a new wallet

POST
/api/wallet/init
Wallet

Initializing a wallet creates a new encrypted wallet file with a random seed

Requires Admin authorization policy

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
password
string 
required
The passsword of the wallet
>= 8 characters<= 255 characters
Example:
Secret99$
Example
{
    "password": "Secret99$"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://walletapi.hypercore.one/api/wallet/init' \
--header 'Content-Type: application/json' \
--data-raw '{
    "password": "Secret99$"
}'

Responses

🟢200Success
application/json
Body
mnemonic
string 
required
The mnemonic of the initialized wallet
>= 1 characters
Example:
route become dream access impulse price inform obtain engage ski believe awful absent pig thing vibrant possible exotic flee pepper marble rural fire fancy
Example
{
    "mnemonic": "route become dream access impulse price inform obtain engage ski believe awful absent pig thing vibrant possible exotic flee pepper marble rural fire fancy"
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠409Conflict
Previous
Add wallet accounts
Next
Restore an existing wallet
Built with