@sailfox/osmo-kit

1.0.0 • Public • Published

osmo-kit

This is a toolkit for osmo transfer and query balance.

functions

  • query balance from osmosis chain and transfer it
import {queryBalance,transfer} from 'osmo-kit';

const taskquery = async ()=>{
  const balance = await queryBalance(mnemonic,0,axl_rpc);
  console.log(balance);
}

const tasktransfer = async ()=>{
  const result = await transfer(mnemonic,from,to,amount,customgas,rpc);
  console.log(result);
}

Readme

Keywords

none

Package Sidebar

Install

npm i @sailfox/osmo-kit

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

1.81 kB

Total Files

3

Last publish

Collaborators

  • sailfox