Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Fee Mechanism

SGN Fee

SGN charges fees to sync, store, and sign messages. Whoever calls sendMessageWithTransfer or sendMessage in MessageBusSender should put some fee as msg.value in the transaction, which will later be distributed to SGN validators and delegators. The fee amount is calculated as feeBase + _message.length * feePerByte.

Executor Fee

Executor charges fees to submit execute message transactions. How to charge and distribute executor fees is entirely decided at the application level. Celer IM framework does not enforce any executor fee mechanism.