importing bank module

I am trying to import bank module in my nodejs application as

const router= express.Router();
const axios = require("axios");
const {bank} =require("@cosmjs/stargate")

router.get("/", async(req,res)=>{
console.log(bank.balance("cosmos1p3ucd3ptpw902fluyjzhq3ffgq4ntddac9sa3s","uatom"))
  })

. I dont know the correct way to import it. i want to fetch account for a cosmos balance via node js. continuation of this

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.