List Extendable Delegations
tronsave_internal_extend_delegatesRetrieve extendable delegations for a receiver and return the extendData payload needed to extend existing delegation time, as a read-only first step before creating an extension request.
Instructions
Return extendable delegations for a receiver plus an extendData payload for the extension flow. Requires an internal API key: tronsave_login (api-key mode, or signature mode for a wallet with an internal account) or an Authorization: ApiKey <key> client header. Never pass API keys as tool arguments; the server forwards the key from the session/header to TronSave. Use as STEP 1 before tronsave_internal_create_extend_request when the user wants to extend existing delegation time. Read-only; does not submit anything. FRESHNESS: pricing/availability change within seconds — run immediately before extending and pass the returned extendData unchanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| extendTo | Yes | Target end time as Unix epoch SECONDS (UTC) for the extended delegation, e.g. now + 86400 for one more day. Milliseconds are rejected by TronSave (INVALID_EXTEND_TIME). | |
| receiver | Yes | TRON base58 address of the account that receives the delegated resource. | |
| requester | No | TRON base58 requester; defaults to the API key account when omitted. | |
| resourceType | No | Resource type. Default ENERGY when omitted. | |
| maxPriceAccepted | No | Maximum unit price in SUN you are willing to pay for the extension. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| extendData | No | Delegations to extend; pass unchanged into internal_create_extend_request `extendData`. | |
| yourBalance | No | Current account balance in SUN. | |
| isAbleToExtend | No | Whether balance is sufficient to extend. | |
| extendOrderBook | No | Order book for extend. | |
| totalEstimateTrx | No | Total estimated TRX cost in SUN. | |
| totalDelegateAmount | No | Total delegated resource amount. | |
| totalAvailableExtendAmount | No | Total available amount to extend. |