1.3.0 • Published 3 years ago
@cityofzion/neon-event-listener v1.3.0
Neon-EventListener
Install
npm i @cityofzion/neon-event-listenerInitialize NeonEventListener
To use NeonEventListener as a Neo3EventListener you can simply instantiate NeonEventListener and pass the NeonEventListener instance to the SDK that requires a Neo3EventListener.
import { NeonEventListener } from '@cityofzion/neon-event-listener'
const neonEventListener: Neo3EventListener = new NeonEventListener(NeonEventListener.MAINNET)Usage
The usage of NeonEventListener is documented in the Neo3-EventListener Docs.