Guide and Examples
Verify your connection
user = client.get_current_user()
print(f"Connected as: {user.email}")
print(f"Blockchain address: {user.last_address}")Collections
Create a collection
collection = client.create_collection(
name="daily-demand-forecasts",
description="Daily demand forecasts by region",
)
print(f"Collection CID: {collection.cid}")Retrieve collections
collections = client.get_collections()
for c in collections:
print(f"{c.name}: {c.cid}")Stamping
Stamp a file
Stamp structured data
Commitment receipt
Idempotency
Verifying stamps
Uploading a previously stamped file
Client lifecycle
Reference
Last updated

