dogecoinrpc.data — Dogecoin RPC service, data objects

Dogecoin RPC service, data objects.

class dogecoinrpc.data.AccountInfo(*args_t, **args_d)

Bases: dogecoinrpc.util.DStruct

Information object returned by listreceivedbyaccount().

  • account – The account of the receiving address.
  • amount – Total amount received by the address.
  • confirmations – Number of confirmations of the most recent transaction included.
class dogecoinrpc.data.AddressInfo(*args_t, **args_d)

Bases: dogecoinrpc.util.DStruct

Information object returned by listreceivedbyaddress().

  • address – Receiving address.
  • account – The account of the receiving address.
  • amount – Total amount received by the address.
  • confirmations – Number of confirmations of the most recent transaction included.
class dogecoinrpc.data.AddressValidation(*args_t, **args_d)

Bases: dogecoinrpc.util.DStruct

Information object returned by validateaddress().

  • isvalid – Validatity of address (True or False).
  • ismineTrue if the address is in the server’s wallet.
  • address – Dogecoin address.
class dogecoinrpc.data.MiningInfo(*args_t, **args_d)

Bases: dogecoinrpc.util.DStruct

Information object returned by getmininginfo().

  • blocks – Number of blocks.
  • currentblocksize – Size of current block.
  • currentblocktx – Number of transactions in current block.
  • difficulty – Current generating difficulty.
  • errors – Number of errors.
  • generate – True if generation enabled, False if not.
  • genproclimit – Processor limit for generation.
  • hashespersec – Number of hashes per second (if generation enabled).
  • pooledtx – Number of pooled transactions.
  • testnet – True if connected to testnet, False if on real network.
class dogecoinrpc.data.ServerInfo(*args_t, **args_d)

Bases: dogecoinrpc.util.DStruct

Information object returned by getinfo().

  • errors – Number of errors.

  • blocks – Number of blocks.

  • paytxfee – Amount of transaction fee to pay.

  • keypoololdest – Oldest key in keypool.

  • genproclimit – Processor limit for generation.

  • connections – Number of connections to other clients.

  • difficulty – Current generating difficulty.

  • testnet – True if connected to testnet, False if on real network.

  • version – Dogecoin client version.

  • proxy – Proxy configured in client.

  • hashespersec – Number of hashes per second (if generation enabled).

  • balance – Total current server balance.

  • generate – True if generation enabled, False if not.

  • unlocked_until – Timestamp (seconds since epoch) after which the wallet

    will be/was locked (if wallet encryption is enabled).

class dogecoinrpc.data.TransactionInfo(*args_t, **args_d)

Bases: dogecoinrpc.util.DStruct

Information object returned by listtransactions().

  • account – account name.
  • address – the address dogecoins were sent to, or received from.
  • category – will be generate, send, receive, or move.
  • amount – amount of transaction.
  • fee – Fee (if any) paid (only for send transactions).
  • confirmations – number of confirmations (only for generate/send/receive).
  • txid – transaction ID (only for generate/send/receive).
  • otheraccount – account funds were moved to or from (only for move).
  • message – message associated with transaction (only for send).
  • to – message-to associated with transaction (only for send).
class dogecoinrpc.data.WorkItem(*args_t, **args_d)

Bases: dogecoinrpc.util.DStruct

Information object returned by getwork().

  • midstate – Precomputed hash state after hashing the first half of the data.
  • data – Block data.
  • hash1 – Formatted hash buffer for second hash.
  • target – Little endian hash target.

Previous topic

dogecoinrpc.exceptions — Exception definitions

Next topic

dogecoinrpc.config — Utilities for reading dogecoin configuration files

This Page