Function
signTransactionWithEncryptedKey(params)
Signs an EVM or Solana transaction with a stored wrapped key. Optionally broadcasts when the Lit Action supports it.
Parameters
Serialized transaction payload. For Solana include
chain/serializedTransaction; for EVM include chain, chainId, and toAddress/value.When
true, the Lit Action attempts to submit the signed transaction to the configured RPC endpoint and returns the transaction hash.Set to
true when providing a Solana versioned transaction payload.Optional price ceiling for the Lit Action.
Returns
Signed transaction (or hash when broadcasting is enabled).