yarn web3 0.15.0
Release 0.15.0

latest releases: 4.8.1-dev.408125.0, 4.8.1-dev.12c2515.0, 4.8.1-dev.f44dc5b.0...
8 years ago

This release includes minor bug fixes and a new way to get the call data of a contract call.

To get the call data when creating a new contract:

web3.contract(myABI).new.getData(param1, param2, {data: '0x12345...'})
// Returns e.g:  0x1234500000000003240000000023423

To get the call data of a contract method

var my contract = web3.contract(myABI).at(address);

contract.myMethod.getData(param1, param2)
// Returns e.g:  0x1234500000000003240000000023423

Don't miss a new web3 release

NewReleases is sending notifications on new releases.