lightningdevkit
Version:
Lightning Development Kit
35 lines (34 loc) • 1.23 kB
text/typescript
import { LSPS0ListProtocolsRequest } from '../structs/LSPS0ListProtocolsRequest.mjs';
import { CommonBase } from './CommonBase.mjs';
/**
* An bLIP-50 / LSPS0 protocol 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 LSPS0Request extends CommonBase {
protected constructor(_dummy: null, ptr: bigint);
clone_ptr(): bigint;
/**
* Creates a copy of the LSPS0Request
*/
clone(): LSPS0Request;
/**
* Utility method to constructs a new ListProtocols-variant LSPS0Request
*/
static constructor_list_protocols(a: LSPS0ListProtocolsRequest): LSPS0Request;
/**
* Checks if two LSPS0Requests contain equal inner contents.
* This ignores pointers and is_owned flags and looks at the values in fields.
*/
eq(b: LSPS0Request): boolean;
/**
* Returns the method name associated with the given request variant.
*/
method(): string;
}
/** A LSPS0Request of type ListProtocols */
export declare class LSPS0Request_ListProtocols extends LSPS0Request {
list_protocols: LSPS0ListProtocolsRequest;
}