getLightningFeeEstimateForNode

suspend fun getLightningFeeEstimateForNode(destinationNodePublicKey: String, amountMsats: Long): <Error class: unknown class><CurrencyAmount>

Returns an estimate of the fees that will be paid to send a payment to another Lightning node.

Parameters

destinationNodePublicKey

The public key of the node that you want to pay.

amountMsats

The payment amount expressed in msats.

Throws

If the user is not authenticated.