curl --request POST \
--url https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "ots_getContractCreator",
"params": [
"0x5555555555555555555555555555555555555555"
],
"id": 1
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"creator": "0x6666666666666666666666666666666666666666",
"hash": "0xf94f3d2ed5b59aefb6a0e566af8e86552014d84f6ed2f38a1366dedffe723381"
}
}
Get the creator address and transaction hash for a contract on Hyperliquid EVM. Identifies who deployed a smart contract.
curl --request POST \
--url https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "ots_getContractCreator",
"params": [
"0x5555555555555555555555555555555555555555"
],
"id": 1
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"creator": "0x6666666666666666666666666666666666666666",
"hash": "0xf94f3d2ed5b59aefb6a0e566af8e86552014d84f6ed2f38a1366dedffe723381"
}
}
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.
hash
— the transaction hash where the contract was createdcreator
— the address that deployed the contractcurl -X POST https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "ots_getContractCreator",
"params": ["0x5555555555555555555555555555555555555555"],
"id": 1
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"hash": "0xf94f3d2ed5b59aefb6a0e566af8e86552014d84f6ed2f38a1366dedffe723381",
"creator": "0x1234567890abcdef1234567890abcdef12345678"
}
}
{
"jsonrpc": "2.0",
"id": 1,
"result": null
}
ots_getContractCreator
method is essential for:
Successful response with contract creator information
The response is of type object
.