stellar_tx_update_sequence
Update the sequence number on a Stellar transaction XDR to fix sequence errors. Provide a new number or use "next" to auto-increment from the source account.
Instructions
Update the sequence number on a transaction
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tx_xdr": "<tx_xdr>"
},
"name": "stellar_tx_update_sequence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx_xdr | Yes | Transaction XDR to update (base64) | |
| network | No | Stellar network | |
| source_account | No | Source account for fetching next sequence | |
| sequence_number | No | New sequence number or "next" for auto-increment |