MCPcopy Create free account
hub / github.com/ccxt/ccxt / get_lighter_private_key

Method get_lighter_private_key

python/ccxt/lighter.py:424–433  ·  view source on GitHub ↗
(self, strAccountIndex: str, strApiKeyIndex: str)

Source from the content-addressed store, hash-verified

422 }
423
424 def get_lighter_private_key(self, strAccountIndex: str, strApiKeyIndex: str):
425 if not ('auths' in self.options):
426 return None
427 if not (strAccountIndex in self.options['auths']):
428 return None
429 if not (strApiKeyIndex in self.options['auths'][strAccountIndex]):
430 return None
431 if not ('lighterPrivateKey' in self.options['auths'][strAccountIndex][strApiKeyIndex]):
432 return None
433 return self.options['auths'][strAccountIndex][strApiKeyIndex]['lighterPrivateKey']
434
435 def pre_load_lighter_library(self, params={}):
436 """

Callers 15

create_sub_accountMethod · 0.95
approve_builder_feeMethod · 0.95
create_orderMethod · 0.95
edit_orderMethod · 0.95
fetch_open_ordersMethod · 0.95
fetch_closed_ordersMethod · 0.95
transferMethod · 0.95
fetch_transfersMethod · 0.95
fetch_depositsMethod · 0.95
fetch_withdrawalsMethod · 0.95
withdrawMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected