You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 98757ec
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: patch_api/api/estimates_api.py
+156-2Lines changed: 156 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,7 @@ class EstimatesApi(object):
42
42
"year",
43
43
"transaction_value_btc_sats",
44
44
"timestamp",
45
+
"gas_used",
45
46
]
46
47
47
48
def__init__(self, api_client=None):
@@ -52,7 +53,7 @@ def create_bitcoin_estimate(
52
53
): # noqa: E501
53
54
"""Create a bitcoin estimate given a timestamp and transaction value # noqa: E501
54
55
55
-
Creates a bitcoin estimate for the amount of CO2 to be compensated. An order in the `draft` state may be created based on the parameters, linked to the estimate. # noqa: E501
56
+
Creates a bitcoin estimate for the amount of CO2 to be compensated. An order in the `draft` state may be created based on the parameters, linked to the estimate. # noqa: E501
56
57
This method makes a synchronous HTTP request by default. To make an
"""Create a bitcoin estimate given a timestamp and transaction value # noqa: E501
83
84
84
-
Creates a bitcoin estimate for the amount of CO2 to be compensated. An order in the `draft` state may be created based on the parameters, linked to the estimate. # noqa: E501
85
+
Creates a bitcoin estimate for the amount of CO2 to be compensated. An order in the `draft` state may be created based on the parameters, linked to the estimate. # noqa: E501
85
86
This method makes a synchronous HTTP request by default. To make an
"""Create an ethereum estimate given a timestamp and gas used # noqa: E501
201
+
202
+
Creates an ethereum estimate for the amount of CO2 to be compensated. An order in the `draft` state may be created based on the parameters, linked to the estimate. # noqa: E501
203
+
This method makes a synchronous HTTP request by default. To make an
"""Create an ethereum estimate given a timestamp and gas used # noqa: E501
230
+
231
+
Creates an ethereum estimate for the amount of CO2 to be compensated. An order in the `draft` state may be created based on the parameters, linked to the estimate. # noqa: E501
232
+
This method makes a synchronous HTTP request by default. To make an
0 commit comments