# API Transaction Broadcasting

## Parameters

- **network**: `string`, required  
  Allowed: `mainnet`, `testnet`

- **signed_transaction**: `string`, required  
  The unsigned transaction, serialized with the signature.

## Responses

### 201 Success

- **data**: `object`  
  - **transaction_hash**: `string`  
    Transaction hash

### 422 Invalid network

---

## Example Request

```shell
curl --request POST \
     --url https://api.figment.io/osmosis/broadcast \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'x-api-key: your-api-key-here' \
     --data '
{
  "network": "mainnet"
}
'
```

## Example Response

```json
{
  "data": {
    "transaction_hash": "8d775ab05ff98fbdbfe78aef86c2684b3e744dcc4ed15de244c0a1789e587a7f"
  }
}
```
