Send SpendTx not work? somebody help Thanks!


#1

According

I get SpendTx like that:
<<“tx_+JkLAfhCuEDSHZc3fP5a0EY5Cb+slpmXXCS5ZXGvm/ErCfb4TSye4XCCBvF3ZQo0ZOrkXhsz/N5KpcqRv+KapXhsRxXnryUCuFH4TwwBoQGXULBnh”…>>

AND
send SpendTx:

curl -X POST “http://localhost:3014/v2/transactions
-H “accept: application/json” -H “Content-Type: application/json”
-d “{“tx”: “tx_+JkLAfhCuEDSHZc3fP5a0EY5Cb+slpmXXCS5ZXGvm/ErCfb4TSye4XCCBvF3ZQo0ZOrkXhsz/N5KpcqRv+KapXhsRxXnryUCuFH4TwwBoQGXULBnh”}”

But it not work
have + / in SpendTx is allright ?

POST address now mainnet , http://localhost:3014/v2/transactions is allright ?

Why not work? somebody help Thanks!


#2

The binary you have is truncated. See the dots ... at the end of it?

Anyway, @hanssv suggested a simpler way to post transactions, and I’ve updated the guide earlier today. So you can try again, I guess …


#3

According new spend_tx.md

fee => 1,

aec_tx_pool:push(SignedSpendTx).
return {error,too_low_fee}

chenge to fee => 1000000000000000,

aec_tx_pool:push(SignedSpendTx). return OK!
send to mempool ok!
BUT have not node to package it!so the transactions not work WHY??


#4

BUT have not node to package it!so the transactions not work WHY??

Sorry, I don’t understand you …


#5

aec_tx_pool:push(SignedSpendTx).
return OK!
BUT the transactions not work!
have not miner to package it!


#6

I understand your question as your transaction not being included by miners. Are you part of the network? In order for your transaction to be included you shall connect to other nodes in order to broadcast the tx.

Also

That would probably be too high fee :slight_smile: currently exepcted fee for spend transactions with no payload would be 17000 - 18000.