crossbell - v1.13.1

    Interface Note<T>

    interface Note<T extends LinkItem | undefined = undefined> {
        characterId: bigint;
        contentUri: string;
        contractAddress: `0x${string}`;
        deleted: boolean;
        linkItem: T;
        linkItemType: string;
        linkItemTypeString?: keyof LinkItemMap;
        linkKey: string;
        linkModule: string;
        locked: boolean;
        metadata?: NoteMetadata;
        mintModule: string;
        noteId: bigint;
    }

    Type Parameters

    • T extends LinkItem | undefined = undefined
    Index

    Properties

    characterId: bigint

    The character id of the address who owns the note.

    contentUri: string

    The content URI of this note.

    contractAddress: `0x${string}`

    NFT contract address if this is a minted NFT note.

    deleted: boolean

    Whether or not this note has been deleted.

    linkItem: T
    linkItemType: string

    The bytes32 representation of the link if there is one.

    linkItemTypeString?: keyof LinkItemMap

    The type of the link if there is one.

    linkKey: string

    The primary key (id) of the linking target. It's keccak256 encoded. You may need to use contract.getLinkingXXX(linkKey) to get the target.

    linkModule: string

    The link module address of the note.

    locked: boolean

    Whether or not this note has been locked. I.e., not able to be edited.

    metadata?: NoteMetadata

    The metadata content of this note.

    mintModule: string

    The mint module address of the note

    noteId: bigint

    The id of this note. Each id is unique under one character.

    MMNEPVFCICPMFPCPTTAAATR