-
Hello! const tokenID = 96178001019380483532355422451609849948339356991030948866277126174730172245776; If the tokenID is passed in here, an error overflow will be reported. What should I do? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
JavaScript does not support numbers that are more than 53 bits. That number is closer to 256 bits, so you need to put quotes around the token ID to use it as a string. |
Beta Was this translation helpful? Give feedback.
-
I know this is old but i was having troubble with some tests and i added this comment:
With that you can use big numbers
|
Beta Was this translation helpful? Give feedback.
-
use |
Beta Was this translation helpful? Give feedback.
JavaScript does not support numbers that are more than 53 bits. That number is closer to 256 bits, so you need to put quotes around the token ID to use it as a string.