lnd accounting reports
npm install ln-accountingShow LN sends and receives in Harmony
format



Get an accounting summary of wallet
Note: Chain fees does not include chain fees paid to close channels
{
[after]:
[before]:
[category]:
currency:
[fiat]:
lnd:
[network]:
[rate]:
[rate_provider]:
request:
}
@returns via cbk or Promise
{
[chain_fees]: [{
[amount]:
[asset]:
[created_at]:
[external_id]:
[from_id]:
[id]:
[notes]:
[to_id]:
[type]:
}]
[chain_fees_csv]:
[chain_sends]: [{
[amount]:
[asset]:
[created_at]:
[external_id]:
[from_id]:
[id]:
[notes]:
[to_id]:
[type]:
}]
[chain_sends_csv]:
[forwards]: [{
[amount]:
[asset]:
[created_at]:
[external_id]:
[from_id]:
[id]:
[notes]:
[to_id]:
[type]:
}]
[forwards_csv]:
[invoices]: [{
[amount]:
[asset]:
[created_at]:
[external_id]:
[from_id]:
[id]:
[notes]:
[to_id]:
[type]:
}]
[invoices_csv]:
[payments]: [{
[amount]:
[asset]:
[created_at]:
[external_id]:
[from_id]:
[id]:
[notes]:
[to_id]:
[type]:
}]
[payments_csv]:
}
Get chain transactions, including sweep fees
{
[after]:
[before]:
lnd:
request:
}
@returns via cbk or Promise
{
transactions: [{
[block_id]:
[confirmation_count]:
[confirmation_height]:
created_at:
[description]:
[fee]:
id:
is_confirmed:
is_outgoing:
output_addresses: []
tokens:
[transaction]:
}]
}
Parse a described amount into tokens
{
amount:
[variables]: {
}
}
@throws
@returns
{
tokens:
}
Rate provider source options
[
Constants:
[