Create an Unsigned Transaction

Creates an unsigned transaction.

Note that Ethereum currently only supports singular transaction destinations.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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.


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

Path Params
string
required
Defaults to bitcoin

Protocol handle, one of: avalanche, bitcoin, ethereum, dogecoin, polkadot, polygon, solana.

string
required
Defaults to mainnet

Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}.

Body Params
string
required

The source UTXO or account ID for the originating funds.

to
array of objects
required

A list of recipients.

to*
contract
object

The contract object.

int64

The UTXO index or the account Nonce. Required for Bitcoin, Bitcoincash, and Litecoin.

string

The fee you are willing to pay for the transaction. For Ethereum and Polygon see 'protocol.ethereum' and 'protocol.polygon'.

protocol
object

The protocol specific parameters.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json