wowok
Version:
Wowok Blockchain TypeScript API
1 lines • 1.34 kB
JavaScript
import{LedgerService}from'./ledger_service.js';import{stackIntercept}from'@protobuf-ts/runtime-rpc';export class LedgerServiceClient{['_transport'];['typeName']=LedgerService['typeName'];['methods']=LedgerService['methods'];['options']=LedgerService['options'];constructor(a){this['_transport']=a;}['getServiceInfo'](a,b){const c=this['methods'][0x0],d=this['_transport']['mergeOptions'](b);return stackIntercept('unary',this['_transport'],c,d,a);}['getObject'](a,b){const c=this['methods'][0x1],d=this['_transport']['mergeOptions'](b);return stackIntercept('unary',this['_transport'],c,d,a);}['batchGetObjects'](a,b){const c=this['methods'][0x2],d=this['_transport']['mergeOptions'](b);return stackIntercept('unary',this['_transport'],c,d,a);}['getTransaction'](a,b){const c=this['methods'][0x3],d=this['_transport']['mergeOptions'](b);return stackIntercept('unary',this['_transport'],c,d,a);}['batchGetTransactions'](a,b){const c=this['methods'][0x4],d=this['_transport']['mergeOptions'](b);return stackIntercept('unary',this['_transport'],c,d,a);}['getCheckpoint'](a,b){const c=this['methods'][0x5],d=this['_transport']['mergeOptions'](b);return stackIntercept('unary',this['_transport'],c,d,a);}['getEpoch'](a,b){const c=this['methods'][0x6],d=this['_transport']['mergeOptions'](b);return stackIntercept('unary',this['_transport'],c,d,a);}}