Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

contract.method.getData #8

Open
1 task
wighawag opened this issue Oct 3, 2017 · 2 comments
Open
1 task

contract.method.getData #8

wighawag opened this issue Oct 3, 2017 · 2 comments

Comments

@wighawag
Copy link

wighawag commented Oct 3, 2017

ethjs-contract

Issue Type

  • Feature

Description

With web3 I make use of the getData functionality to get the data to be sent as part of a transaction

Currently ethjs does not seem to offer that functionality

from web3 doc here : https://github.com/ethereum/wiki/wiki/JavaScript-API#contract-methods

// Get the call data, so you can call the contract through some other means
var myCallData = myContractInstance.myMethod.getData(param1 [, param2, ...]);
// myCallData = '0x45ff3ff6000000000004545345345345..'
@SilentCicero
Copy link
Member

I can offer this in the new update.

@pau1m
Copy link

pau1m commented Dec 17, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants