UNPKG
@vechain.energy/gas
Version:
latest (1.1.0)
1.1.0
1.0.4
1.0.3
1.0.2
calculate estimated gas usage for transactions
vechain.energy
vechain-energy/gas
@vechain.energy/gas
/
types
/
index.d.ts
10 lines
(9 loc)
•
295 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
type
Options
= {
nodeOrConnex
?:
Connex
|
string
;
caller
?:
string
;
gasPriceCoef
?:
number
;
maxFeePerGas
?:
string
|
number
;
maxPriorityFeePerGas
?:
string
|
number
; };
export
default
function
estimate
(
clauses
:
Connex
.VM.
Clause
[],
_options
?:
Options
):
Promise
<
number
>;
export
{};