Skip To Content

Blockdaemon Documentation

Transaction Broadcasting

Overview
POST Submit a Signed Transaction


Overview

The Ubiquity Universal API endpoint in this section allows you to broadcast transactions.

As with all Ubiquity Universal API endpoints, this provides a standard format to obtain consistent information across multiple protocols


POST Submit a Signed Transaction

https://{ubiquity_url}/{protocol}/{network}/tx/send

Broadcasts a signed transaction. A successful transaction may still be rejected on-chain or not processed due to a too low fee. You can monitor successful transactions through Ubiquity WebSockets.

Developer documentation: POST Submit a Signed Transaction
Learn how to authorize your request: Authentication Guide

Ubiquity URL

To run a query, add your Ubiquity URL. For most users this will be:

  • svc.blockdaemon.com/universal/v1

An example of this is shown below:

https://svc.blockdaemon.com/universal/v1/{protocol}/{network}/tx/send

Note: If you created your Ubiquity API Key before September 2022, add the legacy Ubiquity URL:

  • ubiquity.api.blockdaemon.com/v1

An example of this is shown below:

https://ubiquity.api.blockdaemon.com/v1/{protocol}/{network}/tx/send

Path Parameters

You should specify a protocol and a network as path parameters, e.g.:

  • ethereum/mainnet

Supported Protocols and Networks

Here is a full list of supported protocols and networks with their path parameters:

Protocol Network Path parameters
Algorand Mainnet algorand/mainnet
Bitcoin Mainnet
Testnet
bitcoin/mainnet
bitcoin/testnet
Bitcoin Cash Mainnet
Testnet
bitcoincash/mainnet
bitcoincash/testnet
Dogecoin Mainnet
Testnet
dogecoin/mainnet
dogecoin/testnet
Ethereum Mainnet
Goerli
Ropsten
ethereum/mainnet
ethereum/goerli
ethereum/ropsten
Litecoin Mainnet
Testnet
litecoin/mainnet
liteecoin/testnet
Polkadot Mainnet polkadot/mainnet
Solana Mainnet solana/mainnet

Request Body

In the body of your request, specify a signed transaction, for example:

{
    "tx": "0100000001ca19af5fb94ced7e62b623d0039a398a42e60050405a1341efe475894629c131010000008b483045022100d77b002b3142013b3f825a730f5bc3ead2014266f07ba4449269af0cf6f086310220365bca1d616ba86fac42ad69efd5f92c5ed6cf16f27ebf5ab55010efc72c219d014104417eb0abe69db2eca63c84eb44266c29c24973dc81cde16ca86c9d923630cb5f797bae7d7fab13498e06146111356eb271da74add05ebda8f72ff2b2878fddb7ffffffff0410270000000000001976a914344a0f48ca150ec2b903817660b9b68b13a6702688ac204e0000000000001976a914344a0f48ca150ec2b903817660b9b68b13a6702688ac30750000000000001976a914344a0f48ca150ec2b903817660b9b68b13a6702688ac48710000000000001976a914d6fa8814924b480fa7ff903b5ef61100ab4d92fe88ac00000000"
}

Example Queries

The query in this section provides a useful example for POST Submit a Signed Transaction.

To broadcast a signed Ethereum Mainnet transaction, use the following query:

https://svc.blockdaemon.com/universal/v1/ethereum/mainnet/tx/send

We don't support Internet Explorer

Please use Chrome, Safari, Firefox, or Edge to view this site.