diff --git a/Solnet.Metaplex/Metadata Program/Account/MetadataAccount.cs b/Solnet.Metaplex/Metadata Program/Account/MetadataAccount.cs index 319d6be..8e86446 100644 --- a/Solnet.Metaplex/Metadata Program/Account/MetadataAccount.cs +++ b/Solnet.Metaplex/Metadata Program/Account/MetadataAccount.cs @@ -216,7 +216,7 @@ async public static Task GetAccount(IRpcClient client, PublicKe { var accInfoResponse = await client.GetAccountInfoAsync(tokenAddress.Key); - if (accInfoResponse.WasSuccessful) + if (accInfoResponse.WasSuccessful && accInfoResponse.Result.Value != null) { AccountInfo accInfo = accInfoResponse.Result.Value; //Account Inception loop to retrieve metadata