Skip to main content

SubscribeOptions

scrypt-ts / SubscribeOptions

Interface: SubscribeOptions<T>

A options can be used to subscribe

Type parameters

Name
T

Table of contents

Properties

Properties

clazz

clazz: (...args: any) => T

Type declaration

new clazz(...args)

Contract typescript class

Parameters
NameType
...argsany

Defined in

dist/client/apis/contract-api.d.ts:10


id

id: ContractId

Contract id

Defined in

dist/client/apis/contract-api.d.ts:8


methodNames

Optional methodNames: string[]

Use methodNames to specify that only receive events when specific methods are called. The default is to notify when all methods are called

Defined in

dist/client/apis/contract-api.d.ts:12