chain

Send Transaction

Submits a signed transaction to the blockchain for processing. This endpoint broadcasts the transaction data to the network and returns a unique transaction hash that can be used to track its confirmation status.

💡 Compute Unit Value: 30 (Fixed)

post/defi/v1/chain/sendtransaction

Request

  • Base URL
    https://svc.blockdaemon.com
  • URL
    https://svc.blockdaemon.com/defi/v1/chain/sendtransaction
  • Auth
    API key in header X-API-Key

Request body

chainId'1' | '11155111' | '56' | '25' | '97' | '43114' | '338' | '900' | '901' | '1000' | '1002' | '1200' | '1201' | '43113' | '42161' | '421614' | '10' | '11155420' | '4002' | '324' | '300' | '1300' | '1301' | '101' | '102' | '103' | 'cosmoshub-4' | '1600' | '1601' | '1700' | '1701' | 'osmosis-1' | 'osmo-test-5' | '1800' | '1801' | '137' | '80002' | '250' | '8453' | '84532' | '1400' | '1401' | '400' | '401' | '1500' | '1501' | '17000' | '5000' | '5003' | '8217' | '1001'

The unique ID to direct queries or transactions to the correct blockchain. Find more here.

chainSymbolstring

The abbreviated chain name for queries or transactions.

rawTransactionstring required

The encoded transaction, obtained from the signed transaction.

bdnTransactionboolean

If true, then the transaction goes through the BDN route, which speeds up the transaction process. By default, false.

mevProtectionboolean

If true, the transaction is routed through Flashbots for MEV protection.

Example request

{
  "chainId": "1",
  "chainSymbol": "ETH",
  "rawTransaction": "0xf86f048433918fbe830493e0949b79d6dfe4650d70f35dbb80f7d1ec0cf7f823fd87038d7ea4c6800084022794382da0c9bd6b5c7e18a258b04039d524a3e1382ec0f522d160dc027428933f520b6868a07332736f1df297842299230820626f1fc5b8d4cdd602ade55e3ba02c63e756ce",
  "bdnTransaction": false,
  "mevProtection": false
}

Response

Successful response

statusinteger
msgstring
dataobject

Example response

{
  "status": 200,
  "msg": "success",
  "data": {
    "chainId": "1",
    "transactionHash": "0x8375c5eedd17609292cecc051c18e180fa970b32a77011c48d3725e45e46e7b3"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.