Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cosmos-rest

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cosmos-rest - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

10

index.js

@@ -65,3 +65,13 @@ 'use strcit';

}
//查询余额 balances
async get_balances(address){
const data = await this.request('GET',`/bank/balances/${address}`);
return data;
}
//转账
async transfer_accounts(json){
const data = await this.request('POST','/txs',json);
return data;
}
}
export default Client;

2

package.json
{
"name": "cosmos-rest",
"version": "0.1.2",
"version": "0.1.3",
"description": "A js sdk for cosmos blockchain",

@@ -5,0 +5,0 @@ "main": "./index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc