Strike Docs
Search…
⌃K

Get Strk Balance

Get the balance of STRK tokens held by an address.
  • _address (string) The address in which to find the STRK balance.
  • [_provider] (Provider | string) An Ethers.js provider or valid network name string.
  • RETURN (string) Returns a string of the numeric balance of STRK. The value is scaled up by 18 decimal places.
(async function () {
const bal = await Strike.strike.getStrikeBalance('0x752dfb1C709EeA4621c8e95F48F3D0B6dde5d126');
console.log('Balance', bal);
})().catch(console.error);