Hub JS Package

Hub JS Package

  • Users
  • Buckets
  • Threads
  • Textile Docs

›Experimental

Buckets

  • Buckets.copyAuth() method
  • Buckets.withUserAuth() method
  • Buckets.withKeyInfo() method
  • Buckets.getToken() method
  • Buckets.getTokenChallenge() method
  • Buckets.setToken() method
  • Buckets.withThread() method
  • Buckets.getOrCreate() method
  • Buckets.create() method
  • Buckets.existing() method
  • Buckets.root() method
  • Buckets.links() method
  • Buckets.list() method
  • Buckets.listPath() method
  • Buckets.listPathFlat() method
  • Buckets.listIpfsPath() method
  • Buckets.movePath() method
  • Buckets.open() method
  • Buckets.pushPath() method
  • Buckets.pushPaths() method
  • Buckets.pushPathAccessRoles() method
  • Buckets.pullPath() method
  • Buckets.pullPathAccessRoles() method
  • Buckets.pullIpfsPath() method
  • Buckets.remove() method
  • Buckets.removePath() method
  • Buckets.setPath() method

Experimental

  • Archive interface
  • ArchiveDealInfo interface
  • ArchiveStatus enum

Types

  • GetOrCreateOptions interface
  • GetOrCreateResponse interface
  • CreateOptions interface
  • CreateResponse interface
  • Links interface
  • Path interface
  • PathAccessRole enum
  • PathItem interface
  • Root interface
  • BuckMetadata interface

@textile/hub > ArchiveDealInfo

ArchiveDealInfo interface

Information about a Filecoin deal for a bucket archive.

Signature:

export interface ArchiveDealInfo 

Properties

PropertyTypeDescription
activationEpochnumberThe epoch in which the deal became active, or 0 if it is not yet active.
dealIdnumberThe deal id.
durationnumberThe duration of the deal in epochs.
messagestringA message from the miner.
minerstringThe id of the miner for the deal.
pieceCidstringThe piece cid.
pricePerEpochnumberThe storage price in units of attoFIL per GiB per epoch.
proposalCidstringThe cid of the deal proposal.
sizenumberThe size of the stored data in bytes, including padding.
startEpochnumberThe start epoch of the deal.
stateIdnumberThe id of the current deal state.
stateNamestringThe name of the current deal state.
← PreviousNext →
  • ArchiveDealInfo interface
  • Properties
Hub JS Package
Docs
Getting StartedThreadDBBuckets
Resources
All DocumentationProject SlackBlog
More
GitHubStar
Follow @textileio