OnChainResolver.parseOnChainId() method
Parse credentialStatus id to get contractAddress, chainId and revocationNonce
Signature:
parseOnChainId(id: string): {
contractAddress: string;
chainId: number;
revocationNonce: number;
issuer: string;
};
Parameters
Parameter | Type | Description |
---|---|---|
id | string | credential status id |
Returns:
{ contractAddress: string; chainId: number; revocationNonce: number; issuer: string; }
{{contractAddress: string, chainId: number, revocationNonce: number}}