2020-04-10 14:16:27 +02:00
|
|
|
declare type Txo = {
|
|
|
|
amount: number,
|
|
|
|
claim_id: string,
|
|
|
|
normalized_name: string,
|
|
|
|
nout: number,
|
|
|
|
txid: string,
|
|
|
|
type: string,
|
|
|
|
value_type: string,
|
|
|
|
timestamp: number,
|
|
|
|
is_my_output: boolean,
|
|
|
|
is_my_input: boolean,
|
|
|
|
is_spent: boolean,
|
2020-12-15 21:45:52 +01:00
|
|
|
signing_channel?: {
|
|
|
|
channel_id: string,
|
|
|
|
},
|
2020-04-10 14:16:27 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
declare type TxoListParams = {
|
|
|
|
page: number,
|
|
|
|
page_size: number,
|
|
|
|
type: string,
|
|
|
|
is_my_input?: boolean,
|
|
|
|
is_my_output?: boolean,
|
|
|
|
is_not_my_input?: boolean,
|
|
|
|
is_not_my_output?: boolean,
|
|
|
|
is_spent?: boolean,
|
2020-12-15 21:45:52 +01:00
|
|
|
};
|