interface ModuleQueryFunctions {
    manifest: (
        maxDepth?: number,
        ignoreAddresses?: Lowercase<string>[],
    ) => Promisable<ModuleManifestPayload>;
    manifestQuery: (
        account: AccountInstance,
        maxDepth?: number,
        ignoreAddresses?: Lowercase<string>[],
    ) => Promisable<
        ModuleQueryResult<ModuleManifestPayload, ModuleError, BoundWitness>,
    >;
    moduleAddress: () => Promisable<
        (AddressPayload | AddressPreviousHashPayload)[],
    >;
    state: () => Promisable<Payload[]>;
    stateQuery: (
        account: AccountInstance,
    ) => Promisable<ModuleQueryResult<Payload, ModuleError, BoundWitness>>;
}

Hierarchy (View Summary)

Properties

manifest: (
    maxDepth?: number,
    ignoreAddresses?: Lowercase<string>[],
) => Promisable<ModuleManifestPayload>
manifestQuery: (
    account: AccountInstance,
    maxDepth?: number,
    ignoreAddresses?: Lowercase<string>[],
) => Promisable<
    ModuleQueryResult<ModuleManifestPayload, ModuleError, BoundWitness>,
>
moduleAddress: () => Promisable<(AddressPayload | AddressPreviousHashPayload)[]>
state: () => Promisable<Payload[]>
stateQuery: (
    account: AccountInstance,
) => Promisable<ModuleQueryResult<Payload, ModuleError, BoundWitness>>