getWalletIdentity method

Future<WalletIdentityData> getWalletIdentity(
  1. String walletAddress
)

Get a wallet's on-chain identity data, including Subsocial and Polkadot Identity data @param {string} walletAddress - Wallet address to retreive data for @returns Identity data fetched from Polkadot Identity and Subsocial

Implementation

Future<WalletIdentityData> getWalletIdentity(String walletAddress) async {
  return await ApillonApi.get<WalletIdentityData>(
      '$apiPrefix?address=$walletAddress',
      mapper: WalletIdentityData.fromJson);
}