Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
> var c = eth.contract([{
"constant": true,
"inputs": [],
"name": "getCount",
"outputs": [
"name": "count",
"type": "uint256"
"payable": false,
"stateMutability": "view",
"type": "function"
> c
abi: [{
constant: true,
inputs: [],
name: "getCount",
outputs: [{...}],
payable: false,
stateMutability: "view",
type: "function"
address: "0x9FF3F97d7ccD0Cb034eF6c7721088a6B820bDAD8",
transactionHash: null,
allEvents: function(),
getCount: function()
> c.getCount()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment