Combine

Create Network Transaction from Signatures

post

Combine creates a network-specific transaction from an unsigned transaction and an array of provided signatures. The signed transaction returned from this method will be sent to the /construction/submit endpoint by the caller.

Body

ConstructionCombineRequest is the input to the /construction/combine endpoint. It contains the unsigned transaction blob returned by /construction/payloads and all required signatures to create a network transaction.

unsigned_transactionstringRequired
Responses
200
Expected response to a valid request
application/json
post
POST /construction/combine HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 591

{
  "network_identifier": {
    "blockchain": "bitcoin",
    "network": "mainnet",
    "sub_network_identifier": {
      "network": "shard 1",
      "metadata": {
        "producer": "0x52bc44d5378309ee2abf1539bf71de1b7d7be3b5"
      }
    }
  },
  "unsigned_transaction": "text",
  "signatures": [
    {
      "signing_payload": {
        "address": "text",
        "account_identifier": {
          "address": "0x3a065000ab4183c6bf581dc1e55a605455fc6d61",
          "sub_account": {
            "address": "0x6b175474e89094c44da98b954eedeac495271d0f",
            "metadata": {}
          },
          "metadata": {}
        },
        "hex_bytes": "text",
        "signature_type": "ecdsa"
      },
      "public_key": {
        "hex_bytes": "text",
        "curve_type": "secp256k1"
      },
      "signature_type": "ecdsa",
      "hex_bytes": "text"
    }
  ]
}
{
  "signed_transaction": "text"
}