Skip to main content

Events

Existing fee event continue to show total fee charged

Any Tx

If a Tx was successful, or if it failed, but the min fee was charged, these two events are emitted:

TypeAttribute KeyAttribute Value
txfeetotal fee (coins)
txmin_fee_chargedfloor gas price * gas (coins)

Tx with Additional Fee

If there are tx msgs that have additional fees, and those fees were successfully charged, a breakdown event will be emitted.

Type: tx

Attribute KeyAttribute Value
additionalfeeadditional fee charged (coins)
basefeetotal fee - additional fee, should always cover gas costs (coins)

Tx Summary Event

If there are tx msgs that have additional fees, and those fees were successfully charged, a summary event will be emitted.

Type: provenance.msgfees.v1.EventMsgFees

TypeAttribute KeyAttribute Value
EventMsgFeesMsgFeesA JSON list of EventMsgFee entries summarizing each msg type and recipient.

Each EventMsgFee has the following fields:

Field NameField Value
type_urlThe type url for the tx msg that has a msg fee.
countA count of txs with this msg type.
totalThe total amount of additional fees for this msg type and recipient (type_url count * msg fee = total)
recipientthe bech32 address that the fee was sent to. An empty string indicates the module is the recipient.

Add/Update/Remove Proposal

Governance proposals events(for proposed msg fees) will continue to be emitted by cosmos sdk. (https://github.com/cosmos/cosmos-sdk/blob/master/x/gov/spec/04_events.md)