Skip to content

Instantly share code, notes, and snippets.

@matthieu matthieu/eth-split
Last active Jul 27, 2016

Embed
What would you like to do?
Calling the Ethereum splitting contract using BlockCypher
# Contract at:
# https://api.blockcypher.com/v1/eth/main/contracts/aa1a6e3e6ef20068f7f8d8c835d2d22fd5116444?token=$TOKEN
# http://etherscan.io/address/0xaa1a6e3e6ef20068f7f8d8c835d2d22fd5116444#code
# See also https://blog.ethereum.org/2016/07/26/onward_from_the_hard_fork/
$ cat split.json
{
"private": "...",
"gas_amount": 200000,
"params": ["3f071e84604d712ee034d776ed8f6405e1444c48", "34de916d2afc28564b118a4f2723d0274b223f32"],
"value": 100000000000000000
}
$ curl -d @split.json https://api.blockcypher.com/v1/eth/main/contracts/aa1a6e3e6ef20068f7f8d8c835d2d22fd5116444/split?token=$TOKEN
{
"call_tx_hash": "e936fa223efc752f9cf3abe0e2966fdc88d1512cf6c7957c014f5e949c461383"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.