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 Universal 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 Universal 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 own API key in the Header: token text box (top right).
- You can get a free API key here
- Enter your PATH PARAMS (you can find these below).
- Optional . Filter your results with QUERY PARAMS (you can find these below).
- Click Try It!
Note: AUTHORIZATION method must be set to Header.
Supported Protocols and Networks
Protocol | Networks | Path Parameter |
---|---|---|
Bitcoin | Mainnet Testnet | bitcoin/mainnet bitcoin/testnet |
Bitcoincash | Mainnet Testnet | bitcoincash/mainnet bitcoincash/testnet |
Ethereum | Mainnet Goerli | ethereum/mainnet ethereum/goerli |
Dogecoin | Mainnet Testnet | dogecoin/mainnet dogecoin/testnet |
Litecoin | Mainnet Testnet | litecoin/mainnet litecoin/testnet |
Polkadot | Mainnet Westend | polkadot/mainnet polkadot/westend |
Polygon | Mainnet Testnet | polygon/mainnet polygon/testnet |
Solana | Mainnet Testnet | solana/mainnet solana/testnet |