Trying to getBalance in Infura with rust-web3, but getting;
Error: Api(Transport("Unexpected response status code: 400 Bad Request"))
let transport = web3::transports::Http::new("https://:<secret>@ropsten.infura.io/v3/<project-id>")?;
The method call;
let ibalance = web3.eth().balance(accounts, 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.