Skip to content

Commit

Permalink
doc: Fixing example values
Browse files Browse the repository at this point in the history
  • Loading branch information
ShahanaFarooqui committed Aug 8, 2024
1 parent 69005d1 commit 80e7c7d
Show file tree
Hide file tree
Showing 84 changed files with 2,174 additions and 2,192 deletions.
6 changes: 1 addition & 5 deletions doc/schemas/lightning-addpsbtoutput.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,7 @@
"cHNidP8BAgQCAAAAAQMEbwAAAAEEAQABBQECAQYBAwH7BAIAAAAAAQMIQEIPAAAAAAABBCJRIO7yw3zIUblRUcdhCLSjdFxJsYHu2s0Y29bT0bGAGdcbAAEDCNXcMgAAAAAAAQQiUSA2cYCeVGcxdSZII2urHpalr5osmF2lPbYRaw1nKyPcmQA="
]
},
"response": {
"psbt": "cHNidP8BAgQCAAAAAQMEbwAAAAEEAQABBQECAQYBAwH7BAIAAAAAAQMIQEIPAAAAAAABBCJRIO7yw3zIUblRUcdhCLSjdFxJsYHu2s0Y29bT0bGAGdcbAAEDCNXcMgAAAAAAAQQiUSA2cYCeVGcxdSZII2urHpalr5osmF2lPbYRaw1nKyPcmQA=",
"estimated_added_weight": 172,
"outnum": 1
}
"response": null
},
{
"request": {
Expand Down
24 changes: 12 additions & 12 deletions doc/schemas/lightning-bkpr-channelsapy.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
"response": {
"channels_apy": [
{
"account": "252d1b0a1e57895e84137f28cf19ab2c35847e284c112fefdecc7afeaa5c1de7",
"account": "channelid0120000120000120000120000120000120000120000120000120000",
"routed_out_msat": 1000000,
"routed_in_msat": 510081208,
"lease_fee_paid_msat": 0,
Expand All @@ -229,12 +229,12 @@
"utilization_in": "51.0081%",
"utilization_in_initial": "51.0081%",
"apy_out": "0.0000%",
"apy_in": "0.0252%",
"apy_in_initial": "0.0252%",
"apy_total": "0.0252%"
"apy_in": "0.0264%",
"apy_in_initial": "0.0264%",
"apy_total": "0.0264%"
},
{
"account": "a397dd9b3e44afcb67f3f3ce1d649b74a8ade63e35505985e4cc1828634f69a2",
"account": "channelid0230000230000230000230000230000230000230000230000230000",
"routed_out_msat": 510181102,
"routed_in_msat": 0,
"lease_fee_paid_msat": 0,
Expand All @@ -255,7 +255,7 @@
"apy_total_initial": "0.0505%"
},
{
"account": "f8fc83a432cbfb2fffe222cc06727fdd977b5dd10ebd6707158e799e6f522d9f",
"account": "channelid0250000250000250000250000250000250000250000250000250000",
"routed_out_msat": 500000000,
"routed_in_msat": 0,
"lease_fee_paid_msat": 0,
Expand Down Expand Up @@ -291,12 +291,12 @@
"utilization_out_initial": "50.5591%",
"utilization_in": "17.0027%",
"utilization_in_initial": "51.0081%",
"apy_out": "0.0084%",
"apy_out_initial": "0.0126%",
"apy_in": "0.0084%",
"apy_in_initial": "0.0252%",
"apy_total": "0.0168%",
"apy_total_initial": "0.0168%"
"apy_out": "0.0088%",
"apy_out_initial": "0.0132%",
"apy_in": "0.0088%",
"apy_in_initial": "0.0264%",
"apy_total": "0.0176%",
"apy_total_initial": "0.0176%"
}
]
}
Expand Down
14 changes: 7 additions & 7 deletions doc/schemas/lightning-bkpr-inspect.json
Original file line number Diff line number Diff line change
Expand Up @@ -212,31 +212,31 @@
"id": "example:bkpr-inspect#1",
"method": "bkpr-inspect",
"params": {
"account": "a397dd9b3e44afcb67f3f3ce1d649b74a8ade63e35505985e4cc1828634f69a2"
"account": "channelid0230000230000230000230000230000230000230000230000230000"
}
},
"response": {
"txs": [
{
"txid": "cd23f0517eefc27194981253eb07b19b055246df77033e052c66eaf2bbb00483",
"txid": "txidchannel023000023000023000023000023000023000023000023000023000",
"blockheight": 111,
"fees_paid_msat": 4927000,
"outputs": [
{
"account": "a397dd9b3e44afcb67f3f3ce1d649b74a8ade63e35505985e4cc1828634f69a2",
"outnum": 0,
"account": "channelid0230000230000230000230000230000230000230000230000230000",
"outnum": 1,
"output_tag": "channel_open",
"output_value_msat": 1000000000,
"credit_msat": 1000000000,
"currency": "bcrt",
"spend_tag": "channel_close",
"spending_txid": "70e0466dc2e74f25afe38df6a85d5e8857079873a6d5eda4732806a7ac427305",
"spending_txid": "bbd8646202ccddd3a4729b6023f9103f5e676a56e24337c392a01533b91dbf3c",
"debit_msat": 489818898
}
]
},
{
"txid": "70e0466dc2e74f25afe38df6a85d5e8857079873a6d5eda4732806a7ac427305",
"txid": "bbd8646202ccddd3a4729b6023f9103f5e676a56e24337c392a01533b91dbf3c",
"blockheight": 121,
"fees_paid_msat": 2895898,
"outputs": [
Expand All @@ -255,7 +255,7 @@
"output_value_msat": 510181000,
"credit_msat": 510181000,
"currency": "bcrt",
"originating_account": "a397dd9b3e44afcb67f3f3ce1d649b74a8ade63e35505985e4cc1828634f69a2"
"originating_account": "channelid0230000230000230000230000230000230000230000230000230000"
}
]
}
Expand Down
Loading

0 comments on commit 80e7c7d

Please sign in to comment.