Skip to content

Eth Code

The command eth-code returns the smart-contract bytecode.

hanchond playground query evmos eth-code 0xc0ac82342eacc3e5d38744660f7a57f465568746 | jq .
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x6080604052348015600f57600080fd5b506004361060285760003560e01c80631627905514602d575b600080fd5b605060048036036020811015604157600080fd5b50356001600160a01b03166064565b604080519115158252519081900360200190f35b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590609757508115155b94935050505056fea264697066735822122030375d12bcd1c1173c9972f2bab6ba2db059fae1a35020cc0d1115194a8b445464736f6c634300060c0033"
}