---
title: "BroadcastTx broadcast transaction."
method: POST
path: "/cosmos/tx/v1beta1/txs"
tags: ["Service"]
---

# BroadcastTx broadcast transaction.

`POST /cosmos/tx/v1beta1/txs`

## Request body

- object — BroadcastTxRequest is the request type for the Service.BroadcastTxRequest RPC method.
  - `tx_bytes` string, byte — tx_bytes is the raw transaction.
  - `mode` 'BROADCAST_MODE_UNSPECIFIED' | 'BROADCAST_MODE_BLOCK' | 'BROADCAST_MODE_SYNC' | 'BROADCAST_MODE_ASYNC' — BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. - BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering - BROADCAST_MODE_BLOCK: BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for the tx to be committed in a block. - BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for a CheckTx execution response only. - BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns immediately.

## Response `200`

A successful response.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/bianjieai/apis/irita-legacy-rest-and-grpc-gateway-docs.md) · [All operations](https://skmtc.net/bianjieai/apis/irita-legacy-rest-and-grpc-gateway-docs/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bianjieai/irita-legacy-rest-and-grpc-gateway-docs/revisions/dcc6f688c291/schema)
