hmy_getCode
GetCode
Get the code at a specific address.
Parameters
String- The address to get the code from.String- Block to query for information. Usuallylatest, which specifies the most recent block.Function- (optional) Optional callback, returns an error object as first parameter and the result as second.
Returns
String- The data at given addressaddress.
Sample Curl Request
curl -d '{
"jsonrpc": "2.0",
"method": "hmy_getCode",
"params":[
"0x08AE1abFE01aEA60a47663bCe0794eCCD5763c19",
"latest"
],
"id": 1
}' -H "Content-Type:application/json" -X POST "https://api.s0.b.hmny.io"Sample Curl Response
Last updated
Was this helpful?