• Check attestation and revocation status of a credential at the latest block available.

    Parameters

    • credential: Omit<KiltCredentialV1, "proof">

      The KiltCredentialV1 to which the status method is linked to.

    • opts: {
          api?: ApiPromise;
      } = {}

      Additional parameters.

      • Optional api?: ApiPromise

        An optional polkadot-js/api instance connected to the blockchain network on which the credential is anchored. If not given this function will try to retrieve a cached connection from the ConfigService.

    Returns Promise<void>