cosmos-rest
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -57,3 +57,7 @@ 'use strcit'; | ||
} | ||
async query_tx(txhash){ | ||
const data = await this.request('GET',`/txs/${txhash}`); | ||
return data; | ||
} | ||
} | ||
export default Client; |
{ | ||
"name": "cosmos-rest", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "A js sdk for cosmos blockchain", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -29,4 +29,5 @@ # cosmos-rest | ||
cosmosClient.game_relay(json[,callback]) | ||
//交易查询 | ||
cosmosClient.query_tx(txhash[,callback]) | ||
``` | ||
[contact me](wks19921023@163.com 'contact me') |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24577
211
32