CFeeRate::GetFee

Return the fee in satoshis for the given vsize in vbytes. If the calculated fee would have fractional satoshis, then the returned fee will always be rounded up to the nearest satoshi.

Synopsis

Declared in <policy/feerate.h>

CAmount
GetFee(int32_t virtual_bytes) const;

Return Value

Fee in satoshis for the given vsize.

Parameters

NameDescription
virtual_bytesTransaction virtual size, in vB.