-
Notifications
You must be signed in to change notification settings - Fork 188
Cannot send raw transaction. #931
Comments
At first sight it looks like you have not signed your transaction. |
Could you please check example on your network. It seems that the code in example is not actual. |
@kartava the examples are tested here: https://github.com/CityOfZion/neo-python/blob/master/examples/test_build_raw_transactions.py On a related note, there is an ongoing project to produce a lightweight SDK API which includes a raw transaction builder class which is fully functional here: https://github.com/jseagrave21/neo-python/blob/raw-transaction-class/neo/Core/TX/RawTransaction.py Please note, if you are using a private net, you will need to be running NeoScan concurrently and use its endpoint for your selection in
Then it was sent via RPC using "sendrawtransaction". |
Thank you! This example works for me. |
I'm trying to use this example with my data.
And the following error appears:
contract_tx.ToJson() result →
:The text was updated successfully, but these errors were encountered: