Creates an unsigned transaction.
Note that Ethereum currently only supports singular transaction destinations.
To create an unsigned transaction via this endpoint, you need an unspent transaction output (UTXO), that can be specified by a transaction hash and an index. For example, it’s fine to pick any transaction hash and index of a UTXO (just remember that it has to be unspent, otherwise, the request will fail as you can’t spend a transaction output more than once).
By using the REST API’s Get A List of Transactions endpoint, you can get outputs for the latest transactions in the network. You can get the UTXO in the response. UTXOs are represented in the REST API by the event type utxo_output
. You can now, pass the transaction hash of the output, and its index to the respective fields: from
and index
.
START HERE!
Click Try It! to test the endpoint with the default values or customize your request by following these steps:
- Enter your API key in the Header: token text box (top right).
- You can get a free API key here .
- Enter the parameters available below.
- Click Try It!.
Supported Protocols and Networks
Protocol | Networks | Path Parameter |
---|---|---|
Avalanche | Mainnet-c Testnet-c | avalanche/mainnet-c avalanche/testnet-c |
Bitcoin | Mainnet Testnet | bitcoin/mainnet bitcoin/testnet |
Ethereum | Mainnet Holeksy Sepolia | ethereum/mainnet ethereum/holesky ethereum/sepolia |
Dogecoin | Mainnet Testnet | dogecoin/mainnet dogecoin/testnet |
Fantom | Mainnet Testnet | fantom/mainnet fantom/testnet |
Polkadot | Mainnet Westend | polkadot/mainnet polkadot/westend |
Polygon | Mainnet Amoy | polygon/mainnet polygon/amoy |
Solana | Mainnet Testnet | solana/mainnet solana/testnet |