This the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Network Fee

Network fee information is used to advise wallet users as to which fee they should include in their transactions based on network load.

While this form of network fee is still part of the Plugin SDK and used actively. It was kind of superseded by more specialized services that advise on slow, normal, fast fee values based on real-time blockchain activity.

Examples of varying fees based on network usage are:

  • Bitcoin and most other Utxo based networks satoshi per byte measure.
  • Ethereum gas price

Plugin Input

Please see heat-server-common/src/constants.ts for type definitions

interface { 
  /**
   * Enum of blockchain identifiers
   */ 
  blockchain?: Blockchains
}

Plugin Output

interface {
  /**
   * Gas price in wei units
   */
  gasPriceWei?: string;

  /**
   * Recommended number of satoshis per byte
   */
  satByte?: string;
}