Skip to main content
POST
/
broadcast
Broadcast Sponsored Transaction
curl --request POST \
  --url https://api.velumx.xyz/api/v1/broadcast \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "txHex": "<string>",
  "feeAmount": "<string>",
  "userId": "<string>"
}
'
{
  "txid": "<string>",
  "status": "<string>"
}

Authorizations

x-api-key
string
header
required

Body

application/json
txHex
string
required

Signed sponsored transaction hex (from stx_signTransaction with broadcast: false). The transaction version byte determines the target network automatically.

feeAmount
string

Fee in token micro-units. Required for USER_PAYS — must match the fee-amount arg encoded in the transaction. Omit for DEVELOPER_SPONSORS.

userId
string

Optional user identifier for per-user spend tracking and limits.

Response

Broadcast result

txid
string

Stacks transaction ID

status
string

Always sponsored on success