addedInput schema / properties / paymentSignedTx / additionalProperties
Added value: +{}
changedInput schema / properties / paymentSignedTx / description
Previous value: -"Required when `paymentMethod=onchain`. Serialized signed TRON transaction object (GraphQL JSON). Produced only by wallet/client after user signs."New 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."
addedInput schema / properties / paymentSignedTx / properties
Added value: +{
+ "raw_data": {
+ "additionalProperties": {},
+ "description": "Raw transaction body produced by TronWeb (`raw_data`).",
+ "properties": {
+ "contract": {
+ "description": "At least one TRON contract entry; shape varies by contract type.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ },
+ "expiration": {
+ "description": "Tx expiration (Unix epoch ms).",
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "ref_block_bytes": {
+ "description": "Reference block bytes (hex).",
+ "type": "string"
+ },
+ "ref_block_hash": {
+ "description": "Reference block hash (hex).",
+ "type": "string"
+ },
+ "timestamp": {
+ "description": "Tx timestamp (Unix epoch ms).",
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "contract",
+ "ref_block_bytes",
+ "ref_block_hash",
+ "expiration",
+ "timestamp"
+ ],
+ "type": "object"
+ },
+ "raw_data_hex": {
+ "description": "Hex-encoded `raw_data` body.",
+ "pattern": "^[0-9a-fA-F]+$",
+ "type": "string"
+ },
+ "signature": {
+ "description": "Wallet signatures over `raw_data_hex`; usually a single hex string (130 chars for 65-byte secp256k1).",
+ "items": {
+ "minLength": 1,
+ "pattern": "^[0-9a-fA-F]+$",
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "txID": {
+ "description": "Transaction hash (64 hex chars, lowercase, no `0x` prefix).",
+ "maxLength": 64,
+ "minLength": 64,
+ "pattern": "^[0-9a-fA-F]+$",
+ "type": "string"
+ },
+ "visible": {
+ "description": "Whether addresses inside `raw_data.contract` are base58 (`true`) vs hex (`false`).",
+ "type": "boolean"
+ }
+}
addedInput schema / properties / paymentSignedTx / required
Added value: +[
+ "txID",
+ "raw_data",
+ "raw_data_hex",
+ "signature"
+]
addedInput schema / properties / paymentSignedTx / type
Added value: +"object"
addedOutput schema / properties / code / description
Added value: +"GraphQL mutation status code (HTTP-like; `0`/`200` indicates success). Always pair with `success` for routing."
changedOutput schema / properties / data / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "depositAddress": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "depositAmount": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "orderId": {
- "type": "string"
- }
- },
- "required": [
- "orderId"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "depositAddress": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Pending-payment deposit address — present only when `paymentMethod=pending`; null/absent for `onchain`/`internal`."
+ },
+ "depositAmount": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Pending-payment amount as a decimal string in SUN (BigInt-safe). Pair with `depositAddress` for `pending` flows."
+ },
+ "orderId": {
+ "description": "Newly created order id (`MObjectId`); pass to `tronsave_get_order` to inspect status.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "orderId"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]
addedOutput schema / properties / message / description
Added value: +"Human-readable status text. Populated even on success; localized error messages may appear here on failure."
addedOutput schema / properties / success / description
Added value: +"Whether the mutation succeeded at the backend level. Always check this before reading `data`."