Chunks
Chunks are native data types in the Autonomi Network:
Size: 4MB of raw bytes
Content-addressed: Address is the hash of its content
Immutable & self-verifiable: Once stored, data cannot be modified, and its integrity can be verified by computing the hash and comparing it to the address.
Client Methods
chunk_get Retrieves a chunk from the network by its address.
chunk_put Uploads a chunk to the network with payment handling. Returns the total cost and the chunk's address.
chunk_cost Estimates the storage cost for a chunk.
Example
Last updated