mcp
Ce que fait ce MCP
Enables authenticated buying, selling, extending, and managing TRON ENERGY and BANDWIDTH orders, balances, API keys, and automation settings.
Outils
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['orderId'], 'properties': {'orderId': {'type': 'string', 'minLength': 1, 'description': 'Target order id (`MObjectId`) to cancel. Must be an active order owned/authorized by the current session; already-fulfilled or already-cancelled orders are expected to fail.'}}}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['code', 'success', 'message'], 'properties': {'code': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'GraphQL mutation status code (HTTP-like; `0`/`200` indicates success). Always pair with `success` for routing.'}, 'message': {'type': 'string', 'description': 'Human-readable status text. Populated even on success; localized error messages may appear here on failure.'}, 'success': {'type': 'boolean', 'description': 'Whether the mutation succeeded at the backend level. Always check this before reading `data`.'}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['orderResourceType', 'orderReceiver', 'orderUnitPrice', 'orderDurationSec', 'orderResourceAmount', 'paymentMethod', 'paymentPaymentAmount'], 'properties': {'orderReceiver': {'type': 'string', 'minLength': 1, 'description': 'TRON base58 address (starts with T) that receives delegated resource. Same as `receiver` passed to `tronsave_estimate_buy_resource`.'}, 'paymentMethod': {'enum': ['onchain', 'internal'], 'type': 'string', 'description': 'Payment method for this order: `onchain` (wallet signed tx) or `internal` (internal balance).'}, 'orderUnitPrice': {'type': 'number', 'description': 'Unit price in SUN. Prefer aligning with `minResourcePrice` or `buyResourcePrice` from the latest `tronsave_estimate_buy_resource` for the same receiver, amount, and duration.', 'exclusiveMinimum': 0}, 'paymentSignedTx': {'type': 'object', 'required': ['txID', 'raw_data', 'raw_data_hex', 'signature'], 'properties': {'txID': {'type': 'string', 'pattern': '^[0-9a-fA-F]+$', 'maxLength': 64, 'minLength': 64, 'description': 'Transaction hash (64 hex chars, lowercase, no `0x` prefix).'}, 'visible': {'type': 'boolean', 'description': 'Whether addresses inside `raw_data.contract` are base58 (`true`) vs hex (`false`).'}, 'raw_data': {'type': 'object', 'required': ['contract', 'ref_block_bytes', 'ref_block_hash', 'expiration', 'timestamp'], 'properties': {'contract': {'type': 'array', 'items': {}, 'minItems': 1, 'description': 'At least one TRON contract entry; shape varies by contract type.'}, 'timestamp': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Tx timestamp (Unix epoch ms).', 'exclusiveMinimum': 0}, 'expiration': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Tx expiration (Unix epoch ms).', 'exclusiveMinimum': 0}, 'ref_block_hash': {'type': 'string', 'description': 'Reference block hash (hex).'}, 'ref_block_bytes': {'type': 'string', 'description': 'Reference block bytes (hex).'}}, 'description': 'Raw transaction body produced by TronWeb (`raw_data`).', 'additionalProperties': {}}, 'signature': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[0-9a-fA-F]+$', 'minLength': 1}, 'minItems': 1, 'description': 'Wallet signatures over `raw_data_hex`; usually a single hex string (130 chars for 65-byte secp256k1).'}, 'raw_data_hex': {'type': 'string', 'pattern': '^[0-9a-fA-F]+$', 'description': 'Hex-encoded `raw_data` body.'}}, 'description': "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.", 'additionalProperties': {}}, 'orderDurationSec': {'type': 'number', 'description': 'Delegation duration in seconds. Must match the `durationSec` used in `tronsave_estimate_buy_resource`.', 'exclusiveMinimum': 0}, 'orderResourceType': {'enum': ['ENERGY', 'BANDWIDTH'], 'type': 'string', 'description': 'Resource to buy: ENERGY (smart contracts) or BANDWIDTH (transactions). Must match `tronsave_estimate_buy_resource`.'}, 'orderResourceAmount': {'type': 'number', 'description': 'Amount of ENERGY or BANDWIDTH units to purchase. Same as `buyResourceAmount` in estimate when applicable.', 'exclusiveMinimum': 0}, 'paymentPaymentAmount': {'type': 'number', 'minimum': 0, 'description': 'Payment amount in SUN. Prefer deriving from `tronsave_estimate_buy_resource`; if converting to TRX, divide SUN by `1e6`.'}}}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['code', 'success', 'message'], 'properties': {'code': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'GraphQL mutation status code (HTTP-like; `0`/`200` indicates success). Always pair with `success` for routing.'}, 'data': {'anyOf': [{'type': 'object', 'required': ['orderId'], 'properties': {'orderId': {'type': 'string', 'description': 'Newly created order id (`MObjectId`); pass to `tronsave_get_order` to inspect status.'}}, 'additionalProperties': False}, {'type': 'null'}]}, 'message': {'type': 'string', 'description': 'Human-readable status text. Populated even on success; localized error messages may appear here on failure.'}, 'success': {'type': 'boolean', 'description': 'Whether the mutation succeeded at the backend level. Always check this before reading `data`.'}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id'], 'properties': {'id': {'type': 'string', 'minLength': 1, 'description': 'Auto-buy setting id (`MObjectId`) to delete.'}}}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['code', 'success', 'message'], 'properties': {'code': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'GraphQL mutation status code (HTTP-like; `0`/`200` indicates success). Always pair with `success` for routing.'}, 'message': {'type': 'string', 'description': 'Human-readable status text. Populated even on success; localized error messages may appear here on failure.'}, 'success': {'type': 'boolean', 'description': 'Whether the mutation succeeded at the backend level. Always check this before reading `data`.'}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'receiver': {'type': 'string', 'description': 'receiver address.'}, 'unitPrice': {'type': 'number', 'description': 'Unit price in SUN.'}, 'durationSec': {'type': 'number', 'description': 'Duration of the order in seconds. Default 15 minutes'}, 'resourceType': {'enum': ['ENERGY', 'BANDWIDTH'], 'type': 'string', 'default': 'ENERGY', 'description': 'Resource type to buy. Default ENERGY'}, 'allowPartialFill': {'type': 'boolean', 'description': 'Allow partial fill of the order.'}, 'buyResourceAmount': {'type': 'number', 'description': 'Amount of resource to buy. Default 100000 for ENERGY and 1000 for BANDWIDTH'}, 'minResourceDelegateRequiredAmount': {'type': 'number', 'description': 'Minimum amount of resource to delegate.'}}}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['systemDepositAddress', 'unitPrice', 'durationSec', 'estimateTrx', 'availableResource'], 'properties': {'unitPrice': {'type': 'number', 'description': 'Unit price in SUN'}, 'durationSec': {'type': 'number', 'description': 'Delegated duration in seconds'}, 'estimateTrx': {'type': 'number', 'description': 'Estimated TRX cost in SUN'}, 'availableResource': {'type': 'number', 'description': 'Available resource amount'}, 'systemDepositAddress': {'type': 'string', 'description': 'System deposit address for onchain payment'}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['code', 'success', 'message', 'data'], 'properties': {'code': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'GraphQL mutation status code (HTTP-like; `0`/`200` indicates success). Always pair with `success` for routing.'}, 'data': {'type': 'string', 'description': 'For `generateApiKey`: the freshly issued internal API key â\x80\x94 treat as SECRET, store securely. For `revokeApiKey`: server-defined confirmation string (no key material).'}, 'message': {'type': 'string', 'description': 'Human-readable status text. Populated even on success; localized error messages may appear here on failure.'}, 'success': {'type': 'boolean', 'description': 'Whether the mutation succeeded at the backend level. Always check this before reading `data`.'}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['amountTrx'], 'properties': {'amountTrx': {'type': 'number', 'minimum': 10, 'description': 'Amount of TRX to deposit'}}}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['depositAddress', 'amountTrx'], 'properties': {'amountTrx': {'type': 'number', 'description': 'Amount of TRX to deposit'}, 'depositAddress': {'type': 'string', 'description': 'TRON base58 deposit address, used for deposit TRX to TronSave internal account'}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'id': {'type': 'string'}, 'balance': {'type': 'string', 'description': 'Account balance in SUN (string).'}, 'depositAddress': {'type': 'string', 'description': 'TRON base58 deposit address for funding the internal balance.'}, 'representAddress': {'type': 'string', 'description': 'TRON base58 represent address (used as order requester).'}}, 'additionalProperties': {}}
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'address': {'type': 'string', 'description': 'Optional TRON base58 address (`TronAddress`). When omitted, the server uses anonymous/global market context.'}, 'buyAmount': {'type': 'number', 'description': 'Resource amount to price (same units as order book / delegate amounts for that resource type). Default 100000 for ENERGY and 1000 for BANDWIDTH', 'exclusiveMinimum': 0}, 'durationSec': {'type': 'number', 'default': 900, 'description': 'Delegation window in seconds; must match the duration you plan to use on a real order for comparable quotes. Default 15 minutes', 'exclusiveMinimum': 0}, 'resourceType': {'enum': ['ENERGY', 'BANDWIDTH'], 'type': 'string', 'default': 'ENERGY', 'description': 'Market leg: `ENERGY` or `BANDWIDTH`. Default ENERGY'}}}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['minPrice'], 'properties': {'minPrice': {'type': 'number', 'description': 'Estimated minimum unit price in SUN for the given `resourceType`, `buyAmount`, and `durationSec`; align with `tronsave_estimate_buy_resource` and order `unitPrice` conventions (same as GraphQL `market.estimateMinPrice`).'}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id'], 'properties': {'id': {'type': 'string', 'minLength': 1, 'description': 'Target order id (`MObjectId`) to inspect. Use this to confirm current status/price before update, sell, or cancel actions.'}}}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['order'], 'properties': {'order': {'anyOf': [{'type': 'object', 'required': ['id', 'receiver', 'resourceType', 'resourceAmount', 'remainAmount', 'durationSec', 'isOwner', 'isMatching', 'apy', 'unitPrice', 'createdAt', 'typeOrder'], 'properties': {'id': {'type': 'string', 'description': 'Order id (`MObjectId`); use with `tronsave_get_order` or mutate tools.'}, 'apy': {'type': 'number', 'description': 'Annualized yield hint as returned by the API (see TronSave semantics).'}, 'isOwner': {'type': 'boolean', 'description': 'Whether the list queryâ\x80\x99s viewer context treats this row as owned by `myAddress`.'}, 'receiver': {'type': 'object', 'required': ['address'], 'properties': {'address': {'type': 'string', 'description': 'TRON base58 address for this party.'}}, 'description': 'Receiver wallet and related party info for the delegation leg.', 'additionalProperties': False}, 'createdAt': {'type': 'string', 'format': 'date-time', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$', 'description': 'Order creation time (ISO-8601).'}, 'requester': {'anyOf': [{'type': 'object', 'required': ['address'], 'properties': {'address': {'type': 'string', 'description': 'TRON base58 address for this party.'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Requester party when present.'}, 'typeOrder': {'enum': ['NORMAL', 'FAST', 'EXTEND'], 'type': 'string', 'description': 'Market order flavor.'}, 'unitPrice': {'type': 'number', 'description': 'Unit price in SUN.'}, 'isMatching': {'type': 'boolean', 'description': 'Whether this order matches the viewer/matching filter used in the query.'}, 'durationSec': {'type': 'number', 'description': 'Delegation duration in seconds.'}, 'remainAmount': {'type': 'number', 'description': 'Resource not yet consumed or remaining to fulfill.'}, 'resourceType': {'enum': ['ENERGY', 'BANDWIDTH'], 'type': 'string', 'description': '`ENERGY` or `BANDWIDTH`.'}, 'resourceAmount': {'type': 'number', 'description': 'Original resource amount on the order.'}}, 'additionalProperties': False}, {'type': 'null'}]}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['message', 'timestamp'], 'properties': {'message': {'type': 'string', 'description': "Hex-encoded nonce message to sign client-side with the user's TRON wallet. The signature must be produced over THIS exact message (case-sensitive)."}, 'timestamp': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Unix epoch seconds corresponding to `message`. Pair it with the wallet signature in `<signature>_<timestamp>` form when calling `tronsave_login` (signature mode). This endpoint is a convenience helper; clients may provide their own timestamp payload as well.', 'exclusiveMinimum': 0}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'vote': {'anyOf': [{'type': 'boolean'}, {'type': 'null'}], 'description': 'Whether vote-related automation is enabled for the wallet.'}, 'energy': {'anyOf': [{'type': 'object', 'required': ['isActive', 'minPrice', 'minDelegateAmount', 'maintainUnDelegate', 'profitShare', 'minDelegateDurationSec', 'maxDelegateDurationSec', 'isAcceptExtended'], 'properties': {'isActive': {'type': 'boolean', 'description': 'Whether auto-sell is currently active for this resource leg.'}, 'minPrice': {'type': 'number', 'description': 'Minimum unit price the seller accepts for auto matches (SUN per resource unit).'}, 'profitShare': {'type': 'number', 'description': 'Profit share percentage for this resource leg.'}, 'isAcceptExtended': {'type': 'boolean', 'description': 'Whether incoming extend-style matches are accepted for this leg.'}, 'minDelegateAmount': {'type': 'number', 'description': 'Minimum per-delegation resource amount accepted by auto matches.'}, 'maintainUnDelegate': {'type': 'number', 'description': 'Buffer of undelegated resource the seller keeps reserved.'}, 'maxDelegateDurationSec': {'type': 'number', 'description': 'Upper bound of accepted delegation duration in seconds.'}, 'minDelegateDurationSec': {'type': 'number', 'description': 'Lower bound of accepted delegation duration in seconds.'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Energy auto-sell pool snapshot; null when energy automation is disabled.'}, 'bandwidth': {'anyOf': [{'type': 'object', 'required': ['isActive', 'minPrice', 'minDelegateAmount', 'maintainUnDelegate', 'profitShare', 'minDelegateDurationSec', 'maxDelegateDurationSec', 'isAcceptExtended'], 'properties': {'isActive': {'type': 'boolean', 'description': 'Whether auto-sell is currently active for this resource leg.'}, 'minPrice': {'type': 'number', 'description': 'Minimum unit price the seller accepts for auto matches (SUN per resource unit).'}, 'profitShare': {'type': 'number', 'description': 'Profit share percentage for this resource leg.'}, 'isAcceptExtended': {'type': 'boolean', 'description': 'Whether incoming extend-style matches are accepted for this leg.'}, 'minDelegateAmount': {'type': 'number', 'description': 'Minimum per-delegation resource amount accepted by auto matches.'}, 'maintainUnDelegate': {'type': 'number', 'description': 'Buffer of undelegated resource the seller keeps reserved.'}, 'maxDelegateDurationSec': {'type': 'number', 'description': 'Upper bound of accepted delegation duration in seconds.'}, 'minDelegateDurationSec': {'type': 'number', 'description': 'Lower bound of accepted delegation duration in seconds.'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Bandwidth auto-sell pool snapshot; null when bandwidth automation is disabled.'}, 'suggestSell': {'anyOf': [{'type': 'boolean'}, {'type': 'null'}], 'description': 'Whether suggest-sell UX hints are enabled.'}, 'withdrawVote': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'description': 'Withdraw-vote configuration as a backend-defined string; semantics from TronSave docs.'}, 'permitOperations': {'anyOf': [{'type': 'array', 'items': {'type': 'object', 'properties': {'id': {'anyOf': [{'type': 'number'}, {'type': 'null'}], 'description': 'Backend-assigned permission row id; null when not yet persisted.'}, 'type': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'description': 'Permission category as labelled by the backend (e.g. role/scope tag).'}, 'operations': {'anyOf': [{'type': 'array', 'items': {'type': 'number'}}, {'type': 'null'}], 'description': 'Numeric operation codes enabled for this row; semantics defined by the backend.'}, 'permissionName': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'description': 'Human-readable permission name; meant for display rather than equality checks.'}}, 'additionalProperties': False}}, {'type': 'null'}], 'description': 'Permission rows enabled for this user; null/empty when no automation has been configured.'}, 'reclaimOnlyTronSave': {'anyOf': [{'type': 'boolean'}, {'type': 'null'}], 'description': 'Reclaim flag â\x80\x94 when `true`, only TronSave-managed delegations are reclaimed automatically.'}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['caller', 'address', 'balance', 'info', 'internalAccount'], 'properties': {'info': {'anyOf': [{'type': 'object', 'required': ['createdBotCount', 'contacts', 'whitelistLevel', 'userRefCode', 'sponsor', 'pendingRefCode', 'totalRef', 'totalPendingRef', 'totalRefBonus', 'remainRefBonus', 'rank'], 'properties': {'rank': {'anyOf': [{'type': 'number'}, {'type': 'null'}], 'description': 'Rank'}, 'sponsor': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'description': 'Sponsor'}, 'contacts': {'type': 'array', 'items': {'type': 'object', 'required': ['type', 'contactId', 'isActive', 'isVerify', 'username'], 'properties': {'type': {'enum': ['EMAIL', 'PHONE', 'TELEGRAM', 'WECHAT'], 'type': 'string'}, 'isActive': {'type': 'boolean', 'description': 'Whether the contact is active'}, 'isVerify': {'type': 'boolean', 'description': 'Whether the contact is verified'}, 'username': {'type': 'string', 'description': 'Username'}, 'contactId': {'type': 'string', 'description': 'Contact id'}}, 'additionalProperties': False}}, 'totalRef': {'anyOf': [{'type': 'number'}, {'type': 'null'}], 'description': 'Total ref'}, 'userRefCode': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'description': 'User ref code'}, 'totalRefBonus': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'description': 'Total ref bonus'}, 'pendingRefCode': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'description': 'Pending ref code'}, 'remainRefBonus': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'description': 'Remain ref bonus'}, 'whitelistLevel': {'anyOf': [{'type': 'number'}, {'type': 'null'}], 'description': 'Whitelist level'}, 'createdBotCount': {'type': 'number', 'description': 'Number of bots created by the user'}, 'totalPendingRef': {'anyOf': [{'type': 'number'}, {'type': 'null'}], 'description': 'Total pending ref'}}, 'description': 'user information', 'additionalProperties': False}, {'type': 'null'}]}, 'caller': {'type': 'string', 'description': 'TRON base58 address of the caller'}, 'address': {'type': 'string', 'description': 'TRON base58 address'}, 'balance': {'type': 'string', 'description': 'Amount in SUN, onchain balance of the address'}, 'internalAccount': {'anyOf': [{'type': 'object', 'required': ['depositAddress', 'balance', 'apiKey'], 'properties': {'apiKey': {'type': 'string', 'description': 'Current internal API key associated with this account; treat as sensitive credential material.'}, 'balance': {'type': 'string', 'description': 'Internal-account balance as a decimal string in SUN (BigInt-safe; TRX = SUN / 1e6).'}, 'depositAddress': {'type': 'string', 'description': 'TRON base58 deposit address used for depositing TRX to the TronSave internal balance.'}}, 'description': 'Internal account information; null when the wallet has not provisioned a TronSave internal account yet.', 'additionalProperties': False}, {'type': 'null'}]}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['permitOperations'], 'properties': {'permitOperations': {'type': 'array', 'items': {'type': 'object', 'properties': {'id': {'anyOf': [{'type': 'number'}, {'type': 'null'}], 'description': 'Backend-assigned permission row id; null when not yet persisted.'}, 'type': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'description': 'Permission category as labelled by the backend (e.g. role/scope tag).'}, 'operations': {'anyOf': [{'type': 'array', 'items': {'type': 'number'}}, {'type': 'null'}], 'description': 'Numeric operation codes enabled for this row; semantics defined by the backend.'}, 'permissionName': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'description': 'Human-readable permission name; meant for display rather than equality checks.'}}, 'additionalProperties': False}, 'default': [], 'description': 'Permission rows enabled for this user; defaults to `[]` when nothing is configured.'}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['receiver', 'extendData'], 'properties': {'receiver': {'type': 'string', 'minLength': 1, 'description': 'TRON base58 address of the account that receives the delegated resource.'}, 'extendData': {'type': 'array', 'items': {'type': 'object', 'required': ['delegator', 'isExtend', 'extraAmount', 'extendTo'], 'properties': {'extendTo': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Target end time as Unix epoch milliseconds, matching internal.extend.delegates.', 'exclusiveMinimum': 0}, 'isExtend': {'type': 'boolean', 'description': 'Whether to extend this delegation row.'}, 'delegator': {'type': 'string', 'minLength': 1, 'description': 'TRON base58 delegator address.'}, 'extraAmount': {'type': 'number', 'minimum': 0, 'description': 'Additional resource amount to add (resource units).'}}}, 'minItems': 1, 'description': 'Rows copied from `extendData` returned by `tronsave_internal_extend_delegates`.'}, 'resourceType': {'enum': ['ENERGY', 'BANDWIDTH'], 'type': 'string', 'description': 'Resource type. Default ENERGY when omitted.'}}}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'orderId': {'type': 'string', 'description': 'TronSave order ID (hex string) of the created/extension order.'}}, 'additionalProperties': {}}
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['receiver', 'extendTo'], 'properties': {'extendTo': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Target end time as Unix epoch milliseconds (UTC) for the extended delegation.', 'exclusiveMinimum': 0}, 'receiver': {'type': 'string', 'minLength': 1, 'description': 'TRON base58 address of the account that receives the delegated resource.'}, 'requester': {'type': 'string', 'description': 'TRON base58 requester; defaults to the API key account when omitted.'}, 'resourceType': {'enum': ['ENERGY', 'BANDWIDTH'], 'type': 'string', 'description': 'Resource type. Default ENERGY when omitted.'}, 'maxPriceAccepted': {'type': 'number', 'minimum': 0, 'description': 'Maximum unit price in SUN you are willing to pay for the extension.'}}}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'extendData': {'anyOf': [{'type': 'array', 'items': {'type': 'object', 'required': ['delegator', 'isExtend', 'extraAmount', 'extendTo'], 'properties': {'extendTo': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Target end time as Unix epoch milliseconds, matching internal.extend.delegates.', 'exclusiveMinimum': 0}, 'isExtend': {'type': 'boolean', 'description': 'Whether to extend this delegation row.'}, 'delegator': {'type': 'string', 'minLength': 1, 'description': 'TRON base58 delegator address.'}, 'extraAmount': {'type': 'number', 'minimum': 0, 'description': 'Additional resource amount to add (resource units).'}}, 'additionalProperties': False}}, {'type': 'null'}], 'description': 'Delegations to extend; pass unchanged into internal_create_extend_request `extendData`.'}, 'yourBalance': {'type': 'number', 'description': 'Current account balance in SUN.'}, 'isAbleToExtend': {'type': 'boolean', 'description': 'Whether balance is sufficient to extend.'}, 'extendOrderBook': {'type': 'array', 'items': {'type': 'object', 'properties': {'price': {'type': 'number', 'description': 'Price in SUN.'}, 'availableResourceAmount': {'type': 'number', 'description': 'Available resource amount at this price level.'}}, 'additionalProperties': {}}, 'description': 'Order book for extend.'}, 'totalEstimateTrx': {'type': 'number', 'description': 'Total estimated TRX cost in SUN.'}, 'totalDelegateAmount': {'type': 'number', 'description': 'Total delegated resource amount.'}, 'totalAvailableExtendAmount': {'type': 'number', 'description': 'Total available amount to extend.'}}, 'additionalProperties': {}}
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'address': {'type': 'string', 'description': 'Optional TRON base58 address filter for the receiver.'}, 'durationSec': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Delegation duration window in seconds for the quote.', 'exclusiveMinimum': 0}, 'resourceType': {'enum': ['ENERGY', 'BANDWIDTH'], 'type': 'string', 'description': 'Resource type. Default ENERGY when omitted.'}, 'minDelegateAmount': {'type': 'number', 'minimum': 0, 'description': 'Minimum resource amount per offer level to include (resource units, not SUN).'}}}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'data': {'type': 'array', 'items': {'type': 'object', 'properties': {'price': {'type': 'number', 'description': 'Price in SUN.'}, 'availableResourceAmount': {'type': 'number', 'description': 'Available resource amount at this price level.'}}, 'additionalProperties': {}}, 'description': 'Order book entries sorted by price.'}, 'fast': {'type': 'number', 'description': 'FAST price tier (SUN).'}, 'slow': {'type': 'number', 'description': 'SLOW price tier (SUN).'}, 'medium': {'type': 'number', 'description': 'MEDIUM price tier (SUN).'}, 'availableResource': {'type': 'number', 'description': 'Available resource at the quoted tiers.'}}, 'additionalProperties': {}}
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['resourceAmount', 'receiver'], 'properties': {'options': {'type': 'object', 'properties': {'allowPartialFill': {'type': 'boolean', 'description': 'Allow partial fill. Default true when omitted.'}, 'maxPriceAccepted': {'type': 'number', 'minimum': 0, 'description': 'Maximum unit price in SUN you accept.'}, 'onlyCreateWhenFulfilled': {'type': 'boolean', 'description': 'Only create if the order can be 100% fulfilled. Default false when omitted.'}, 'preventDuplicateIncompleteOrders': {'type': 'boolean', 'description': 'Skip if an identical pending order already exists. Default false when omitted.'}, 'minResourceDelegateRequiredAmount': {'type': 'number', 'minimum': 0, 'description': 'Minimum resource amount per matching provider (resource units).'}}, 'description': 'Optional execution guards and fill behavior.'}, 'sponsor': {'type': 'string', 'description': 'Optional sponsor or referral code.'}, 'receiver': {'type': 'string', 'minLength': 1, 'description': 'TRON base58 address that will receive the resource.'}, 'unitPrice': {'anyOf': [{'enum': ['FAST', 'MEDIUM', 'SLOW'], 'type': 'string'}, {'type': 'number'}], 'description': 'Pricing: FAST | MEDIUM | SLOW strategy, or exact unit price in SUN per resource unit. Default MEDIUM when omitted.'}, 'durationSec': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Delegation duration in seconds. Default 259200 (3 days) when omitted.', 'exclusiveMinimum': 0}, 'resourceType': {'enum': ['ENERGY', 'BANDWIDTH'], 'type': 'string', 'description': 'Resource type. Default ENERGY when omitted.'}, 'resourceAmount': {'type': 'number', 'description': 'Amount of resource to purchase (resource units).', 'exclusiveMinimum': 0}}}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'orderId': {'type': 'string', 'description': 'TronSave order ID (hex string) of the created/extension order.'}}, 'additionalProperties': {}}
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['orderId'], 'properties': {'orderId': {'type': 'string', 'minLength': 1, 'description': 'TronSave order ID (hex string), e.g. value returned in internal.order.create response data.orderId.'}}}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'id': {'type': 'string', 'description': 'TronSave order ID (hex string).'}, 'price': {'type': 'number', 'description': 'Unit price in SUN.'}, 'status': {'type': 'string', 'description': 'Order status.'}, 'receiver': {'type': 'string', 'description': 'TRON base58 receiver address.'}, 'createdAt': {'anyOf': [{'type': 'number'}, {'type': 'string'}], 'description': 'Order created time (Unix epoch ms or ISO-8601, endpoint-dependent).'}, 'delegates': {'type': 'array', 'items': {'type': 'object', 'properties': {'txid': {'type': 'string', 'description': 'Transaction ID on TRON network.'}, 'amount': {'type': 'number', 'description': 'Delegated resource amount.'}, 'delegator': {'type': 'string', 'description': 'TRON base58 address of delegator.'}}, 'additionalProperties': {}}, 'description': 'Delegations fulfilling this order.'}, 'orderType': {'type': 'string', 'description': 'Order type (NORMAL | FAST | EXTEND).'}, 'requester': {'type': 'string', 'description': 'TRON base58 requester address.'}, 'durationSec': {'type': 'number', 'description': 'Delegated duration in seconds.'}, 'payoutAmount': {'type': 'number', 'description': 'Payout amount in SUN.'}, 'remainAmount': {'type': 'number', 'description': 'Remaining unfulfilled amount.'}, 'resourceType': {'enum': ['ENERGY', 'BANDWIDTH'], 'type': 'string', 'description': 'Resource type.'}, 'resourceAmount': {'type': 'number', 'description': 'Resource amount of order.'}, 'allowPartialFill': {'type': 'boolean', 'description': 'Whether partial fill is allowed.'}, 'fulfilledPercent': {'type': 'number', 'description': '0 = pending, 1-99 = partial, 100 = fully matched.'}}, 'additionalProperties': {}}
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['resourceAmount'], 'properties': {'options': {'type': 'object', 'properties': {'allowPartialFill': {'type': 'boolean', 'description': 'Allow partial fill so the order can match partially. Default true when omitted.'}}, 'description': 'Optional flags that affect matching behavior for the estimate.'}, 'receiver': {'type': 'string', 'description': 'TRON base58 address that will receive the resource.'}, 'requester': {'type': 'string', 'description': 'TRON base58 requester; defaults to the API key account when omitted.'}, 'unitPrice': {'anyOf': [{'enum': ['FAST', 'MEDIUM', 'SLOW'], 'type': 'string'}, {'type': 'number'}], 'description': 'Pricing: FAST | MEDIUM | SLOW strategy, or exact unit price in SUN per resource unit. Default MEDIUM when omitted.'}, 'durationSec': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Delegation duration in seconds. Default 259200 (3 days) when omitted.', 'exclusiveMinimum': 0}, 'resourceType': {'enum': ['ENERGY', 'BANDWIDTH'], 'type': 'string', 'description': 'Resource type. Default ENERGY when omitted.'}, 'resourceAmount': {'type': 'number', 'description': 'Amount of resource to purchase (resource units).', 'exclusiveMinimum': 0}}}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'unitPrice': {'type': 'number', 'description': 'Unit price in SUN.'}, 'durationSec': {'type': 'number', 'description': 'Delegated duration in seconds.'}, 'estimateTrx': {'type': 'number', 'description': 'Estimated TRX cost in SUN.'}, 'availableResource': {'type': 'number', 'description': 'Available resource amount.'}}, 'additionalProperties': {}}
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'page': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': 'Page index, 0-based. Omit for first page (default 0).'}, 'pageSize': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': 'Orders per page. Default 10 when omitted. Typical range 1â\x80\x93100.'}}}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'data': {'type': 'array', 'items': {'type': 'object', 'properties': {'id': {'type': 'string', 'description': 'TronSave order ID (hex string).'}, 'price': {'type': 'number', 'description': 'Unit price in SUN.'}, 'status': {'type': 'string', 'description': 'Order status.'}, 'receiver': {'type': 'string', 'description': 'TRON base58 receiver address.'}, 'createdAt': {'anyOf': [{'type': 'number'}, {'type': 'string'}], 'description': 'Order created time (Unix epoch ms or ISO-8601, endpoint-dependent).'}, 'delegates': {'type': 'array', 'items': {'type': 'object', 'properties': {'txid': {'type': 'string', 'description': 'Transaction ID on TRON network.'}, 'amount': {'type': 'number', 'description': 'Delegated resource amount.'}, 'delegator': {'type': 'string', 'description': 'TRON base58 address of delegator.'}}, 'additionalProperties': {}}, 'description': 'Delegations fulfilling this order.'}, 'orderType': {'type': 'string', 'description': 'Order type (NORMAL | FAST | EXTEND).'}, 'requester': {'type': 'string', 'description': 'TRON base58 requester address.'}, 'durationSec': {'type': 'number', 'description': 'Delegated duration in seconds.'}, 'payoutAmount': {'type': 'number', 'description': 'Payout amount in SUN.'}, 'remainAmount': {'type': 'number', 'description': 'Remaining unfulfilled amount.'}, 'resourceType': {'enum': ['ENERGY', 'BANDWIDTH'], 'type': 'string', 'description': 'Resource type.'}, 'resourceAmount': {'type': 'number', 'description': 'Resource amount of order.'}, 'allowPartialFill': {'type': 'boolean', 'description': 'Whether partial fill is allowed.'}, 'fulfilledPercent': {'type': 'number', 'description': '0 = pending, 1-99 = partial, 100 = fully matched.'}}, 'additionalProperties': {}}, 'description': 'Orders on this page, newest first.'}, 'total': {'type': 'number', 'description': 'Total orders matching the query (for pagination).'}}, 'additionalProperties': {}}
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['receiver', 'resourceType'], 'properties': {'receiver': {'type': 'string', 'minLength': 1, 'description': "TRON base58 address (typically starts with `T`) that currently receives or will receive the delegated resource. This is the primary filter: the response describes delegates relevant to extending that account's delegation."}, 'requester': {'type': 'string', 'description': 'Optional TRON base58 address of the viewing/requesting party. When an MCP session is active, the server may still derive identity from auth headers; use this when the API expects an explicit requester string distinct from the receiver.'}, 'suggestData': {'type': 'object', 'required': ['extendTo', 'extraBuyAmount', 'extendAmount', 'maxPrice'], 'properties': {'extendTo': {'type': 'number', 'description': 'Target end time for the extended delegation window, as Unix epoch milliseconds (UTC); align with TronSave REST extend flows when comparing suggest windows.'}, 'maxPrice': {'type': 'number', 'description': 'Maximum unit price in SUN the user is willing to pay for the suggested extend/buy path; used for server-side scoring, not a live order placement by itself.'}, 'extendAmount': {'type': 'number', 'description': 'Hypothetical amount of existing delegation to extend (resource units matching `resourceType`).'}, 'extraBuyAmount': {'type': 'number', 'description': 'Hypothetical extra ENERGY or BANDWIDTH units to buy beyond simple extension; units match `resourceType`, not SUN.'}}, 'description': 'Optional nested scenario for extend-and-buy suggestion scoring. If omitted, the query returns delegate rows without that hypothetical. If provided, supply all four fields together; partial objects are invalid for typical GraphQL input shapes.'}, 'resourceType': {'enum': ['ENERGY', 'BANDWIDTH'], 'type': 'string', 'description': 'Which resource market leg to query: `ENERGY` for contract execution headroom, `BANDWIDTH` for transaction bandwidth. Must match how you plan to extend or buy.'}}}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['extendableDelegates'], 'properties': {'extendableDelegates': {'anyOf': [{'type': 'object', 'required': ['maxExtendAmount'], 'properties': {'data': {'anyOf': [{'type': 'array', 'items': {'type': 'object', 'properties': {'amount': {'anyOf': [{'type': 'number'}, {'type': 'null'}], 'description': 'Delegate amount associated with this row (resource units).'}, 'reason': {'anyOf': [{'type': 'array', 'items': {'type': 'string'}}, {'type': 'null'}], 'description': 'Human-readable reasons when extension is blocked or conditional.'}, 'extendPrice': {'anyOf': [{'type': 'number'}, {'type': 'null'}], 'description': 'Indicative unit price or price component for extending this row (SUN unless API documents otherwise).'}, 'reclaimTime': {'anyOf': [{'type': 'number'}, {'type': 'null'}], 'description': 'Timestamp related to reclaim/unlock timing when relevant.'}, 'isExtendable': {'anyOf': [{'type': 'boolean'}, {'type': 'null'}], 'description': 'Whether this delegate entry can be extended under current rules.'}, 'minTimeExtendTo': {'anyOf': [{'type': 'number'}, {'type': 'null'}], 'description': 'Minimum end time boundary required before extension is allowed.'}, 'availableExtendAt': {'anyOf': [{'type': 'number'}, {'type': 'null'}], 'description': 'Earliest time at which extension becomes available for this row.'}, 'availableResource': {'anyOf': [{'type': 'number'}, {'type': 'null'}], 'description': 'Resource still available from this delegate for matching/extension.'}}, 'additionalProperties': False}}, {'type': 'null'}], 'description': 'Per-delegator or per-offer rows backing the aggregates above; may be empty when nothing is extendable.'}, 'overBuyPrice': {'anyOf': [{'type': 'number'}, {'type': 'null'}], 'description': 'Price facet associated with the over-buy leg (SUN-related aggregate; exact semantics from TronSave API).'}, 'overBuyAmount': {'anyOf': [{'type': 'number'}, {'type': 'null'}], 'description': 'Amount considered in excess of a simple extend-only path when `suggestData` implies extra buy.'}, 'maxExtendAmount': {'type': 'number', 'description': 'Largest extendable resource amount (units) aggregated for this query.'}, 'minExtendRequired': {'anyOf': [{'type': 'number'}, {'type': 'null'}], 'description': 'Minimum resource amount the market requires to treat an extension as valid, if applicable.'}, 'overBuyAmountAvailable': {'anyOf': [{'type': 'number'}, {'type': 'null'}], 'description': 'How much of the over-buy amount is currently matchable.'}, 'overBuyAmountMaxAvailable': {'anyOf': [{'type': 'number'}, {'type': 'null'}], 'description': 'Upper cap for over-buy availability under current book conditions.'}, 'totalAvailableExtraBuyAmount': {'anyOf': [{'type': 'number'}, {'type': 'null'}], 'description': 'Capacity hint for additional buy amount on top of extension under current market state.'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Null when the market has no payload or GraphQL returned no branch; check tool-level errors for hard failures.'}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['resourceType'], 'properties': {'address': {'type': 'string', 'description': 'Optional viewer/requester wallet context.'}, 'durationSec': {'type': 'number', 'description': 'Optional delegation duration filter in seconds.'}, 'resourceType': {'enum': ['ENERGY', 'BANDWIDTH'], 'type': 'string', 'description': 'Order-book side to query (`ENERGY` or `BANDWIDTH`).'}, 'minDelegateAmount': {'type': 'number', 'description': 'Optional minimum delegate amount floor for bucket filtering.'}}}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['orderBook'], 'properties': {'orderBook': {'type': 'array', 'items': {'type': 'object', 'required': ['min', 'max', 'value'], 'properties': {'max': {'type': 'number'}, 'min': {'type': 'number'}, 'value': {'type': 'number'}}, 'additionalProperties': False}}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'integer', 'maximum': 10, 'minimum': 1, 'description': 'Maximum rows to return in one call. Prefer modest limits to avoid huge payloads; page with `offset`.'}, 'offset': {'type': 'integer', 'maximum': 200, 'minimum': 0, 'description': 'Zero-based row offset for page N (skip first `offset` matches). Omit when starting from the first page.'}, 'status': {'enum': ['ACTIVE', 'COMPLETED'], 'type': 'string', 'description': 'Lifecycle filter mapped to GraphQL `isFulfilled`: `ACTIVE` â\x86\x92 `UNFULFILLED` (not yet fulfilled), `COMPLETED` â\x86\x92 `FULFILLED`.'}, 'resourceType': {'enum': ['ENERGY', 'BANDWIDTH'], 'type': 'string', 'description': 'Restrict to `ENERGY` or `BANDWIDTH` orders; omit for both.'}, 'isOnlyMyOrder': {'type': 'boolean', 'description': 'When `true`, only orders whose `requester` is the wallet from the signature session; include `mcp-session-id`. Api-key-only sessions have no wallet address and cannot use this filter. When `false` or omitted, return all orders on the market (no requester filter).'}}}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['orders'], 'properties': {'orders': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'receiver', 'resourceType', 'resourceAmount', 'remainAmount', 'durationSec', 'isOwner', 'isMatching', 'apy', 'unitPrice', 'createdAt', 'typeOrder'], 'properties': {'id': {'type': 'string', 'description': 'Order id (`MObjectId`); use with `tronsave_get_order` or mutate tools.'}, 'apy': {'type': 'number', 'description': 'Annualized yield hint as returned by the API (see TronSave semantics).'}, 'isOwner': {'type': 'boolean', 'description': 'Whether the list queryâ\x80\x99s viewer context treats this row as owned by `myAddress`.'}, 'receiver': {'type': 'object', 'required': ['address'], 'properties': {'address': {'type': 'string', 'description': 'TRON base58 address for this party.'}}, 'description': 'Receiver wallet and related party info for the delegation leg.', 'additionalProperties': False}, 'createdAt': {'type': 'string', 'format': 'date-time', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$', 'description': 'Order creation time (ISO-8601).'}, 'requester': {'anyOf': [{'type': 'object', 'required': ['address'], 'properties': {'address': {'type': 'string', 'description': 'TRON base58 address for this party.'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Requester party when present.'}, 'typeOrder': {'enum': ['NORMAL', 'FAST', 'EXTEND'], 'type': 'string', 'description': 'Market order flavor.'}, 'unitPrice': {'type': 'number', 'description': 'Unit price in SUN.'}, 'isMatching': {'type': 'boolean', 'description': 'Whether this order matches the viewer/matching filter used in the query.'}, 'durationSec': {'type': 'number', 'description': 'Delegation duration in seconds.'}, 'remainAmount': {'type': 'number', 'description': 'Resource not yet consumed or remaining to fulfill.'}, 'resourceType': {'enum': ['ENERGY', 'BANDWIDTH'], 'type': 'string', 'description': '`ENERGY` or `BANDWIDTH`.'}, 'resourceAmount': {'type': 'number', 'description': 'Original resource amount on the order.'}}, 'additionalProperties': False}, 'description': 'Matching orders for this page; may be largeâ\x80\x94use pagination inputs to chunk.'}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'apiKey': {'type': 'string', 'minLength': 1, 'description': 'Raw API key for internal-tools login. Provide EXACTLY ONE of `apiKey` or `signature`.'}, 'signature': {'type': 'string', 'minLength': 1, 'description': 'Signature token in `signature_timestamp` format (timestamp is the signed message). Provide EXACTLY ONE of `apiKey` or `signature`.'}}}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['sessionId', 'expiresAt'], 'properties': {'expiresAt': {'type': 'string', 'format': 'date-time', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$'}, 'sessionId': {'type': 'string', 'description': 'Session id to pass as mcp-session-id in subsequent calls.'}, 'walletAddress': {'type': 'string'}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'poolSetting': {'type': 'object', 'properties': {'energy': {'type': 'object', 'properties': {'minPrice': {'type': 'number', 'description': 'Minimum unit price accepted for auto matches.'}, 'profitShare': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'Profit share percentage for this resource leg.'}, 'isAcceptExtended': {'type': 'boolean', 'description': 'Whether incoming extend-style matches are accepted.'}, 'minDelegateAmount': {'type': 'number', 'description': 'Minimum per-delegation resource amount.'}, 'maintainUnDelegate': {'type': 'number', 'description': 'Buffer of undelegated resource the seller keeps.'}, 'maxDelegateDurationSec': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'Upper bound delegation duration (seconds).'}, 'minDelegateDurationSec': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'Lower bound delegation duration (seconds).'}}}, 'reclaim': {'enum': ['ALL', 'ONLY_TRONSAVE'], 'type': 'string', 'description': 'Reclaim behaviour: ALL resources vs ONLY_TRONSAVE-managed delegations.'}, 'bandwidth': {'type': 'object', 'properties': {'minPrice': {'type': 'number', 'description': 'Minimum unit price accepted for auto matches.'}, 'profitShare': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'Profit share percentage for this resource leg.'}, 'isAcceptExtended': {'type': 'boolean', 'description': 'Whether incoming extend-style matches are accepted.'}, 'minDelegateAmount': {'type': 'number', 'description': 'Minimum per-delegation resource amount.'}, 'maintainUnDelegate': {'type': 'number', 'description': 'Buffer of undelegated resource the seller keeps.'}, 'maxDelegateDurationSec': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'Upper bound delegation duration (seconds).'}, 'minDelegateDurationSec': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'Lower bound delegation duration (seconds).'}}}}}, 'addOnFeature': {'type': 'object', 'properties': {'vote': {'type': 'boolean', 'description': 'Enable vote-related automation when supported.'}, 'stake': {'type': 'object', 'required': ['minAmount', 'remainBalance', 'resourceStake'], 'properties': {'minAmount': {'type': 'number', 'description': 'Minimum TRX (sun semantics per API) for auto-stake trigger.'}, 'remainBalance': {'type': 'number', 'description': 'TRX balance floor to preserve after staking.'}, 'resourceStake': {'enum': ['ENERGY', 'BANDWIDTH'], 'type': 'string', 'description': 'Whether auto-stake targets ENERGY or BANDWIDTH.'}}, 'description': 'Optional auto-stake policy.'}, 'suggestSell': {'type': 'boolean', 'description': 'Enable suggest-sell UX hints.'}, 'withdrawVote': {'type': 'number', 'description': 'GraphQL Float input for withdraw-vote configuration.'}}}, 'paymentConfig': {'type': 'object', 'properties': {'paymentMode': {'enum': ['FIXED', 'RANDOM'], 'type': 'string', 'description': 'FIXED vs RANDOM payout mode when applicable.'}, 'paymentAddress': {'type': 'string', 'minLength': 1, 'description': 'TRON address that receives payouts.'}, 'paymentFrequency': {'enum': ['DAILY', 'IMMEDIATE'], 'type': 'string', 'description': 'DAILY vs IMMEDIATE settlement rhythm.'}, 'paymentTimeWindow': {'type': 'object', 'required': ['start', 'end'], 'properties': {'end': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': 'Window end as a non-negative GraphQL `Int` (same unit as `start`); end > start is enforced server-side, not by this schema.'}, 'start': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': 'Window start as a non-negative GraphQL `Int` (TronSave commonly uses minutes from midnight UTC, `0..1439`).'}}, 'description': 'Optional daily time window for scheduled payouts.'}}}}}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['code', 'success', 'message', 'data'], 'properties': {'code': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'GraphQL mutation status code (HTTP-like; `0`/`200` indicates success). Always pair with `success` for routing.'}, 'data': {'type': 'string', 'description': 'Opaque server-defined payload (tx id, setting id, or status text). Treat as identifier-or-message; rely on `message` for human routing.'}, 'message': {'type': 'string', 'description': 'Human-readable status text. Populated even on success; localized error messages may appear here on failure.'}, 'success': {'type': 'boolean', 'description': 'Whether the mutation succeeded at the backend level. Always check this before reading `data`.'}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['code', 'success', 'message', 'data'], 'properties': {'code': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'GraphQL mutation status code (HTTP-like; `0`/`200` indicates success). Always pair with `success` for routing.'}, 'data': {'type': 'string', 'description': 'For `generateApiKey`: the freshly issued internal API key â\x80\x94 treat as SECRET, store securely. For `revokeApiKey`: server-defined confirmation string (no key material).'}, 'message': {'type': 'string', 'description': 'Human-readable status text. Populated even on success; localized error messages may appear here on failure.'}, 'success': {'type': 'boolean', 'description': 'Whether the mutation succeeded at the backend level. Always check this before reading `data`.'}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['orderId', 'signedTx'], 'properties': {'orderId': {'type': 'string', 'minLength': 1, 'description': 'Target order id (`MObjectId`) to manually fulfill. Should be an order eligible for seller-side manual execution.'}, 'signedTx': {'type': 'object', 'required': ['txID', 'raw_data', 'raw_data_hex', 'signature'], 'properties': {'txID': {'type': 'string', 'pattern': '^[0-9a-fA-F]+$', 'maxLength': 64, 'minLength': 64, 'description': 'Transaction hash (64 hex chars, lowercase, no `0x` prefix).'}, 'visible': {'type': 'boolean', 'description': 'Whether addresses inside `raw_data.contract` are base58 (`true`) vs hex (`false`).'}, 'raw_data': {'type': 'object', 'required': ['contract', 'ref_block_bytes', 'ref_block_hash', 'expiration', 'timestamp'], 'properties': {'contract': {'type': 'array', 'items': {}, 'minItems': 1, 'description': 'At least one TRON contract entry; shape varies by contract type.'}, 'timestamp': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Tx timestamp (Unix epoch ms).', 'exclusiveMinimum': 0}, 'expiration': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Tx expiration (Unix epoch ms).', 'exclusiveMinimum': 0}, 'ref_block_hash': {'type': 'string', 'description': 'Reference block hash (hex).'}, 'ref_block_bytes': {'type': 'string', 'description': 'Reference block bytes (hex).'}}, 'description': 'Raw transaction body produced by TronWeb (`raw_data`).', 'additionalProperties': {}}, 'signature': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[0-9a-fA-F]+$', 'minLength': 1}, 'minItems': 1, 'description': 'Wallet signatures over `raw_data_hex`; usually a single hex string (130 chars for 65-byte secp256k1).'}, 'raw_data_hex': {'type': 'string', 'pattern': '^[0-9a-fA-F]+$', 'description': 'Hex-encoded `raw_data` body.'}}, 'description': 'Required wallet-signed transaction payload (TronWeb shape: `{ txID, raw_data, raw_data_hex, signature[] }`). Must come from client-side signing; never fabricate.', 'additionalProperties': {}}, 'paymentAddress': {'type': 'string', 'description': 'Optional payout/payment address override when settlement flow requires it.'}}}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['code', 'success', 'message'], 'properties': {'code': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'GraphQL mutation status code (HTTP-like; `0`/`200` indicates success). Always pair with `success` for routing.'}, 'message': {'type': 'string', 'description': 'Human-readable status text. Populated even on success; localized error messages may appear here on failure.'}, 'success': {'type': 'boolean', 'description': 'Whether the mutation succeeded at the backend level. Always check this before reading `data`.'}, 'delegatedId': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'description': 'On-chain delegate id created by the manual sell when the underlying transaction is confirmed; null until confirmation lands.'}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'poolSetting': {'type': 'object', 'properties': {'energy': {'type': 'object', 'properties': {'minPrice': {'type': 'number', 'description': 'Minimum unit price accepted for auto matches.'}, 'profitShare': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'Profit share percentage for this resource leg.'}, 'isAcceptExtended': {'type': 'boolean', 'description': 'Whether incoming extend-style matches are accepted.'}, 'minDelegateAmount': {'type': 'number', 'description': 'Minimum per-delegation resource amount.'}, 'maintainUnDelegate': {'type': 'number', 'description': 'Buffer of undelegated resource the seller keeps.'}, 'maxDelegateDurationSec': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'Upper bound delegation duration (seconds).'}, 'minDelegateDurationSec': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'Lower bound delegation duration (seconds).'}}}, 'reclaim': {'enum': ['ALL', 'ONLY_TRONSAVE'], 'type': 'string', 'description': 'Reclaim behaviour: ALL resources vs ONLY_TRONSAVE-managed delegations.'}, 'bandwidth': {'type': 'object', 'properties': {'minPrice': {'type': 'number', 'description': 'Minimum unit price accepted for auto matches.'}, 'profitShare': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'Profit share percentage for this resource leg.'}, 'isAcceptExtended': {'type': 'boolean', 'description': 'Whether incoming extend-style matches are accepted.'}, 'minDelegateAmount': {'type': 'number', 'description': 'Minimum per-delegation resource amount.'}, 'maintainUnDelegate': {'type': 'number', 'description': 'Buffer of undelegated resource the seller keeps.'}, 'maxDelegateDurationSec': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'Upper bound delegation duration (seconds).'}, 'minDelegateDurationSec': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'Lower bound delegation duration (seconds).'}}}}}, 'addOnFeature': {'type': 'object', 'properties': {'vote': {'type': 'boolean', 'description': 'Enable vote-related automation when supported.'}, 'stake': {'type': 'object', 'required': ['minAmount', 'remainBalance', 'resourceStake'], 'properties': {'minAmount': {'type': 'number', 'description': 'Minimum TRX (sun semantics per API) for auto-stake trigger.'}, 'remainBalance': {'type': 'number', 'description': 'TRX balance floor to preserve after staking.'}, 'resourceStake': {'enum': ['ENERGY', 'BANDWIDTH'], 'type': 'string', 'description': 'Whether auto-stake targets ENERGY or BANDWIDTH.'}}, 'description': 'Optional auto-stake policy.'}, 'suggestSell': {'type': 'boolean', 'description': 'Enable suggest-sell UX hints.'}, 'withdrawVote': {'type': 'number', 'description': 'GraphQL Float input for withdraw-vote configuration.'}}}, 'paymentConfig': {'type': 'object', 'properties': {'paymentMode': {'enum': ['FIXED', 'RANDOM'], 'type': 'string', 'description': 'FIXED vs RANDOM payout mode when applicable.'}, 'paymentAddress': {'type': 'string', 'minLength': 1, 'description': 'TRON address that receives payouts.'}, 'paymentFrequency': {'enum': ['DAILY', 'IMMEDIATE'], 'type': 'string', 'description': 'DAILY vs IMMEDIATE settlement rhythm.'}, 'paymentTimeWindow': {'type': 'object', 'required': ['start', 'end'], 'properties': {'end': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': 'Window end as a non-negative GraphQL `Int` (same unit as `start`); end > start is enforced server-side, not by this schema.'}, 'start': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': 'Window start as a non-negative GraphQL `Int` (TronSave commonly uses minutes from midnight UTC, `0..1439`).'}}, 'description': 'Optional daily time window for scheduled payouts.'}}}}}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['code', 'success', 'message', 'data'], 'properties': {'code': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'GraphQL mutation status code (HTTP-like; `0`/`200` indicates success). Always pair with `success` for routing.'}, 'data': {'type': 'string', 'description': 'Opaque server-defined payload (tx id, setting id, or status text). Treat as identifier-or-message; rely on `message` for human routing.'}, 'message': {'type': 'string', 'description': 'Human-readable status text. Populated even on success; localized error messages may appear here on failure.'}, 'success': {'type': 'boolean', 'description': 'Whether the mutation succeeded at the backend level. Always check this before reading `data`.'}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['orderId'], 'properties': {'orderId': {'type': 'string', 'minLength': 1, 'description': 'Target order id (`MObjectId`) to update. Order must still be open and editable.'}, 'newPrice': {'type': 'number', 'description': 'Optional replacement unit price in SUN.'}, 'receiver': {'type': 'string', 'description': 'Optional replacement receiver TRON address.'}}}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['code', 'success', 'message'], 'properties': {'code': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'GraphQL mutation status code (HTTP-like; `0`/`200` indicates success). Always pair with `success` for routing.'}, 'message': {'type': 'string', 'description': 'Human-readable status text. Populated even on success; localized error messages may appear here on failure.'}, 'success': {'type': 'boolean', 'description': 'Whether the mutation succeeded at the backend level. Always check this before reading `data`.'}}, 'additionalProperties': False}
Modifications récentes des outils
Serveurs MCP similaires
SAP MCP Server
Provides an MCP gateway connecting SAP-related tools with Solana, DeFi, decentralized identity, and x402 payments.
FortFi Treasury MCP
Provides policy-controlled crypto treasury operations across chains, including wallets, payments, token discovery, swaps, bridges…
DPX — Institutional Cross-Border Settlement
Provides compliance-gated cross-border crypto settlement, agent registration and spending mandates, stablecoin routing, ESG and s…
Peer
Reads Peer protocol, checkout, deposit, wallet, Peer Cash, cross-chain routing, payout, and IntentGuardian data on Base and relat…
Robyn — Gasless Cross-Chain for AI Agents
Supports gasless cross-chain transfers, wallet and transaction checks, spending mandates, privacy-preserving messaging, and signe…
MERX - TRON Resource Exchange
Manages TRON energy and bandwidth purchasing, resource monitoring, transaction cost estimation, wallet operations, token transfer…
Wisely x402 Agent-Payment Infrastructure
Provides agent payment workflows for x402 endpoints, wallet handoffs, receipts, creator catalogs, local commerce bridges, endpoin…
AgentTools Hub
Offers calculators, unit and data converters, reference lookups, live crypto data, wallet utilities, and paid x402 access.