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
Hmm sounds reasonable to me. Seems like delegatedAmount should always be present when delegated is present. Not sure if it can be 0 when delegated is set
Shouldn't ever be. Delegated and delegatedAmount get set/unset in tandem (approve, revoke), and delegated gets set to None when delegatedAmount reaches zero via Transfers
Problem
When encoding token accounts to JSON in RPC,
tokenAmount
is aUiAmount
butdelegatedAmount
is a number. They should be treated the same.The
delegate
property is returningnull
when unset. I would expect it to be omitted.The text was updated successfully, but these errors were encountered: