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

Function decode_api_key

python/ccxt/static_dependencies/lighter_client/signer.py:134–138  ·  view source on GitHub ↗
(result: SignedTxResponse)

Source from the content-addressed store, hash-verified

132 lighterSigner.Free(ptr)
133
134def decode_api_key(result: SignedTxResponse) -> Union[Tuple[str, str, None], Tuple[None, None, str]]:
135 private_key_str = decode_and_free(result.privateKey)
136 public_key_str = decode_and_free(result.publicKey)
137 error = decode_and_free(result.err)
138 return private_key_str, public_key_str, error
139
140def decode_tx_info(result: SignedTxResponse) -> Union[Tuple[str, str, str, None], Tuple[None, None, None, str]]:
141 tx_type = result.txType

Callers 1

Calls 1

decode_and_freeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…