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

Add wallet accounts

POST
/api/wallet/accounts
Wallet

Requires User authorization policy

Requires Wallet to be initialized and unlocked

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
numberOfAccounts
integer <int32>
optional
Default:
1

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/accounts'

Responses

🟢200Success
application/json
Body
list
array[object (WalletAccount) {2}] 
required
Gets a list of wallet accounts
address
string 
required
The wallet account address
Example:
z1qqjnwjjpnue8xmmpanz6csze6tcmtzzdtfsww7
index
integer <int32>
required
The wallet account index
Example:
0
count
integer <int32>
required
Gets the total number of accounts
Example
{
  "list": [
    {
      "address": "z1qqjnwjjpnue8xmmpanz6csze6tcmtzzdtfsww7",
      "index": 0
    }
  ],
  "count": 0
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠409Conflict
Modified at 2024-05-14 10:01:56
Previous
Get all wallet accounts
Next
Initialize a new wallet
Built with