yajsapi - Java Script high-level API
Yagna Contributor Guide

Class: AgreementCreated

yajsapi / Exports / executor/events / AgreementCreated

Class: AgreementCreated

executor/events.AgreementCreated

Hierarchy

  • AgreementEvent

    AgreementCreated

Table of contents

Constructors

Properties

Methods

Constructors

constructor

Parameters:

__namedParameters: Object

Returns: AgreementCreated

Defined in: yajsapi/executor/events.ts:128

Properties

agr_id

Optional agr_id: undefined | string

Defined in: yajsapi/executor/events.ts:123

provider_id

Optional provider_id: undefined | string

Defined in: yajsapi/executor/events.ts:127

provider_info

Optional provider_info: undefined | NodeInfo

Defined in: yajsapi/executor/events.ts:128

Methods

extract_exc_info

extract_exc_info(): [undefined | null | Error, YaEvent]

Extract exception information from this event.

Returns: [undefined | null | Error, YaEvent]

The extracted exception information and a copy of the event without the exception information.

Defined in: yajsapi/executor/events.ts:17