Push transaction to the network
POST/submit_block
Push transaction to the network
Request
- application/json
Body
required
Transaction to be pushed in hexadecimal
hex_tx
Responses
- 200
Success
- application/json
- Schema
- success
- error1
- error2
- error3
Schema
any
Success
{
"success": true
}
Transaction invalid
{
"success": false,
"message": "This transaction is invalid.",
"can_force": false
}
Error propagating transaction
{
"success": false,
"message": "Error message",
"can_force": true
}
Double spending error
{
"success": false,
"message": "Invalid transaction. At least one of your inputs hasalready been spent."
}
Loading...