Skip to content

How to get transaction fee? #1257

@sergeyshub

Description

@sergeyshub

Can anyone point me to an example of how to get transaction miner fee with NBitcoin, given the transaction hash? I found this method:

public virtual Money GetFee(ICoin[] spentCoins)

but not sure what to pass there. Thank you!

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