Skip to main content
To sign and broadcast the transaction to the Near network, follow these steps:
  1. Prepare in Base64 encrypted format.
  2. Sign the transaction using the following code:
Upon successful execution, the script prints the signed transaction in the hexadecimal format, ready to be broadcasted:
  1. Broadcast the transaction to the Near network by sending a POST request to /api/v1/unified/transaction/broadcast.