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
Copy file name to clipboardExpand all lines: safeheron_api_sdk_python/api/account_api.py
+26-1Lines changed: 26 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,15 @@ def __init__(self):
12
12
# False: retrieve displayed wallet accounts
13
13
# Default: retrieve all wallet accounts
14
14
self.hiddenOnUI=None
15
+
# Filter wallets based on autoFuel setting:
16
+
# Default: Ignore this query parameter
17
+
# true: Only query wallets where autoFuel is set to true
18
+
# false: Only query wallets where autoFuel is set to false
19
+
self.autoFuel=None
20
+
# Wallet's archive status in Safeheron App and Web Console
21
+
# True: Archived
22
+
# False: Unarchived
23
+
self.archived=None
15
24
# Filter the response based on this account name prefix
16
25
self.namePrefix=None
17
26
# Filter the response based on this account name suffix
@@ -36,11 +45,13 @@ def __init__(self):
36
45
# Merchant unique business ID (100 characters max)
37
46
# The customerRefId uniquely represents a wallet. In the case of duplicate customerRefId values (for example, when resubmitting due to request timeouts or other errors), the data returned by the interface will remain consistent
38
47
self.customerRefId=None
39
-
# Whether display in Safeheron Console
48
+
# Whether display in Safeheron Console
40
49
# True: not display
41
50
# False: display
42
51
# Default: false
43
52
self.hiddenOnUI=None
53
+
# Auto-refuel. If set to true, the Gas Service will automatically supplement the Gas fee for the wallet when a transaction is initiated. The default value is false
54
+
self.autoFuel=None
44
55
# Account tag
45
56
self.accountTag=None
46
57
# Coin key list, 20 array elements max
@@ -56,6 +67,8 @@ def __init__(self):
56
67
# False: display
57
68
# Default: true
58
69
self.hiddenOnUI=None
70
+
# Auto-refuel. If set to true, the Gas Service will automatically supplement the Gas fee for the wallet when a transaction is initiated. The default value is false
71
+
self.autoFuel=None
59
72
# Number of wallets to be created, greater than 0, less than 100
60
73
self.count=None
61
74
# Account tag
@@ -79,6 +92,13 @@ def __init__(self):
79
92
# Account tag
80
93
self.accountTag=None
81
94
95
+
classBatchUpdateAccountFuelRequest:
96
+
def__init__(self):
97
+
# Account key, max is 100
98
+
self.accountKeyList=None
99
+
# If set to true, Gas Service will automatically supplement the transaction fee (Gas) for the wallet when a transaction is initiated
# Set the autoFuel property for a batch of wallet accounts. Setting it to true means that the Gas Service will automatically supplement the transaction fee (Gas) for that wallet when a transaction is initiated; setting it to false means the Gas Service will no longer supplement the transaction fee for the wallet.
# Add a new coin to your wallet account, while generating the default address group for the added coin. Once successfully completed, it will return the address information of the newly created default address group. In case the added currency already exists within the account, it will promptly return the existing default address group information for that coin.
216
241
# In a wallet account, UTXO-based cryptocurrencies can have multiple address groups, while other types of cryptocurrencies usually have only one. To check whether a particular cryptocurrency supports the addition of multiple address groups, simply check the 'isMultipleAddress' parameter through the Coin List.
0 commit comments