• Decodes the attestation returned by api.query.attestation.attestations().

    Parameters

    • encoded: AttestationAttestationsAttestationDetails | Option<AttestationAttestationsAttestationDetails>

      Raw attestation data from blockchain.

    • claimHash: `0x${string}`

      The attestation claimHash.

    Returns IAttestation

    The attestation.