forked from ElementsProject/lightning
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfundchannel_start.request.json
51 lines (51 loc) · 1.38 KB
/
fundchannel_start.request.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"required": [
"id",
"amount"
],
"properties": {
"id": {
"type": "pubkey",
"description": "id is the peer id obtained from connect."
},
"amount": {
"type": "msat_or_all",
"description": "The amount that the channel will be funded."
},
"feerate": {
"type": "feerate",
"description": "Sets the feerate for the subsequent commitment transaction."
},
"announce": {
"type": "boolean",
"description": "Whether or not to announce the channel."
},
"close_to": {
"type": "string",
"description": "A bitcoin address to which the channel funds should be sent to on close."
},
"push_msat": {
"type": "msat",
"description": "The amount of millisatoshis to push to the channel at open. This is a gift to the peer."
},
"mindepth": {
"type": "u32",
"description": "Number of confirmations required before we consider the channel active"
},
"reserve": {
"type": "msat",
"description": "The amount we want the peer to maintain on its side"
},
"channel_type": {
"type": "array",
"description": "Each bit set in this channel_type",
"items": {
"type": "u32",
"description": "Bit number"
}
}
}
}