lightningdevkit
Version:
Lightning Development Kit
31 lines (30 loc) • 1.01 kB
text/typescript
import { Option_StrZ } from '../structs/Option_StrZ.mjs';
import { CommonBase } from './CommonBase.mjs';
/**
* A request made to an LSP to learn their current channel fees and parameters.
*/
export declare class LSPS2GetInfoRequest extends CommonBase {
/**
* An optional token to provide to the LSP.
*/
get_token(): Option_StrZ;
/**
* An optional token to provide to the LSP.
*/
set_token(val: Option_StrZ): void;
/**
* Constructs a new LSPS2GetInfoRequest given each field
*/
static constructor_new(token_arg: Option_StrZ): LSPS2GetInfoRequest;
clone_ptr(): bigint;
/**
* Creates a copy of the LSPS2GetInfoRequest
*/
clone(): LSPS2GetInfoRequest;
/**
* Checks if two LSPS2GetInfoRequests 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: LSPS2GetInfoRequest): boolean;
}