Market

marketDataTransferUpdates

marketDataTransferUpdates (handler: (data: DataTransferChannel) => void): [() => void, Promise<void>]

Parameters:

Returns:

[() => void, Promise<void>]

Source: index.d.ts, line 842, character 27

marketGetAsk

marketGetAsk (): Promise<SignedStorageAsk>

Returns:

Promise<SignedStorageAsk>

Source: index.d.ts, line 843, character 14

marketGetDealUpdates

marketGetDealUpdates (handler: (data: MinerDeal) => void): [() => void, Promise<void>]

Parameters:

Returns:

[() => void, Promise<void>]

Source: index.d.ts, line 844, character 22

marketGetRetrievalAsk

marketGetRetrievalAsk (): Promise<Ask>

Returns:

Promise<Ask>

Source: index.d.ts, line 845, character 23

marketImportDealData

marketImportDealData (cid: Cid, str: string): Promise<void>

Parameters:

  • cid: Cid
  • str: string

Returns:

Promise<void>

Source: index.d.ts, line 846, character 22

marketListDataTransfers

marketListDataTransfers (): Promise<Array<DataTransferChannel>>

Returns:

Promise<Array<DataTransferChannel>>

Source: index.d.ts, line 847, character 25

marketListDeals

marketListDeals (): Promise<Array<MarketDeal>>

Returns:

Promise<Array<MarketDeal>>

Source: index.d.ts, line 848, character 17

marketListIncompleteDeals

marketListIncompleteDeals (): Promise<Array<MinerDeal>>

Returns:

Promise<Array<MinerDeal>>

Source: index.d.ts, line 849, character 27

marketListRetrievalDeals

marketListRetrievalDeals (): Promise<Array<ProviderDealState>>

Returns:

Promise<Array<ProviderDealState>>

Source: index.d.ts, line 850, character 26

marketSetAsk

marketSetAsk (bigInt: string, bigInt1: string, chainEpoch: number, paddedPieceSize: number, paddedPieceSize1: number): Promise<void>

Parameters:

  • bigInt: string
  • bigInt1: string
  • chainEpoch: number
  • paddedPieceSize: number
  • paddedPieceSize1: number

Returns:

Promise<void>

Source: index.d.ts, line 851, character 14

marketSetRetrievalAsk

marketSetRetrievalAsk (ask: Ask): Promise<void>

Parameters:

Returns:

Promise<void>

Source: index.d.ts, line 852, character 23