Utils
arrayAverage
Get the average value of an array.
Parameters
Returns number The average value.
dogeNetwork
Get Dogecoin network to be used with bitcoinjs.
Parameters
network
Network
Returns Dogecoin.networks.Network The Doge network.
validateAddress
Validate the Doge address.
Parameters
address
stringnetwork
Network
Returns boolean true
or false
.
getPrefix
Get address prefix based on the network.
Parameters
network
Network
Returns string The address prefix based on the network.*