Dogecoin RPC service, data objects.
AccountInfo
Information object returned by
:func:~dogecoinrpc.connection.DogecoinConnection.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.
AddressInfo
Information object returned by
:func:~dogecoinrpc.connection.DogecoinConnection.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.
AddressValidation
Information object returned by
:func:~dogecoinrpc.connection.DogecoinConnection.validateaddress
.
-
isvalid -- Validatity of address (:const:
True
or :const:False
). -
ismine -- :const:
True
if the address is in the server's wallet. -
address -- Dogecoin address.
MiningInfo
Information object returned by :func:~dogecoinrpc.connection.DogecoinConnection.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.
ServerInfo
Information object returned by :func:~dogecoinrpc.connection.DogecoinConnection.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).
TransactionInfo
Information object returned by
:func:~dogecoinrpc.connection.DogecoinConnection.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).
WorkItem
Information object returned by :func:~dogecoinrpc.connection.DogecoinConnection.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.