Skip to content

Method to send all funds / subtracting fees #217

@Sjors

Description

@Sjors

I tried to empty my balance, but this is non-trivial because I don't know what the fee is going to be.

phoenix-cli paylnaddress --address="...@phoenixwallet.me"  --amountSat=10000
{
    "paymentHash": "...",
    "reason": "not enough funds in wallet to afford payment"
}

Perhaps an argument like --subtractFee or --all could be added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions