saepenatus
Version:
Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, mul
28 lines (25 loc) • 596 B
text/typescript
export type GasPrice = {
confidence: number
price: number | null
maxFeePerGas: number | null
maxPriorityFeePerGas: number | null
}
export type RPCGasPrice = {
price: string
maxFeePerGas: string
maxPriorityFeePerGas: string
}
export interface GasData {
estimatedPrices: GasPrice[]
baseFeePerGas: number| null
blockNumber: number | null
maxPrice: number | null
estimatedTransactionCount: number | null
seconds: number | null
estimatedBaseFees?: [EstimatedBaseFee]
isTrendingUp?: boolean
}
export interface EstimatedBaseFee {
confidence: number
baseFee: number
}