With that modification it returns an string like this: "0x62f5a9853dd7f7bdeab7470078d77ed61d431b3e5cf777ebe84ed36117e006042cf722a19a98aa6014d3bee2361a28789355fd0104179893443028a2ce6ec2ea1b"
signedTransaction being the unsignedTransaction object with signature: 0x62f5a9853dd7f7bdeab7470078d77ed61d431b3e5cf777ebe84ed36117e006042cf722a19a98aa6014d3bee2361a28789355fd0104179893443028a2ce6ec2ea1b
It returns an error:
Error: Transaction is not signed
at Trx.sendRawTransaction
Hello, I'm trying to create, sign and broadcast a transaction.
After building the transaction I'm getting the transaction object:
Following the docs and helping me with the types of the most recent beta version, I need to sign this transaction object.
This function fails with:
So I tried another way, converting the transaction object to hex.
With that modification it returns an
string
like this:"0x62f5a9853dd7f7bdeab7470078d77ed61d431b3e5cf777ebe84ed36117e006042cf722a19a98aa6014d3bee2361a28789355fd0104179893443028a2ce6ec2ea1b"
And now I've tried with
sendRawTransaction
signedTransaction
being theunsignedTransaction
object withsignature: 0x62f5a9853dd7f7bdeab7470078d77ed61d431b3e5cf777ebe84ed36117e006042cf722a19a98aa6014d3bee2361a28789355fd0104179893443028a2ce6ec2ea1b
It returns an error:
Its is a simple
sendTrx
transaction over Shasta.