Sign an unsigned base64 Solana transaction produced by a --dry-run command.
Requires: an active key, unless --key is provided. See setup and keys.
jup sign --tx <base64-transaction>
jup sign --tx <base64-transaction> --key mykey--tx(required) — unsigned base64 transaction bytes--keyoverrides the active key for this signing operation
// Example JSON response:
{
"signer": "ABC1...xyz", // signer wallet address
"signedTransaction": "AQAB..." // signed base64 wire transaction
}jup spot swap --from SOL --to USDC --amount 1 --dry-run
# Copy the `transaction` field from the response
jup sign --tx <base64-transaction>