helia
    Preparing search index...

    Interface CreateIPNSRecordOptions

    interface CreateIPNSRecordOptions {
        data?: Record<string, any>;
        signal?: AbortSignal;
        ttlNs?: bigint;
        v1Compatible?: boolean;
    }

    Hierarchy

    Index
    data?: Record<string, any>

    Extensible data that will be added to the IPNS record data and signed to verify it's integrity.

    Note that this data will be encoded as DAG-CBOR so it must be valid.

    signal?: AbortSignal
    ttlNs?: bigint

    The TTL of the record in ms - after this many ms have expired, resolving the record will query the routing for an updated version.

    Before this many ms have expired any locally stored copy will be treated as the latest version and the routing will not be queried.

    300_000_000_000n
    
    v1Compatible?: boolean

    By default a IPNS V1 and a V2 signature is added to every record. Pass false here to only add a V2 signature.

    true