stellar_contract_extend
Extend the time-to-live of Stellar contract data entries. Specify ledgers to extend, source account, and network to keep contract data active.
Instructions
Extend the time-to-live of contract data entries
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": {
"ledgers_to_extend": "<ledgers_to_extend>",
"source_account": "<source_account>",
"network": "<network>"
},
"name": "stellar_contract_extend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fee | No | Transaction fee in stroops | |
| key | No | Storage key to extend (symbols only) | |
| key_xdr | No | Storage key as base64-encoded XDR | |
| network | Yes | Stellar network | |
| build_only | No | Only build transaction, do not submit | |
| durability | No | Storage durability type | |
| contract_id | No | Contract ID owning the data entries | |
| source_account | Yes | Account that will pay for the extension | |
| ttl_ledger_only | No | Only print the new TTL ledger, do not submit | |
| ledgers_to_extend | Yes | Number of ledgers to extend TTL by |