Construct a Burst address from a string array
4 parts string array
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 a Date into Burst/Block Time (seconds since genesis block)
The date to be converted
The Burst Timestamp
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
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
Split the Burst address string into an array of 4 parts
A valid Burst address
A useful regex for matching burst addresses
Generated using TypeDoc