To Get Profiles: getProfiles
This method gets a map of profile nonce as key and profile DID as value, associated with the identity derived from the private key and stored in the Polygon ID SDK.
Get Profiles
Future<Map<BigInt, String>> getProfiles(
{required String genesisDid, required String privateKey});
genesisDid
is the unique ID of the identity whose profileNonce
is 0.
privateKey
is the key used to access all the sensitive info from the identity and also to realize operations like generating proofs.
It returns a map of PolygonIdSdk.setEnv
.
×
New Polygon ID Documentation Website Available!
We've released a new version of our documention. Head to devs.polygonid.com to check it out.