Method: Etherscan::Proxy.eth_get_code

Defined in:
lib/etherscan/api.rb

.eth_get_code(address, tag) ⇒ Object



191
192
193
194
195
196
197
# File 'lib/etherscan/api.rb', line 191

def eth_get_code(address, tag)
  call = Etherscan::Call.new(Etherscan.chain, 'proxy', 'eth_getCode')
  call.api_key = Etherscan.api_key
  call.address = address
  call.tag = tag
  call.fetch
end