Current section

Files

Jump to
arweave_sdk_ex lib python get_root_hash.py
Raw

lib/python/get_root_hash.py

from arweave.merkle import compute_root_hash
import io
def get_root_hash(data):
return compute_root_hash(io.BytesIO(data))