You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

677 B

PushTX

Push a transaction to the network.

POST /pushtx/

Parameters

  • tx - hex string - The raw transaction hex
  • at - string (optional) - Access Token (json web token). Required if authentication is activated. Alternatively, the access token can be passed through the Authorization HTTP header (with the Bearer scheme).

Example

POST /pushtx/?tx=abcdef0123456789

Success

Status code 200 with JSON response:

{
  "status": "ok",
  "data": "<txid>"
}

Failure

Status code 400 with JSON response:

{
  "status": "error",
  "error": {
    "message": "<error message>",
    "code": "<error code>"
  }
}