posthttps://api.circle.com/v1/w3s/templates/{id}/deploy/estimateFee
Estimate the fee required to deploy contract by template.
Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
The universally unique identifier of the resource.
The blockchain network that the resource is to be created on or is currently on.
Required along with sourceAddress if you don't provide walletId. The blockchain and walletId fields are mutually exclusive.
Source address of the transaction. Required along with blockchain if walletId is not provided.
The sourceAddress and walletId fields are mutually exclusive.
JSON object that contains the template deployment parameters used to initialize the contract(s) on-chain.
Unique system generated identifier of the wallet. For contract deploys this wallet ID will be used as the source.
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 "networkFeeRaw": "0.0001246397138",
11 "l1Fee": "0.000000000000140021"
12 },
13 "low": {
14 "gasLimit": "21000",
15 "gasPrice": "",
16 "maxFee": "5.935224468",
17 "priorityFee": "1.022783914",
18 "baseFee": "1.022783914",
19 "networkFee": "0.0001246397138",
20 "networkFeeRaw": "0.0001246397138",
21 "l1Fee": "0.000000000000140021"
22 },
23 "medium": {
24 "gasLimit": "21000",
25 "gasPrice": "",
26 "maxFee": "5.935224468",
27 "priorityFee": "1.022783914",
28 "baseFee": "1.022783914",
29 "networkFee": "0.0001246397138",
30 "networkFeeRaw": "0.0001246397138",
31 "l1Fee": "0.000000000000140021"
32 }
33 }
34}