eth_getCode | Ronin

The eth_getCode method returns the bytecode stored at a given address. This method is typically used to retrieve the bytecode of smart contracts deployed on the Ronin network.


Get you own node endpoint today

Start 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.


  • address: The address to get the code from.
  • blockParameter (optional): This can be a hexadecimal block number, or the strings "latest", "earliest", or "pending", indicating the state from which to get the code.


  • result: The code at the given address, returned as a hexadecimal string.

Use case

This method is essential for developers and tools that need to interact with or verify the bytecode of deployed contracts. It can be used for auditing, verifying contract deployments, or simply exploring the code of existing contracts on the blockchain.

Try the eth_getCode RPC method yourself

Click Try It! to start a request and see the response here!