Converts BURST-XXXX-XXXX-XXXX-XXXXX into numeric Id
The BURST address
The numeric id, or undefined if address is invalid
Converts a Burst/Block Time (seconds since genesis block) into Date
The numeric Id
Date
Converts a Burst/Block Time (seconds since genesis block) into Unix Epoch Time (milliseconds since 01.01.1970)
The numeric Id
Unix Epoch Time (milliseconds since 01.01.1970)
Converts byte array to hexadecimal string Inverse operation of convertHexStringToByteArray
The byte array to be converted
If true, converts hex string with uppercase characters (Default: false)
A hex string representing the byte array input
Converts a byte array into string Inverse function convertStringToByteArray
The byte array to be converted
The starting index of array to be converted (Default: 0)
The number of bytes to be considered, iff startIndex is given. If null the byte array's length is considered
The converted string
Converts a Date into Burst/Block Time (seconds since genesis block)
The date to be converted
The Burst Timestamp
Converts an hexadecimal string to byte array
The hexadecimal string to be converted
An byte array representing the hexadecimal input
Arbitrary length hexadecimal to decimal conversion https://stackoverflow.com/questions/21667377/javascript-hexadecimal-string-to-decimal-string
A hexadecimal string
A decimal string
Converts a Hexadecimally encoded string into String Inverse function convertStringToHexString
The Hex string to be converted
The string represented by the Hex String
Helper method to convert a String to number
The amount in NQT
A number expressed in Burst (not NQT)
Helper method to Number to String(8 decimals) representation
the number
a NQT number string
Encode a numeric id into BURST-XXXX-XXXX-XXXX-XXXXX
The numeric Id
the BURST address in Reed-Solomon encoding, or undefined if passed null, undefined
Converts a string into byte array Inverse function convertByteArrayToString
The string to be converted
A byte array representing the string input
Converts/Encode a String into Hexadecimally encoded Inverse function convertHexStringToString
The Hex string to be converted
The Hex String representing the input string
Check for valid Burst address (format: BURST-XXXX-XXXX-XXXX-XXXXX, XXXX-XXXX-XXXX-XXXXX)
The address
true, if is a valid address, else false
Check for valid Burst address (format: BURST-XXXX-XXXX-XXXX-XXXXX, XXXX-XXXX-XXXX-XXXXX)
The address
true, if is a valid address, else false
Sums various NQT values and returns in Burst
Variable amount list with NQT string
The sum of all amounts in BURST
Generated using TypeDoc