feePerByte or totalFee is used to set the appropriate transaction fee parameter.
If both are set then totalFee takes precedence.
NOTE: SDK expectsfee: number and boolean flatFee. But the API expects only one
on parameter: fee. Here, we define feePerByte and totalFee - both as numberic
parameters. We think that this is more explicit.
feePerByte or totalFee is used to set the appropriate transaction fee parameter. If both are set then totalFee takes precedence. NOTE: SDK expects
fee: number
and booleanflatFee
. But the API expects only one on parameter:fee
. Here, we define feePerByte and totalFee - both as numberic parameters. We think that this is more explicit.