I am new in tron
. Can we check default tron wallet address using any free api from server side?
Will it work using Dapp also? I tried javascript to check default address but it's not working in browser or dapp. Please check code below.
if (window.tronWeb.defaultAddress.base58) {
console.log("address", window.tronWeb.defaultAddress.base58)
}