Skip to main content
POST
/
construction
/
combine
Create Network Transaction from Signatures
curl --request POST \
  --url https://example.com/construction/combine \
  --header 'Content-Type: application/json' \
  --data '{
  "network_identifier": {
    "blockchain": "bitcoin",
    "network": "mainnet",
    "sub_network_identifier": {
      "network": "shard 1",
      "metadata": {
        "producer": "0x52bc44d5378309ee2abf1539bf71de1b7d7be3b5"
      }
    }
  },
  "signatures": [
    {
      "signing_payload": {
        "account_identifier": {
          "address": "0x3a065000ab4183c6bf581dc1e55a605455fc6d61",
          "sub_account": {
            "address": "0x6b175474e89094c44da98b954eedeac495271d0f"
          }
        }
      }
    }
  ]
}'
{
  "signed_transaction": "<string>"
}

Body

application/json

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.

network_identifier
object
required

The network_identifier specifies which network a particular object is associated with.

unsigned_transaction
string
required
signatures
object[]
required

Signature contains the payload that was signed, the public keys of the keypairs used to produce the signature, the signature (encoded in hex), and the SignatureType. PublicKey is often times not known during construction of the signing payloads but may be needed to combine signatures properly.

Response

Expected response to a valid request

ConstructionCombineResponse is returned by /construction/combine. The network payload will be sent directly to the construction/submit endpoint.

signed_transaction
string
required