addedInput schema / properties / orderDurationSec / maximum
Added value: +9007199254740991
changedInput schema / properties / orderDurationSec / type
Previous value: -"number"New value: +"integer"
removedInput schema / properties / orderReceiver / minLength
Removed value: -1
addedInput schema / properties / orderReceiver / pattern
Added value: +"^T[1-9A-HJ-NP-Za-km-z]{33}$"
addedInput schema / properties / orderResourceAmount / maximum
Added value: +9007199254740991
changedInput schema / properties / orderResourceAmount / type
Previous value: -"number"New value: +"integer"
changedInput schema / properties / orderUnitPrice / description
Previous value: -"Unit price in SUN. Prefer aligning with `minResourcePrice` or `buyResourcePrice` from the latest `tronsave_estimate_buy_resource` for the same receiver, amount, and duration."New value: +"Unit price in SUN per resource unit (NOT TRX). Use `unitPrice` from the latest `tronsave_estimate_buy_resource` for the same receiver, amount, and duration."
changedInput schema / properties / paymentPaymentAmount / description
Previous value: -"Payment amount in SUN. Prefer deriving from `tronsave_estimate_buy_resource`; if converting to TRX, divide SUN by `1e6`."New value: +"Total payment in SUN (1 TRX = 1e6 SUN). Use `estimateTrx` (SUN) from the latest `tronsave_estimate_buy_resource`."
changedInput schema / properties / paymentSignedTx / description
Previous value: -"Required when `paymentMethod=onchain`. TronWeb-shaped signed TRON transaction (`{ txID, raw_data, raw_data_hex, signature[] }`). Must be produced client-side by the user's wallet; never fabricate or hand-edit."New value: +"Required when `paymentMethod=onchain`: the user's wallet-signed TRX transfer of `paymentPaymentAmount` SUN to `systemDepositAddress` (from `tronsave_estimate_buy_resource`), TronWeb shape `{ txID, raw_data, raw_data_hex, signature[] }`. Must be produced client-side by the user's wallet; never fabricate or hand-edit."
changedOutput schema / additionalProperties
Previous value: -falseNew value: +{}
addedOutput schema / properties / code / anyOf
Added value: +[
+ {
+ "description": "GraphQL mutation status code (HTTP-like; `0`/`200` indicates success). Always pair with `success` for routing.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+]
removedOutput schema / properties / code / maximum
Removed value: -9007199254740991
removedOutput schema / properties / code / minimum
Removed value: --9007199254740991
removedOutput schema / properties / code / type
Removed value: -"integer"
changedOutput schema / properties / data / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "orderId": {
- "description": "Newly created order id (`MObjectId`); pass to `tronsave_get_order` to inspect status.",
- "type": "string"
- }
- },
- "required": [
- "orderId"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": {},
+ "properties": {
+ "orderId": {
+ "anyOf": [
+ {
+ "description": "Newly created order id (`MObjectId`); pass to `tronsave_get_order` to inspect status.",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Newly created order id (`MObjectId`); pass to `tronsave_get_order` to inspect status."
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]
addedOutput schema / properties / message / anyOf
Added value: +[
+ {
+ "description": "Human-readable status text. Populated even on success; localized error messages may appear here on failure.",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+]
removedOutput schema / properties / message / type
Removed value: -"string"
addedOutput schema / properties / success / anyOf
Added value: +[
+ {
+ "description": "Whether the mutation succeeded at the backend level. Always check this before reading `data`.",
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+]
removedOutput schema / properties / success / type
Removed value: -"boolean"
removedOutput schema / required
Removed value: -[
- "code",
- "success",
- "message"
-]