apibara/starknet-react

Error on page demos/contract-read

thollander opened this issue · 0 comments

On https://starknet-react.com/demos/contract-read,

Unhandled Runtime Error
TypeError: Do not know how to serialize a BigInt

Source
components/demos/contract-read.tsx (77:19) @ stringify

  75 | <div className="space-y-1">
  76 |   <Label>Call result</Label>
> 77 |   <p>{JSON.stringify(data)}</p>
     |           ^
  78 | </div>
  79 | <div className="space-y-1">
  80 |   <Button onClick={() => refetch()}>Refetch data</Button>