Skip to main content Link Menu Expand (external link) Document Search Copy Copied

DogeBlock

Model getters

Method name Return type Description Notes
getHash() string Hash of block.
Example: 6178dda07b94becb118f67b21aa72f60d85c1029e9e9b8ae56a25d684de66078
[optional]
getHeight() float The number of blocks preceding a particular block on a block chain.
Example: 1234314
[optional]
getSize() float The size of the block.
Example: 1234314
[optional]
getConfirmations() float Number of confirmations of that block.
Example: 1234314
[optional]
getWeight() float The weight of the block.
Example: 1234314
[optional]
getVersion() float Block version.
Example: 536870912
[optional]
getPreviousblockhash() string Hash of the previous block.
Example: a3047a060e5d586a9b26779ebe62fc57ce7323745da8f28761ab755454d89c52
[optional]
getMerkleRoot() string The root node of a merkle tree, a descendant of all the hashed pairs in the tree.
Example: a1634a42a8e956a5fb5225d06c3af6207e7f6fe5a00fa45229edfd0ddfa587f0
[optional]
getTime() float Time of the block.
Example: 1572865501
[optional]
getBits() float
Example: 503452237
[optional]
getNonce() float Arbitrary number that is used in Litecoin’s proof of work consensus algorithm.
Example: 2278594841
[optional]
getTxs() \Tatum\Model\DogeTx[]
Example: null
[optional]