Fee includes the amount of coins paid in fees and the maximum gas to be used by the transaction. The ratio yields an effective "gasprice", which must be above some miminum to be accepted into the mempool.

from message cosmos.tx.v1beta1.Fee

Hierarchy

Constructors

Properties

amount: Coin[] = []

amount is the amount of coins to be paid as a fee

from field: repeated cosmos.base.v1beta1.Coin amount = 1;

gasLimit: bigint = protoInt64.zero

gas_limit is the maximum gas that can be used in transaction processing before an out of gas error occurs

from field: uint64 gas_limit = 2;

granter: string = ""

if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does not support fee grants, this will fail

from field: string granter = 4;

payer: string = ""

if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees. the payer must be a tx signer (and thus have signed this field in AuthInfo). setting this field does not change the ordering of required signers for the transaction.

from field: string payer = 3;

fields: FieldList = ...
runtime: ProtoRuntime = proto3
typeName: "cosmos.tx.v1beta1.Fee" = "cosmos.tx.v1beta1.Fee"

Methods