feat: expose feeCalculator
This commit is contained in:
13
web3.js/src/fee-calculator.js
Normal file
13
web3.js/src/fee-calculator.js
Normal file
@@ -0,0 +1,13 @@
|
||||
// @flow
|
||||
|
||||
/**
|
||||
* @typedef {Object} FeeCalculator
|
||||
* @property {number} lamportsPerSignature lamports Cost in lamports to validate a signature
|
||||
* @property {number} targetLamportsPerSignature
|
||||
* @property {number} targetSignaturesPerSlot
|
||||
*/
|
||||
export type FeeCalculator = {
|
||||
lamportsPerSignature: number,
|
||||
targetSignaturesPerSlot: number,
|
||||
targetLamportsPerSignature: number,
|
||||
};
|
Reference in New Issue
Block a user