---
name: createrawtransaction
btcversion: 25.0.0
btcgroup: rawtransactions
permalink: en/doc/25.0.0/rpc/rawtransactions/createrawtransaction/
---

createrawtransaction [{"txid":"hex","vout":n,"sequence":n},...] [{"address":amount,...},{"data":"hex"},...] ( locktime replaceable )

Create a transaction spending the given inputs and creating new outputs.
Outputs can be addresses or data.
Returns hex-encoded raw transaction.
Note that the transaction's inputs are not signed, and
it is not stored in the wallet 