Skip to content

Spent amount returned in payment tx response (Version: 2.6.2) #6072

@shortthefomo

Description

@shortthefomo

Motivation

When using the tfPartialPayment flag on payments the transaction result does return how much was delivered via delivered_amount. However it does not provide a simple way to know how much was spent, as inherently sometimes only a partial amount of the SendMax value is spent. One has to parse the meta data of the transaction to figure this out.

Solution

payment transaction responses should include a spent_amount field next to the delivered_amount

Metadata

Metadata

Assignees

Labels

Feature RequestUsed to indicate requests to add new featuresTriagedIssue/PR has been triaged for viability, liveliness, etc.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions