UNPKG

@kaiachain/web3js-ext

Version:
9 lines (8 loc) 496 B
import { Web3Context } from "web3-core"; import { InternalTransaction } from "web3-eth"; import { EthExecutionAPI, Numbers, DataFormat, FormatType } from "web3-types"; export declare function getTransactionGasPricing<ReturnFormat extends DataFormat>(transaction: InternalTransaction, web3Context: Web3Context<EthExecutionAPI>, returnFormat: ReturnFormat): Promise<FormatType<{ gasPrice?: Numbers; maxPriorityFeePerGas?: Numbers; maxFeePerGas?: Numbers; }, ReturnFormat> | undefined>;