• Validate the given IPNS record against the given routing key.

    Parameters

    • routingKey: Uint8Array

      The routing key in binary format: binary(ascii(IPNS_PREFIX) + multihash(public key))

    • marshalledRecord: Uint8Array

      The marshalled record to validate.

    Returns Promise<void>

    See

    https://specs.ipfs.tech/ipns/ipns-record/#routing-record for the binary format of the routing key