UNPKG

wowok

Version:

Wowok Blockchain TypeScript API

1 lines 1.04 kB
import{StateService}from'./state_service.js';import{stackIntercept}from'@protobuf-ts/runtime-rpc';export class StateServiceClient{['_transport'];['typeName']=StateService['typeName'];['methods']=StateService['methods'];['options']=StateService['options'];constructor(a){this['_transport']=a;}['listDynamicFields'](a,b){const c=this['methods'][0x0],d=this['_transport']['mergeOptions'](b);return stackIntercept('unary',this['_transport'],c,d,a);}['listOwnedObjects'](a,b){const c=this['methods'][0x1],d=this['_transport']['mergeOptions'](b);return stackIntercept('unary',this['_transport'],c,d,a);}['getCoinInfo'](a,b){const c=this['methods'][0x2],d=this['_transport']['mergeOptions'](b);return stackIntercept('unary',this['_transport'],c,d,a);}['getBalance'](a,b){const c=this['methods'][0x3],d=this['_transport']['mergeOptions'](b);return stackIntercept('unary',this['_transport'],c,d,a);}['listBalances'](a,b){const c=this['methods'][0x4],d=this['_transport']['mergeOptions'](b);return stackIntercept('unary',this['_transport'],c,d,a);}}