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

Method binary_to_urlencoded_base64

python/ccxt/base/exchange.py:1736–1738  ·  view source on GitHub ↗
(data: bytes)

Source from the content-addressed store, hash-verified

1734 }
1735
1736 def binary_to_urlencoded_base64(data: bytes) -> str:
1737 encoded = base64.urlsafe_b64encode(data).decode("utf-8")
1738 return encoded.rstrip("=")
1739
1740 @staticmethod
1741 def eddsa(request, secret, curve='ed25519', url_encode=False):

Callers 1

eddsaMethod · 0.80

Calls 1

decodeMethod · 0.45

Tested by

no test coverage detected