We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, everyone I am going to send transfer using ruby. this is my code. web3 = Web3::Eth::Rpc.new host: 'ropsten.infura.io', port: 443, connect_options: { open_timeout: 20, read_timeout: 140, use_ssl: true, rpc_path: '/xxxxxxxxxx' } ERC_ABI = '[{.....}]' contractAddr = "0xFf............" contract = web3.eth.contract(ERC_ABI).at(contractAddr) data = contract.transfer.getData('0xg.......', 10000, {from: '0xc........'})
but i get some error. please help me. Best regards.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, everyone
I am going to send transfer using ruby.
this is my code.
web3 = Web3::Eth::Rpc.new host: 'ropsten.infura.io',
port: 443,
connect_options: {
open_timeout: 20,
read_timeout: 140,
use_ssl: true,
rpc_path: '/xxxxxxxxxx'
}
ERC_ABI = '[{.....}]'
contractAddr = "0xFf............"
contract = web3.eth.contract(ERC_ABI).at(contractAddr)
data = contract.transfer.getData('0xg.......', 10000, {from: '0xc........'})
but i get some error.
please help me.
Best regards.
The text was updated successfully, but these errors were encountered: