Interface IPNSRecordV1V2

interface IPNSRecordV1V2 {
    data: Uint8Array;
    pubKey?: Uint8Array;
    sequence: bigint;
    signatureV1: Uint8Array;
    signatureV2: Uint8Array;
    ttl?: bigint;
    validity: string;
    validityType: EOL;
    value: string;
}

Properties

extensible data

pubKey?: Uint8Array

the public portion of the key that signed this record (only present if it was not embedded in the IPNS key)

sequence: bigint

number representing the version of the record

signatureV1: Uint8Array

signature of the record

signatureV2: Uint8Array

the v2 signature of the record

ttl?: bigint

ttl in nanoseconds

validity: string

expiration datetime for the record in RFC3339 format

validityType: EOL

Type of validation being used

value: string

value of the record