walletlist

walletlist

Returns a list of wallets currently stored in the node's wallet state. Note that this is primarily for debugging and returns a limited set of wallets (capped to 50).

Parameters

This endpoint does not require any parameters.

Returns

TypeDescription
arrayAn array of wallet state objects.

Wallet Object

NameTypeDescription
idstringThe address of the wallet.
balancestringThe balance of the wallet.
typestringThe type of the wallet.
requiredSigsstringThe number of required signatures for the wallet.
allowedSignersstringA list of allowed signers or "null".
extraDatastringExtra data associated with the wallet, or "null".
publicKeystringThe public key hash of the wallet, or "null".

Example

// Request
{
  "method": "walletlist",
  "params": {},
  "id": 1
}

// Response
{
  "result": [
    {
      "id": "1xyz...",
      "balance": "100.00000000",
      "type": "1",
      "requiredSigs": "1",
      "allowedSigners": "null",
      "extraData": "null",
      "publicKey": "a1b2c3d4..."
    }
  ],
  "error": null,
  "id": 1
}