diff --git a/client/src/rpc_client.rs b/client/src/rpc_client.rs
index 127bd59a1051f2..73aae87369b5c7 100644
--- a/client/src/rpc_client.rs
+++ b/client/src/rpc_client.rs
@@ -11,7 +11,10 @@ use bincode::serialize;
use indicatif::{ProgressBar, ProgressStyle};
use log::*;
use serde_json::{json, Value};
-use solana_account_decoder::UiAccount;
+use solana_account_decoder::{
+ parse_token::{parse_token, TokenAccountType, UiMint, UiMultisig, UiTokenAccount},
+ UiAccount,
+};
use solana_sdk::{
account::Account,
clock::{
@@ -650,6 +653,87 @@ impl RpcClient {
Ok(hash)
}
+ pub fn get_token_account(&self, pubkey: &Pubkey) -> ClientResult