@@ -67,6 +67,8 @@ import {
67
67
FireFlyBlockchainEventResponse ,
68
68
FireFlyDataBlobRequest ,
69
69
FireFlyDataBlobRequestDefaults ,
70
+ FireFlyVerifierResolveRequest ,
71
+ FireFlyVerifierResolveResponse ,
70
72
} from './interfaces' ;
71
73
import { FireFlyWebSocket , FireFlyWebSocketCallback } from './websocket' ;
72
74
import HttpBase , { mapConfig } from './http' ;
@@ -301,6 +303,11 @@ export default class FireFly extends HttpBase {
301
303
return this . createOne < FireFlyTokenTransferResponse > ( '/tokens/burn' , transfer , options ) ;
302
304
}
303
305
306
+ resolveVerifier ( input : FireFlyVerifierResolveRequest , namespace ?: string ) : Promise < FireFlyVerifierResolveResponse > {
307
+ namespace = namespace ?? this . options . namespace ;
308
+ return this . createOne < FireFlyVerifierResolveResponse > ( `/namespaces/${ namespace } /verifiers/resolve` , input ) ;
309
+ }
310
+
304
311
getTokenTransfers (
305
312
filter ?: FireFlyTokenTransferFilter ,
306
313
options ?: FireFlyGetOptions ,
@@ -504,11 +511,12 @@ export default class FireFly extends HttpBase {
504
511
505
512
getBlockchainEvent (
506
513
id : string ,
507
- options ?: FireFlyGetOptions ,
508
514
) : Promise < FireFlyBlockchainEventResponse | undefined > {
509
515
return this . getOne < FireFlyBlockchainEventResponse > ( `/blockchainevents/${ id } ` , options ) ;
510
516
}
511
517
518
+
519
+
512
520
listen (
513
521
subscriptions : string | string [ ] | FireFlySubscriptionBase ,
514
522
callback : FireFlyWebSocketCallback ,
0 commit comments