pCAIP10ToWallet function

String pCAIP10ToWallet(
  1. String wallet
)

Implementation

String pCAIP10ToWallet(String wallet) {
  if (isValidCAIP10NFTAddress(wallet)) return wallet;
  wallet = wallet.replaceFirst('eip155:', '');
  return wallet;
}