Skip to main content
POST
/
transactions
/
broadcast
/
{transactionId}
Broadcast a signed transaction
curl --request POST \
  --url http://localhost:4000/v1/transactions/broadcast/{transactionId} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "rpcUrl": "https://api.avax.network/ext/bc/C/rpc"
}'
{
  "success": true,
  "message": "<string>",
  "data": {
    "transactionId": "tx-uuid-abc123",
    "txHash": "0x789...",
    "status": "broadcasted",
    "broadcastedAt": "2024-01-01T12:10:00Z"
  },
  "statusCode": 123,
  "timestamp": "<string>",
  "path": "<string>"
}

Authorizations

Authorization
string
header
required

Use this format: ApiKey <your_api_key>

Path Parameters

transactionId
string
required

Transaction ID

Example:

"tx-uuid-abc123"

Body

application/json

Broadcast parameters

rpcUrl
string

RPC URL for broadcasting (optional, uses default if not provided)

Example:

"https://api.avax.network/ext/bc/C/rpc"

Response

success
boolean
required
message
string
required
statusCode
number
required
timestamp
string
required
data
object
path
string