Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn about large ints in JSON #93

Open
mariano54 opened this issue Mar 4, 2022 · 1 comment
Open

Warn about large ints in JSON #93

mariano54 opened this issue Mar 4, 2022 · 1 comment

Comments

@mariano54
Copy link
Contributor

JSON parsers might not support large ints, we do use very large integers in the RPC in some cases.

@KryptomineCH
Copy link
Contributor

KryptomineCH commented Aug 10, 2023

the usual type would belong/ulong in c# terms.

Specifically there are 3 routes which use BigInt:

  • BlockchainState (network space)
  • GetNetworkSpace
  • GetAllPuzzleHashes

you can either make a custom converter function for that field or use a chia library which should have this functionality included.
https://www.nuget.org/packages/CHIA-RPC/ and the corresponding Chia-Client-Library (c#) for instance handles BigInt values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants