Skip to main content

ots_getContractCreator RPC Method

Returns the transaction hash and the direct address that initiated the creation of the contract when given an Ethereum contract address.

Updated on
Nov 2, 2023

ots_getContractCreator RPC Method

Parameters

address
string
REQUIRED
The ETH address that may contain a contract

Returns

result
object
An object containing the following attributes, or null if the address does not contain a contract
hash
string
The tx hash of the transaction who created the contract
creator
string
The address who directly created the contract
Request
1
curl https://docs-demo.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"method":"ots_getContractCreator","params":["0x9008D19f58AAbD9eD0D60971565AA8510560ab41"],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free