Skip to main content
To sign and broadcast the transaction to the Tezos network, follow these steps:
  1. Prepare as a hex-encoded string. You obtain this from the unsignedTransactionData field in the Unified API staking/unstaking response.
  2. Sign the transaction using the following code:
Upon successful execution, the script prints the signed transaction as a JSON object, ready to be broadcasted:
  1. Broadcast the transaction to the Tezos network by sending a POST request to /api/v1/unified/transaction/broadcast.