eth_getCode RPC Method
Parameters
address
string
REQUIRED
Loading...
blockNumber
string
REQUIRED
Loading...
NOTE:
The TRON blockchain only supports the usage of the tag latest for this method.
Loading...
Returns
result
Loading...
Request
1curl https://docs-demo.tron-mainnet.quiknode.pro/jsonrpc \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"eth_getCode","params":["0x5B56438000bAc5ed2c6E0c1EcFF4354aBfFaf889","latest"],"id":1,"jsonrpc":"2.0"}'5
1curl https://docs-demo.tron-mainnet.quiknode.pro/jsonrpc \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"eth_getCode","params":["0x5B56438000bAc5ed2c6E0c1EcFF4354aBfFaf889","latest"],"id":1,"jsonrpc":"2.0"}'5
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free