Hi all,
Trying to getBalance in Infura with rust-web3, but getting;
Error: Api(Transport("Unexpected response status code: 400 Bad Request"))
Using uri;
let transport = web3::transports::Http::new("https://:<secret>@ropsten.infura.io/v3/<project-id>")?;
The method call;
let ibalance = web3.eth().balance(accounts[0], None).await?;
The same call works fine with web3.js.
Someone can give me a clue?
Can I access logs in Infura to see whats happening behind the scene?
Thanks in advance.