Converting Large Numbers
Large numbers are returned from the Node.js SDK as an Uint32Array
. This is because Javascript cannot represent integers larger than 53 bits, whereas our platform can return integers up to 128 bits.
Since Javascript cannot natively represent integers larger than 53 bits, the Arrow JS library splits it into an array of 32-bit integers. It is possible to convert these values to a string or BigInt through the use of a utility function in the Arrow library.
Last updated