UNPKG

lightningdevkit

Version:
36 lines (35 loc) 1.19 kB
import { CommonBase } from './CommonBase.mjs'; /** * A response to a `list_protocols` request. * * Please refer to the [bLIP-50 / LSPS0 * specification](https://github.com/lightning/blips/blob/master/blip-0050.md#lsps-specification-support-query) * for more information. */ export declare class LSPS0ListProtocolsResponse extends CommonBase { /** * A list of supported protocols. * * Returns a copy of the field. */ get_protocols(): Uint16Array; /** * A list of supported protocols. */ set_protocols(val: Uint16Array): void; /** * Constructs a new LSPS0ListProtocolsResponse given each field */ static constructor_new(protocols_arg: Uint16Array): LSPS0ListProtocolsResponse; clone_ptr(): bigint; /** * Creates a copy of the LSPS0ListProtocolsResponse */ clone(): LSPS0ListProtocolsResponse; /** * Checks if two LSPS0ListProtocolsResponses contain equal inner contents. * This ignores pointers and is_owned flags and looks at the values in fields. * Two objects with NULL inner values will be considered "equal" here. */ eq(b: LSPS0ListProtocolsResponse): boolean; }