- Preparing search index...
- The search index is not available
@zrclib/sdk
Constructors
constructor
- new EventStoreWriter(store, utxoEventDecryptor): EventStoreWriter
-
Properties
Private
store
store: AccountStore
Private
utxoEventDecryptor
Methods
getUnspentUtxos
- getUnspentUtxos(): Promise<Record<string, Utxo[]>>
-
Returns Promise<Record<string, Utxo[]>>
getUtxosUpTo
- getUtxosUpTo(amount, asset): Promise<Utxo[]>
-
Parameters
-
amount: number | BigNumber
-
asset: number | BigNumber
Returns Promise<Utxo[]>
start
- start(): Promise<void>
-
Returns Promise<void>
stop
- stop(): Promise<void>
-
Returns Promise<void>
Connect a contract with an account store and passing events to the account store