Hi,
I’m getting 401 errors when trying to get block traces from the BSC speedy node:
import requests
headers={'Content-Type': 'application/json'}
data='{"method":"debug_traceBlockByNumber","params":["0xc7e552",{"timeout":"15s", "tracer":"callTracer"}],"id":1,"jsonrpc":"2.0"}'
requests.post(nodeUrl, headers = headers, data=data)
The response code is 401 and the text is “Unauthorized”
Thanks!