v1

latestOpenAPI 3.1.02026-07-24223580832.9 KB

Compile an Unsigned Transaction

Takes an unsigned transaction and a signature and returns a signed transaction.

post/{blockchain_id}/compile

Request body

OR
OR
OR
OR
OR
OR
OR

Example request

{
  "unsigned_tx": "02ed82426880840c1a97ac847e881fdc82520894057cbbc4d1568530991088108ee48fd8b949167f843b9aca0080c0",
  "address": "0x31c129468975e4ef41135a405000e6428a399a03d023b6627eed4cb95faf19ca",
  "signature": "0x..",
  "public_key": "0x.."
}

Response

OK

txstring required

The signed TX.

Example response

{
  "tx": "0100000001ca19af5fb94ced7e62b623d0039a398a42e60050405a1341efe475894629c131010000008b483045022100d77b002b3142013b3f825a730f5bc3ead2014266f07ba4449269af0cf6f086310220365bca1d616ba86fac42ad69efd5f92c5ed6cf16f27ebf5ab55010efc72c219d014104417eb0abe69db2eca63c84eb44266c29c24973dc81cde16ca86c9d923630cb5f797bae7d7fab13498e06146111356eb271da74add05ebda8f72ff2b2878fddb7ffffffff0410270000000000001976a914344a0f48ca150ec2b903817660b9b68b13a6702688ac204e0000000000001976a914344a0f48ca150ec2b903817660b9b68b13a6702688ac30750000000000001976a914344a0f48ca150ec2b903817660b9b68b13a6702688ac48710000000000001976a914d6fa8814924b480fa7ff903b5ef61100ab4d92fe88ac00000000"
}