Hey there,
I am trying to send a signed contract transaction but for some reason it just dont wanna get sent.
I am using ethereum-tx.js to create the tx.
let contractInstance = new this.web3Js.eth.Contract(ABI, contractAddress);
const transactionObject = {
nonce: this.web3Js.utils.toHex(this.nonce),
gasLimit: '0x47b760',
gasPrice: '0x00',
value: '0x0',
to: filteredTransactionss[0].contractAddress,
data: contractInstance.methods.newOwner(config.receiver).encodeABI(),
v: '0x1',
r: '0x',
s: '0x',
}
I think i am doing something wrong with this transactionObject. Is it correct what I have done ?