[#CFeeRate-2constructor-0a] = xref:CFeeRate.adoc[CFeeRate]::CFeeRate :relfileprefix: ../ :mrdocs: Construct a fee rate from a fee in satoshis and a vsize in vB. == Synopsis Declared in `<policy/feerate.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- CFeeRate( xref:CAmount.adoc[CAmount] const& nFeePaid, int32_t virtual_bytes); ---- == Description Passing any virtual_bytes less than or equal to 0 will result in 0 fee rate per 0 size. == Parameters [cols="1,4"] |=== | Name| Description | *nFeePaid* | Fee paid, in satoshis. | *virtual_bytes* | Transaction virtual size, in vB. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#