p2p-org/solana-swift

getTokenAccountsByOwner did not provide tokenAmount

samwize opened this issue · 0 comments

getTokenAccountsByOwner response is of type [TokenAccount<TokenAccountState>], but that does not have the token account balance amount.

The RPC method has a json example with the amounts. Tried with "jsonParsed" config but that will have decoding error.