exchain-javascript-sdk icon indicating copy to clipboard operation
exchain-javascript-sdk copied to clipboard

OKC javascript sdk

Results 6 exchain-javascript-sdk issues
Sort by recently updated
recently updated
newest added

Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1. Commits 2449650 Update mocha 560b2d8 Don't use regex to trim whitespace b1bdb92 Remove linting package zoo c20dc7e Cache 308 See full diff in compare...

dependencies

rpc很卡的时候 会出现 我调用的时候try catch没用,得sdk解决下bug吧(测试网环境~) ``` UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'result' of null at OKEXChainClient.getAccountNumberFromAccountInfo (C:\Users\Desktop\dd\ok\node_modules\@okexchain\javascript-sdk\lib\client.js:1005:26) at OKEXChainClient._callee5$ (C:\Users\Desktop\dd\ok\node_modules\@okexchain\javascript-sdk\lib\client.js:302:44) at tryCatch (C:\Users\Desktop\dd\ok\node_modules\regenerator-runtime\runtime.js:65:40) at Generator.invoke [as _invoke] (C:\Users\Desktop\dd\ok\node_modules\regenerator-runtime\runtime.js:303:22) at Generator.prototype. [as...

OKChainClient.sendSendTransaction('okchain1nq8qlnvf6amlpce3gdruhq30s898rk74cxf8ws', 1, 'tokt', 'memo') signmsg: {"account_number":"203990","chain_id":"okchain","fee":{"amount":[{"amount":"0.02000000","denom":"okt"}],"gas":"200000"},"memo":"memo","msgs":[{"type":"okchain/token/MsgTransfer","value":{"amount":[{"amount":1,"denom":"tokt"}],"from_address":"okchain16rnm0mxa7n7ct3sk8llkqlmepdqkaspv6rdsny","to_address":"okchain1nq8qlnvf6amlpce3gdruhq30s898rk74cxf8ws"}}],"sequence":"0"} {"tx":{"msg":[{"type":"okchain/token/MsgTransfer","value":{"amount":[{"amount":1,"denom":"tokt"}],"from_address":"okchain16rnm0mxa7n7ct3sk8llkqlmepdqkaspv6rdsny","to_address":"okchain1nq8qlnvf6amlpce3gdruhq30s898rk74cxf8ws"}}],"signatures":[{"pub_key":{"type":"tendermint/PubKeySecp256k1","value":"AtTmrhRPNrQEKqDFQL7N1cPdYHsl2saqdkPsLoVOBFbH"},"signature":"W4OrJ9LRsehXdX3FfpDysQOoMvIy3RbN1auQn6LDz0sRNZP6N7Mf/2qG9/EvyHRR+FsPty/hRAuewU83iPXIBw=="}],"memo":"memo","fee":{"amount":[{"amount":"0.02000000","denom":"okt"}],"gas":"200000"}},"mode":"block"} HttpProxy { error: 'json: cannot unmarshal number into Go value of type string' }