Skip to main content

Python SDK - Verify

Basic usage

proof = collection.verify()

print(f"Verified: {proof.verified}")
print(f"Root: {proof.on_chain_root}")
print(f"Vectors: {proof.vector_count}")
print(f"Explorer: {proof.solana_explorer_url}")

Result fields

FieldTypeDescription
verifiedboolTrue if on-chain root matches local
on_chain_rootstrMerkle root on Solana
local_rootstrLocally computed Merkle root
vector_countintNumber of vectors
block_timeintUnix timestamp of write
solana_explorer_urlstrExplorer link

Note

.verify() takes ~400ms due to Solana RPC. Call after writes for audit purposes, not in the query path.