Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/canopy-network/canopy
/ bytes_to_hex
Function
bytes_to_hex
plugin/python/tutorial/rpc_test.py:63–65 ·
view source on GitHub ↗
Convert bytes to hex string.
(b: bytes)
Source
from the content-addressed store, hash-verified
61
62
63
def
bytes_to_hex(b: bytes) -> str:
64
""
"Convert bytes to hex string."
""
65
return
b.hex()
66
67
68
def
post_raw_json(url: str, json_body: str) -> str:
Callers
1
build_sign_and_send_tx
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected