Skip to main content
POST
/
v1
/
transactions
/
construct-signed
Construct Signed Transaction
curl --request POST \
  --url https://api.example.com/v1/transactions/construct-signed \
  --header 'Content-Type: application/json' \
  --data '
{
  "txId": "<string>",
  "signature": "<string>"
}
'
{
  "txId": "<string>",
  "signedTxHex": "<string>"
}

Construct Signed Transaction

Combine an unsigned transaction with its signature to create a fully signed transaction ready for submission.

Request

txId
string
required
Transaction ID from build step
signature
string
required
Signature from signing step

Response

txId
string
Transaction identifier
signedTxHex
string
Fully signed transaction in hex format

Example

curl -X POST https://api.axonvault.io/v1/transactions/construct-signed \
  -H "X-Access-Key: ak_live_abc123" \
  -H "X-Signature: 5d41402abc4b2a76b9719d911017c592" \
  -H "X-Timestamp: 2024-01-15T10:30:00Z" \
  -H "Content-Type: application/json" \
  -d '{
    "txId": "tx_abc123",
    "signature": "0x1234567890abcdef..."
  }'

Response Example

{
  "txId": "tx_abc123",
  "signedTxHex": "0xf86c0a8502540be400825208941234567890123456789012345678901234567890880de0b6b3a7640000801ca0..."
}

Errors

Error TypeStatusDescription
invalid_request400Missing txId or signature
not_found404Transaction not found
invalid_signature400Signature doesn’t match transaction

Complete Flow