Create Network Transaction from Signatures
Changed onCombine 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.
Request
- The document declares no server URL.
- Authnone declared
Request 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.
The network_identifier specifies which network a particular object is associated with.
Example request
{
"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"
}
}
}
}
]
}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.
Changes
- breaking
added the new required request property
network_identifier/blockchain - breaking
added the new required request property
network_identifier/network - breaking
added the new required request property
signatures/items/hex_bytes
6 more changes in this revision
- breaking