rpc-api: pre/postTokenBalances.uiAmount sometimes incorrectly parsed as bigint · Issue #413 · anza-xyz/kit · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using @solana/kit RPC client to getTransaction with encoding: json, try 2q96Ep7DBVXgQxsLTPJonaXwSvcRmstCRzYeAQqaPNdpBU4uaPE3pjFXSewwhwMQFqsnQnqt5GV94sc8BCZ54nnH
The returned object has uiAmount: 6660569n. It should be uiAmount: 6660569, as the type is number | null. It is correctly parsed as number for the other pre/postTokenBalances.
The text was updated successfully, but these errors were encountered:
Because there has been no activity on this issue for 7 days since it was closed, it has been automatically locked. Please open a new issue if it requires a follow up.
Steps to reproduce
Using @solana/kit RPC client to getTransaction with encoding: json, try
2q96Ep7DBVXgQxsLTPJonaXwSvcRmstCRzYeAQqaPNdpBU4uaPE3pjFXSewwhwMQFqsnQnqt5GV94sc8BCZ54nnH
The returned object has
uiAmount: 6660569n
. It should beuiAmount: 6660569
, as the type isnumber | null
. It is correctly parsed asnumber
for the other pre/postTokenBalances.The text was updated successfully, but these errors were encountered: