JS API Reference

Interface: AgreementServiceOptions

agreement/service.AgreementServiceOptions

Hierarchy

  • AgreementOptions

    AgreementServiceOptions

Table of contents

Properties

Properties

agreementSelector

Optional agreementSelector: AgreementSelector

The selector used when choosing a provider from a pool of existing offers (from the market or already used before)

Defined in

src/agreement/service.ts:22


agreementMaxEvents

Optional agreementMaxEvents: number

The maximum number of events fetched in one request call

Defined in

src/agreement/service.ts:24


agreementEventsFetchingIntervalSec

Optional agreementEventsFetchingIntervalSec: number

interval for fetching agreement events

Defined in

src/agreement/service.ts:26


agreementMaxPoolSize

Optional agreementMaxPoolSize: number

The maximum number of agreements stored in the pool

Defined in

src/agreement/service.ts:28


yagnaOptions

Optional yagnaOptions: YagnaOptions

yagnaOptions

Inherited from

AgreementOptions.yagnaOptions

Defined in

src/agreement/agreement.ts:34


agreementRequestTimeout

Optional agreementRequestTimeout: number

timeout for create agreement and refresh details in ms

Inherited from

AgreementOptions.agreementRequestTimeout

Defined in

src/agreement/agreement.ts:36


agreementWaitingForApprovalTimeout

Optional agreementWaitingForApprovalTimeout: number

timeout for wait for provider approval after requestor confirmation in ms

Inherited from

AgreementOptions.agreementWaitingForApprovalTimeout

Defined in

src/agreement/agreement.ts:38


logger

Optional logger: Logger

Logger module

Inherited from

AgreementOptions.logger

Defined in

src/agreement/agreement.ts:40


eventTarget

Optional eventTarget: EventTarget

Event Bus implements EventTarget

Inherited from

AgreementOptions.eventTarget

Defined in

src/agreement/agreement.ts:42