Get a balance of my account in Songbird network
I am trying to get a wallet balance in Songbird network for my dApp, so I used useEtherBalance hook function to get it.
But it shows me "undefined". Is there any way to solve this?
@0xHir0 We're could use a little more details. Can you show your usedapp config? (redacting any secret tokens)
Though my wallet is not connected to the website, I have to get value from read functions of the smart contract, but now it's impossible. How can I solve the issue?
Can't I use @usedapp/[email protected] on Songbird network?
Hi, can you please check if it works on current dev version of useDApp: @usedapp/[email protected]?
Let me check
Still doesn't work.
Can you send your app config and failing code fragment?
Can we have a chat on discord?
Sure, my nickname: kvba
This is the config variable.
const config = {
readOnlyChainId: Songbird.chainId,
multicallAddresses: {
19: '0x60351436cf80A31EA6C3B261C784d3C127dBD6f1',
14: ''
},
};

I can't find you on discord.
I sent you a message yestarday, please check if you received it
This is the config variable.
const config = { readOnlyChainId: Songbird.chainId, multicallAddresses: { 19: '0x60351436cf80A31EA6C3B261C784d3C127dBD6f1', 14: '' }, };
Please check this config with latest dev version of useDApp:
const config = {
readOnlyChainId: Songbird.chainId,
readOnlyUrls: {
[Songbird.chainId]: 'https://songbird.towolabs.com/rpc',
}
}
Thanks very much. It works well.