RelayerAPI Reference
Replaces a specific transaction with a new one.
AuthorizationBearer <token>
In: header
Path Parameters
relayer_idstring
The unique identifier of the relayer
transaction_idstring
The unique identifier of the transaction
data?string
gas_limit?integer | null
Format
int64
Range
0 <= value
gas_price?integer
Range
0 <= value
max_fee_per_gas?integer
Range
0 <= value
max_priority_fee_per_gas?integer
Range
0 <= value
speed?Speed
Value in
"fastest" | "fast" | "average" | "safeLow"
to?string
valid_until?string
valueinteger
Format
u128
Range
0 <= 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)
Format
int64
memo?MemoSpec | null
typestring
Value in
"none"
typestring
Value in
"text"
valuestring
typestring
Value in
"id"
valueinteger
Format
int64
Range
0 <= 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 PUT "https://loading/api/v1/relayers/string/transactions/string" \ -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": "Not found",
"success": false
}
{
"data": null,
"message": "Too Many Requests",
"success": false
}
{
"data": null,
"message": "Internal Server Error",
"success": false
}