MCPcopy Create free account
hub / github.com/ChainSafe/Delorean-Protocol / getTransactionFees

Function getTransactionFees

contracts/scripts/util.ts:64–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62}
63
64export async function getTransactionFees() {
65 const feeData = await ethers.provider.getFeeData()
66
67 return {
68 maxFeePerGas: feeData.maxFeePerGas,
69 maxPriorityFeePerGas: feeData.maxPriorityFeePerGas,
70 type: 2,
71 }
72}
73
74interface Facet {
75 facetAddress: string

Callers 6

deployFunction · 0.90
deployFunction · 0.90
deployFunction · 0.90
deploySubnetActorDiamondFunction · 0.90
cutFacetOnChainFunction · 0.85
upgradeFacetOnChainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected