Interface: SingleOwnerChunk
Defined in: core-sdk/src/chunk/soc.ts:52
Single Owner Chunk (SOC) - a chunk type where the address is determined by the owner and an arbitrary identifier. Its integrity is attested by the owner's digital signature rather than by hashing the content directly.
spanindicates the size of thepayloadin bytes.payloadcontains the actual data or the body of the chunk.datacontains the full chunk data -identifier,signature,spanandpayload.addressis the Swarm hash (or reference) of the chunk.identifieris an arbitrary identifier selected by the uploader.signatureis the 65-byte (r || s || v) signature of the owner over the identifier and the wrapped chunk's address.owneris the Ethereum address of the chunk owner.
Properties
address
address:
Reference
Defined in: core-sdk/src/chunk/soc.ts:56
data
readonlydata:Uint8Array
Defined in: core-sdk/src/chunk/soc.ts:53
identifier
identifier:
Identifier
Defined in: core-sdk/src/chunk/soc.ts:57
owner
owner:
EthAddress
Defined in: core-sdk/src/chunk/soc.ts:59
payload
payload:
Bytes
Defined in: core-sdk/src/chunk/soc.ts:55
signature
signature:
Signature
Defined in: core-sdk/src/chunk/soc.ts:58
span
span:
Span
Defined in: core-sdk/src/chunk/soc.ts:54