Skip to main content

Create unsigned unmined raw transaction

POST 

/create_tx

Create unsigned unmined raw transaction

Request

Body

required

Inputs and outputs to use

    inputs

    object[]

  • Array [

  • tx_id string

    Hash in hex of the spending transaction

    index integer

    Index of the output is being spent

    data string

    Data appended to input for verifying utxo, aka signature

  • ]

  • outputs

    object[]

  • Array [

  • oneOf

    address stringrequired

    Destination address in base58

    value integerrequired

    Value to be sent to the address (without decimal places, e.g. if you want to send 10.02 the value must be 1002)

    timelock integer

    Timestamp until when the output is locked

    token_uid string

    Hex encoded token uid, ommit for HTR

  • ]

Responses

Success

Schema

    any

Loading...