Suggest Order Strategy
tronsave_suggest_create_orderCompares order fill options before buying TRON resources, showing whether to place a new order, buy more, or extend existing delegations with ready-to-fill percentages, payouts, and extension rows.
Instructions
Ask the market how a buy would be filled: a plain new order, buying more only, or extending existing delegations (optionally plus extra). Returns each option with readyToFill (percent), payout (SUN) and the extendData rows. Use before tronsave_create_order when the receiver may already have delegations that can be extended cheaper. Public, read-only. Prices move every ~3 s: re-run right before ordering.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receiver | Yes | TRON base58 address that will receive the resource. | |
| requester | No | TRON base58 address that pays; defaults to the logged-in wallet. | |
| unitPrice | Yes | Unit price in SUN you are willing to pay. | |
| durationSec | Yes | Delegation duration in seconds. | |
| resourceType | Yes | ||
| resourceAmount | Yes | Resource units to buy. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| suggestions | No |