arbGasInfoReadContract
Type Aliases
ArbGasInfoAbi
type ArbGasInfoAbi: typeof arbGasInfo.abi;
Source
src/arbGasInfoReadContract.ts:6
ArbGasInfoFunctionName
type ArbGasInfoFunctionName: GetFunctionName<ArbGasInfoAbi>;
Source
src/arbGasInfoReadContract.ts:7
ArbGasInfoReadContractParameters<TFunctionName>
type ArbGasInfoReadContractParameters<TFunctionName>: object & GetFunctionArgs<ArbGasInfoAbi, TFunctionName>;
Type declaration
Member | Type |
---|---|
functionName | TFunctionName |
Type parameters
Type parameter |
---|
TFunctionName extends ArbGasInfoFunctionName |
Source
src/arbGasInfoReadContract.ts:9
ArbGasInfoReadContractReturnType<TFunctionName>
type ArbGasInfoReadContractReturnType<TFunctionName>: ReadContractReturnType<ArbGasInfoAbi, TFunctionName>;
Type parameters
Type parameter |
---|
TFunctionName extends ArbGasInfoFunctionName |
Source
src/arbGasInfoReadContract.ts:13
Functions
arbGasInfoReadContract()
function arbGasInfoReadContract<TChain, TFunctionName>(client: object, params: ArbGasInfoReadContractParameters<TFunctionName>): Promise<ArbGasInfoReadContractReturnType<TFunctionName>>
Type parameters
Type parameter |
---|
TChain extends undefined | Chain <undefined | ChainFormatters > |
TFunctionName extends |
| "getAmortizedCostCapBips" |
| "getCurrentTxL1GasFees" |
| "getGasAccountingParams" |
| "getGasBacklog" |
| "getGasBacklogTolerance" |
| "getL1BaseFeeEstimate" |
| "getL1BaseFeeEstimateInertia" |
| "getL1FeesAvailable" |
| "getL1GasPriceEstimate" |
| "getL1PricingEquilibrationUnits" |
| "getL1PricingFundsDueForRewards" |
| "getL1PricingSurplus" |
| "getL1PricingUnitsSinceUpdate" |
| "getL1RewardRate" |
| "getL1RewardRecipient" |
| "getLastL1PricingSurplus" |
| "getLastL1PricingUpdateTime" |
| "getMinimumGasPrice" |
| "getPerBatchGasCharge" |
| "getPricesInArbGas" |
| "getPricesInArbGasWithAggregator" |
| "getPricesInWei" |
| "getPricesInWeiWithAggregator" |
| "getPricingInertia" |
Parameters
Parameter | Type |
---|---|
client | object |
params | ArbGasInfoReadContractParameters <TFunctionName > |
Returns
Promise
<ArbGasInfoReadContractReturnType
<TFunctionName
>>