@sailfox/osmo-kit
v1.0.0
Published
This is a osmo kit with cosmjs sdk
Downloads
2
Readme
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);
}