interface NodeQueryFunctions {
    attach: (
        id: string,
        external?: boolean,
    ) => Promise<undefined | Lowercase<string>>;
    attached: () => Promise<Lowercase<string>[]>;
    attachedQuery: (
        account?: AccountInstance,
    ) => Promise<
        ModuleQueryResult<
            DeepRestrictToStringKeys<
                { address: Lowercase<string>; schema: "network.xyo.address" },
            >,
        >,
    >;
    attachQuery: (
        id: string,
        external?: boolean,
        account?: AccountInstance,
    ) => Promise<
        ModuleQueryResult<
            DeepRestrictToStringKeys<
                { address: Lowercase<string>; schema: "network.xyo.address" },
            >,
        >,
    >;
    certify: (id: string) => Promise<undefined | ChildCertificationFields>;
    certifyQuery: (
        id: string,
        account?: AccountInstance,
    ) => Promise<
        ModuleQueryResult<
            DeepRestrictToStringKeys<
                {
                    address: Lowercase<string>;
                    expiration: number;
                    schema: "network.xyo.child.certification";
                },
            >,
        >,
    >;
    detach: (id: string) => Promise<undefined | Lowercase<string>>;
    detachQuery: (
        id: string,
        account?: AccountInstance,
    ) => Promise<
        ModuleQueryResult<
            DeepRestrictToStringKeys<
                { address: Lowercase<string>; schema: "network.xyo.address" },
            >,
        >,
    >;
    registered: () => Promise<Lowercase<string>[]>;
    registeredQuery: (
        account?: AccountInstance,
    ) => Promise<
        ModuleQueryResult<
            DeepRestrictToStringKeys<
                { address: Lowercase<string>; schema: "network.xyo.address" },
            >,
        >,
    >;
}

Hierarchy (View Summary)

Properties

attach: (
    id: string,
    external?: boolean,
) => Promise<undefined | Lowercase<string>>
attached: () => Promise<Lowercase<string>[]>
attachedQuery: (
    account?: AccountInstance,
) => Promise<
    ModuleQueryResult<
        DeepRestrictToStringKeys<
            { address: Lowercase<string>; schema: "network.xyo.address" },
        >,
    >,
>
attachQuery: (
    id: string,
    external?: boolean,
    account?: AccountInstance,
) => Promise<
    ModuleQueryResult<
        DeepRestrictToStringKeys<
            { address: Lowercase<string>; schema: "network.xyo.address" },
        >,
    >,
>
certify: (id: string) => Promise<undefined | ChildCertificationFields>
certifyQuery: (
    id: string,
    account?: AccountInstance,
) => Promise<
    ModuleQueryResult<
        DeepRestrictToStringKeys<
            {
                address: Lowercase<string>;
                expiration: number;
                schema: "network.xyo.child.certification";
            },
        >,
    >,
>
detach: (id: string) => Promise<undefined | Lowercase<string>>
detachQuery: (
    id: string,
    account?: AccountInstance,
) => Promise<
    ModuleQueryResult<
        DeepRestrictToStringKeys<
            { address: Lowercase<string>; schema: "network.xyo.address" },
        >,
    >,
>
registered: () => Promise<Lowercase<string>[]>
registeredQuery: (
    account?: AccountInstance,
) => Promise<
    ModuleQueryResult<
        DeepRestrictToStringKeys<
            { address: Lowercase<string>; schema: "network.xyo.address" },
        >,
    >,
>