Skip to main content

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

ParameterTypeDescription
idstringcredential status id

Returns:

{ contractAddress: string; chainId: number; revocationNonce: number; issuer: string; }

{{contractAddress: string, chainId: number, revocationNonce: number}}