EVM bytecode is compiled from Solidity contracts. The Ethereum runtime environment only understands and can execute the bytecode. Sometimes, we need bytecode from a deployed contract. For example, use it in another contract.
We use the contract address that has deployed in the . And a provider to get the code of a deployed contract.
Get the contract code of address. If there is no contract currently deployed, the result is 0x. You can see that the bytecode is the same as the one in the .