I have the following code:
import requests
url = "https://eth-mainnet.g.alchemy.com/v2/<REDACTED_API_KEY>/findContractDeployer"
payload = {"contractAddress": "0x514910771AF9Ca656af840dff83E8264EcF986CA"}
headers = {
"accept": "application/json",
"content-type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
However, I keep getting "Not Found" to return. But this is identical to what is in the Alchemy docs.
This is happening on a few different endpoints, and I get the same error running this as a curl command. What is going on?
findContractDeployer
endpoint but used onlyeth_getCode
to perform binary search for the deployment tx (where the code of that address from 0x0 becomes something else) : github.com/alchemyplatform/alchemy-sdk-js/blob/…. Probably that endpoint doesn't work