Sends a transaction through the specified relayer.

POST
/api/v1/relayers/{relayer_id}/transactions
AuthorizationBearer <token>

In: header

Path Parameters

relayer_idstring

The unique identifier of the relayer

data?string
gas_limit?integer | null
Formatint64
Range0 <= value
gas_price?integer
Range0 <= value
max_fee_per_gas?integer
Range0 <= value
max_priority_fee_per_gas?integer
Range0 <= value
speed?Speed
Value in"fastest" | "fast" | "average" | "safeLow"
to?string
valid_until?string
valueinteger
Formatu128
Range0 <= value
transactionEncodedSerializedTransaction
fee_bump?boolean | null

Explicitly request fee-bump wrapper Only valid when transaction_xdr contains a signed transaction

max_fee?integer | null

Maximum fee in stroops (defaults to 0.1 XLM = 1,000,000 stroops)

Formatint64
memo?MemoSpec | null
typestring
Value in"none"
typestring
Value in"text"
valuestring
typestring
Value in"id"
valueinteger
Formatint64
Range0 <= value
typestring
Value in"hash"
valuearray<integer>
typestring
Value in"return"
valuearray<integer>
networkstring
operations?array<OperationSpec> | null
source_account?string | null
transaction_xdr?string | null

Pre-built transaction XDR (base64 encoded, signed or unsigned) Mutually exclusive with operations field

valid_until?string | null

Response Body

curl -X POST "https://loading/api/v1/relayers/string/transactions" \  -H "Content-Type: application/json" \  -d '{    "value": 0  }'
{
  "data": {
    "confirmed_at": "string",
    "created_at": "string",
    "data": "string",
    "from": "string",
    "gas_limit": 0,
    "gas_price": "string",
    "hash": "string",
    "id": "string",
    "max_fee_per_gas": "string",
    "max_priority_fee_per_gas": "string",
    "nonce": 0,
    "relayer_id": "string",
    "sent_at": "string",
    "signature": {},
    "speed": {},
    "status": "canceled",
    "status_reason": "string",
    "to": "string",
    "value": "string"
  },
  "error": "string",
  "pagination": {
    "current_page": 0,
    "per_page": 0,
    "total_items": 0
  },
  "success": true
}
{
  "data": null,
  "message": "Bad Request",
  "success": false
}
{
  "data": null,
  "message": "Unauthorized",
  "success": false
}
{
  "data": null,
  "message": "Relayer with ID relayer_id not found",
  "success": false
}
{
  "data": null,
  "message": "Too Many Requests",
  "success": false
}
{
  "data": null,
  "message": "Internal Server Error",
  "success": false
}