Fee is the consensus transaction fee the sender wishes to pay for operations which require a fee to be paid to validators.

interface ConsensusFee {
    amount: Uint8Array;
    gas: longnum;



amount: Uint8Array

Amount is the fee amount to be paid.

gas: longnum

Gas is the maximum gas that a transaction can use.