nimiqclient.models.account.Wallet

class nimiqclient.models.account.Wallet(id, address, publicKey, privateKey=None)[source]

Bases: object

Nimiq wallet returned by the server.

Parameters
  • id (str) – Hex-encoded 20 byte address.

  • address (str) – User friendly address (NQ-address).

  • publicKey (str) – Hex-encoded 32 byte Ed25519 public key.

  • privateKey (str, optional) – Hex-encoded 32 byte Ed25519 private key.

Methods