@kaiachain/web3js-ext
Version:
web3.js extension for kaiachain blockchain
9 lines (8 loc) • 496 B
TypeScript
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>;