We refreshed our doc site!
Bookmarked links may have changed
Read release notesPOSThttps://api.circle.com/v1/w3s/contracts/deploy/estimateFee
Estimate the network fee for deploying a smart contract on a specified blockchain, given the contract bytecode.
Bytecode of the contract being deployed.
The contract's ABI in a JSON stringified format.
The blockchain network that the resource is to be created on or is currently on.
Signature of the constructor if the contract has one. constructor() by default.
A list of arguments to pass to the contract's constructor function. Must be an empty array if there are no constructor parameters.
The source address of the transaction.
System-generated unique identifier of the resource.
1{
2 "data": {
3 "high": {
4 "gasLimit": "21000",
5 "gasPrice": "",
6 "maxFee": "5.935224468",
7 "priorityFee": "1.022783914",
8 "baseFee": "1.022783914",
9 "networkFee": "0.0001246397138"
10 },
11 "low": {
12 "gasLimit": "21000",
13 "gasPrice": "",
14 "maxFee": "5.935224468",
15 "priorityFee": "1.022783914",
16 "baseFee": "1.022783914",
17 "networkFee": "0.0001246397138"
18 },
19 "medium": {
20 "gasLimit": "21000",
21 "gasPrice": "",
22 "maxFee": "5.935224468",
23 "priorityFee": "1.022783914",
24 "baseFee": "1.022783914",
25 "networkFee": "0.0001246397138"
26 }
27 }
28}