ots_getContractCreator
JSON-RPC method retrieves the transaction hash and creator address for a deployed contract on the Hyperliquid EVM blockchain. This Otterscan-specific method helps identify who deployed a smart contract and in which transaction.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
- contract address (string, required): The address of the deployed contract
Response
The method returns an object containing the creator address and deployment transaction hash, or null if the address is not a contract or information is unavailable.Response structure
hash
— the transaction hash where the contract was createdcreator
— the address that deployed the contract
Usage example
Shell
Example response (contract found)
Example response (not a contract)
Contract creation methods
This method detects contracts created through:- Direct deployment transactions
- CREATE opcode from other contracts
- CREATE2 opcode for deterministic addresses
Use cases
Theots_getContractCreator
method is essential for:
- Contract verification: Verify the authenticity of contract deployments
- Security auditing: Identify who deployed suspicious contracts
- Attribution tracking: Link contracts to their deployers
- Factory pattern analysis: Track contracts created by factory contracts
- Deployment history: Research when and by whom contracts were deployed
- Trust verification: Verify contracts were deployed by expected addresses
- Forensic investigation: Trace the origin of malicious contracts
- Documentation: Record deployment information for contract registries
- Multi-sig verification: Confirm contracts deployed by authorized accounts
- Development debugging: Track contract deployments during testing
Body
application/json