- आर्ग्युमेंट रूट के पैरामीटर हैं, एक ही स्तर पर: पाथ और क्वेरी पैरामीटर और JSON बॉडी के फ़ील्ड। उनके नाम और प्रकार टूल के
inputSchemaमें और रूट के API संदर्भ में हैं। idempotency_keyरूट काIdempotency-Keyहेडर है, जो हर उस टूल में उपलब्ध है जिसका रूट इसे लेता है।- परिणाम
structuredContent(रूट का JSON जवाब; सूची{"result": [...]}में लपेटी जाती है) के रूप में और टेक्स्ट ब्लॉक में उसी JSON के रूप में आता है। - त्रुटि
isError: trueऔर{"error": {"code", "message", "status"}}के साथ आती है — API का अपना त्रुटि कोड। - हिंट: हर टूल में
title,readOnlyHint,destructiveHintऔरopenWorldHintहोते हैं। बैलेंस खर्च करने वाला या आवर्ती खर्च चालू करने वाला हर टूलdestructiveHint: trueसे चिह्नित है, इसलिए क्लाइंट उसे कॉल करने से पहले पूछते हैं।
spends — कॉल के समय बैलेंस से पैसे काटता है; recurring — अपने-आप चलने वाला खर्च चालू करता है और कनेक्ट किए गए ऐप के लिए recurring चाहिए; to balance — पैसे बैलेंस में लौटाता है।
कीमतें और अनुमान
| टूल | अनुमतियाँ | पैसा | क्या करता है |
|---|---|---|---|
get_energy_prices | कोई नहीं | — | Get energy prices (GET /api/v1/energy/prices) |
get_bandwidth_prices | कोई नहीं | — | Get bandwidth prices (GET /api/v1/bandwidth/prices) |
estimate_energy | कोई नहीं | — | Estimate energy for a transfer (POST /api/v1/energy/estimate) |
analyze_savings | कोई नहीं | — | Analyze an address’s savings (GET /api/v1/savings/analyze) |
कोटेशन
| टूल | अनुमतियाँ | पैसा | क्या करता है |
|---|---|---|---|
quote_energy | view | — | Quote energy at the account’s price (GET /api/v1/energy/quote/me) |
quote_bandwidth | view | — | Quote bandwidth at the account’s price (GET /api/v1/bandwidth/quote/me) |
बैलेंस और इतिहास
| टूल | अनुमतियाँ | पैसा | क्या करता है |
|---|---|---|---|
get_balance | view | — | Get the account balance (GET /api/v1/account/balance) |
get_history | view | — | Get the balance history (GET /api/v1/account/history) |
get_report | view | — | Get an account report (GET /api/v1/account/reports/{report}) |
पता
| टूल | अनुमतियाँ | पैसा | क्या करता है |
|---|---|---|---|
check_address | view | — | Check a TRON address (GET /api/v1/tools/address-info) |
check_activation | view | — | Check address activation (GET /api/v1/tools/check-activation) |
जमा
| टूल | अनुमतियाँ | पैसा | क्या करता है |
|---|---|---|---|
get_deposit_address | deposit_view | — | Get the deposit address (GET /api/v1/account/deposit) |
list_deposits | deposit_view | — | List deposits (GET /api/v1/account/deposits) |
new_deposit_address | deposit_view | — | New deposit address (POST /api/v1/account/deposit/new-address) |
create_crypto_deposit | deposit_view | — | Deposit in another coin (POST /api/v1/nowpayments/deposit) |
get_crypto_deposit | deposit_view | — | Get a coin deposit’s status (GET /api/v1/nowpayments/deposit/{deposit_id}/status) |
एनर्जी
| टूल | अनुमतियाँ | पैसा | क्या करता है |
|---|---|---|---|
buy_energy | buy_energy | खर्च करता है | Buy energy (POST /api/v1/energy/buy) |
activate_address | buy_energy | खर्च करता है | Activate a TRON address (POST /api/v1/energy/activate) |
बैंडविड्थ
| टूल | अनुमतियाँ | पैसा | क्या करता है |
|---|---|---|---|
buy_bandwidth | buy_bandwidth | खर्च करता है | Buy bandwidth (POST /api/v1/bandwidth/buy) |
reclaim_order | buy_bandwidth | — | Reclaim a bandwidth order (POST /api/v1/orders/{order_id}/reclaim) |
ऑटो बैंडविड्थ
| टूल | अनुमतियाँ | पैसा | क्या करता है |
|---|---|---|---|
quote_auto_bw | buy_bandwidth | — | Quote auto bandwidth (GET /api/v1/bandwidth/auto/quote) |
list_auto_bw | buy_bandwidth | — | List auto bandwidth (GET /api/v1/bandwidth/auto) |
create_auto_bw | buy_bandwidth + recurring | आवर्ती | Start auto bandwidth (POST /api/v1/bandwidth/auto) |
update_auto_bw | buy_bandwidth + recurring | आवर्ती | Change auto bandwidth (PATCH /api/v1/bandwidth/auto/{sub_id}) |
delete_auto_bw | buy_bandwidth | — | Stop auto bandwidth (DELETE /api/v1/bandwidth/auto/{sub_id}) |
list_auto_bw_contracts | buy_bandwidth | — | List auto bandwidth contracts (GET /api/v1/bandwidth/auto/contracts) |
add_auto_bw_contract | buy_bandwidth + recurring | आवर्ती | Add an auto bandwidth contract (POST /api/v1/bandwidth/auto/contracts) |
remove_auto_bw_contract | buy_bandwidth | — | Remove an auto bandwidth contract (DELETE /api/v1/bandwidth/auto/contracts/{address}) |
ऑटो रीफ़िल
| टूल | अनुमतियाँ | पैसा | क्या करता है |
|---|---|---|---|
quote_energy_autorefill | buy_energy | — | Quote energy auto-refill (GET /api/v1/energy/auto-refill/quote) |
list_energy_autorefill | buy_energy | — | List energy auto-refill (GET /api/v1/energy/auto-refill) |
create_energy_autorefill | buy_energy + recurring | आवर्ती | Start energy auto-refill (POST /api/v1/energy/auto-refill) |
update_energy_autorefill | buy_energy + recurring | आवर्ती | Change energy auto-refill (PATCH /api/v1/energy/auto-refill/{rule_id}) |
delete_energy_autorefill | buy_energy | — | Stop energy auto-refill (DELETE /api/v1/energy/auto-refill/{rule_id}) |
quote_bandwidth_autorefill | buy_bandwidth | — | Quote bandwidth auto-refill (GET /api/v1/bandwidth/auto-refill/quote) |
list_bandwidth_autorefill | buy_bandwidth | — | List bandwidth auto-refill (GET /api/v1/bandwidth/auto-refill) |
create_bandwidth_autorefill | buy_bandwidth + recurring | आवर्ती | Start bandwidth auto-refill (POST /api/v1/bandwidth/auto-refill) |
update_bandwidth_autorefill | buy_bandwidth + recurring | आवर्ती | Change bandwidth auto-refill (PATCH /api/v1/bandwidth/auto-refill/{rule_id}) |
delete_bandwidth_autorefill | buy_bandwidth | — | Stop bandwidth auto-refill (DELETE /api/v1/bandwidth/auto-refill/{rule_id}) |
ऑर्डर
| टूल | अनुमतियाँ | पैसा | क्या करता है |
|---|---|---|---|
list_orders | view | — | List orders (GET /api/v1/orders) |
get_order | view | — | Get an order (GET /api/v1/orders/{order_id}) |
Smart Mode
| टूल | अनुमतियाँ | पैसा | क्या करता है |
|---|---|---|---|
get_smart_mode_fees | smart_mode | — | Get Smart Mode fees (GET /api/v1/smart-mode/fees) |
list_smart_mode | smart_mode | — | List Smart Mode addresses (GET /api/v1/smart-mode/subscriptions) |
get_smart_mode | smart_mode | — | Get a Smart Mode address (GET /api/v1/smart-mode/{sub_id}) |
list_smart_mode_events | smart_mode | — | List Smart Mode events (GET /api/v1/smart-mode/events) |
activate_smart_mode | smart_mode + recurring | आवर्ती | Start Smart Mode (POST /api/v1/smart-mode/activate) |
update_smart_mode | smart_mode + recurring | आवर्ती | Change Smart Mode (PATCH /api/v1/smart-mode/{sub_id}) |
pause_smart_mode | smart_mode + recurring | आवर्ती | Pause or resume Smart Mode (POST /api/v1/smart-mode/{sub_id}/toggle) |
deactivate_smart_mode | smart_mode | — | Stop Smart Mode (POST /api/v1/smart-mode/{sub_id}/deactivate) |
reactivate_smart_mode | smart_mode + recurring | आवर्ती | Restart Smart Mode (POST /api/v1/smart-mode/{sub_id}/reactivate) |
delete_smart_mode | smart_mode | — | Delete a Smart Mode address (POST /api/v1/smart-mode/{sub_id}/delete) |
ट्रांसफ़र पैकेज
| टूल | अनुमतियाँ | पैसा | क्या करता है |
|---|---|---|---|
list_package_tiers | transfer_packages | — | List package tiers (GET /api/v1/transfer-packages/tiers) |
check_package | transfer_packages | — | Check an address’s package (GET /api/v1/transfer-packages/check/{address}) |
list_my_packages | transfer_packages | — | List my packages (GET /api/v1/transfer-packages/my) |
buy_package | transfer_packages | खर्च करता है | Buy a transfer package (POST /api/v1/transfer-packages/buy) |
cancel_package | transfer_packages | — | Cancel an unpaid package (POST /api/v1/transfer-packages/{package_id}/cancel) |
create_package_invoice | transfer_packages | — | Invoice for a package (POST /api/v1/transfer-packages/buy-invoice) |
इनवॉइस
| टूल | अनुमतियाँ | पैसा | क्या करता है |
|---|---|---|---|
create_invoice | buy_energy | — | Create an invoice (POST /api/v1/invoices) |
list_my_invoices | buy_energy | — | List my invoices (GET /api/v1/invoices/my) |
get_invoice | buy_energy | — | Get an invoice (GET /api/v1/invoices/{invoice_id}) |
send_invoice_email | buy_energy | — | Email an invoice (POST /api/v1/invoices/{invoice_id}/send-email) |
ब्रॉडकास्टर
| टूल | अनुमतियाँ | पैसा | क्या करता है |
|---|---|---|---|
get_broadcaster_quota | view | — | Get the broadcaster quota (GET /api/v1/broadcast/slugs/quota) |
list_broadcast_events | view | — | List broadcaster events (GET /api/v1/broadcast/events) |
list_broadcast_slugs | broadcaster | — | List broadcaster nodes (GET /api/v1/broadcast/slugs) |
create_broadcast_slug | broadcaster + recurring | आवर्ती | Create a broadcaster node (POST /api/v1/broadcast/slugs) |
update_broadcast_slug | broadcaster + recurring | आवर्ती | Change a broadcaster node (PATCH /api/v1/broadcast/slugs/{slug_id}) |
delete_broadcast_slug | broadcaster | — | Delete a broadcaster node (DELETE /api/v1/broadcast/slugs/{slug_id}) |
Energy Resale
| टूल | अनुमतियाँ | पैसा | क्या करता है |
|---|---|---|---|
list_resale_addresses | energy_resale | — | List resale addresses (GET /api/v1/sublease/addresses) |
get_resale | energy_resale | — | Get a resale address (GET /api/v1/sublease/{sub_id}) |
get_resale_balance | energy_resale | — | Get a resale balance (GET /api/v1/sublease/{sub_id}/balance) |
get_resale_logs | energy_resale | — | Get resale logs (GET /api/v1/sublease/{sub_id}/logs) |
activate_resale | energy_resale + recurring | आवर्ती | Start Energy Resale (POST /api/v1/sublease/activate) |
generate_resale_address | energy_resale + recurring | आवर्ती | Generate a resale address (POST /api/v1/sublease/generate) |
update_resale | energy_resale + recurring | आवर्ती | Change Energy Resale (PATCH /api/v1/sublease/{sub_id}) |
deactivate_resale | energy_resale | — | Stop Energy Resale (POST /api/v1/sublease/{sub_id}/deactivate) |
reset_resale_stats | energy_resale | — | Reset resale stats (POST /api/v1/sublease/{sub_id}/reset-stats) |
collect_resale_profit | energy_resale | बैलेंस में | Collect resale profit (POST /api/v1/sublease/{sub_id}/collect) |
निकासी
| टूल | अनुमतियाँ | पैसा | क्या करता है |
|---|---|---|---|
get_withdrawal_fee | view + केवल API कुंजी | — | Get the withdrawal fee (GET /api/v1/account/withdrawal-fee) |
list_withdrawals | view + केवल API कुंजी | — | List withdrawals (GET /api/v1/account/withdrawals) |
get_withdrawal | view + केवल API कुंजी | — | Get a withdrawal (GET /api/v1/account/withdrawals/{withdrawal_id}) |
lock_withdrawal_rate | withdraw + केवल API कुंजी | — | Lock a USDT withdrawal rate (POST /api/v1/account/withdrawal/rate-lock) |
withdraw | withdraw + केवल API कुंजी | निकासी | Withdraw funds (POST /api/v1/account/withdrawal) |
स्टेकिंग
| टूल | अनुमतियाँ | पैसा | क्या करता है |
|---|---|---|---|
list_stakes | view | — | List stakes (GET /api/v1/account/stakes) |
get_staking_rewards | view | — | Get staking rewards (GET /api/v1/account/staking-rewards) |
get_staking_params | view | — | Get staking parameters (GET /api/v1/staking/network-params) |
stake | staking | खर्च करता है | Stake TRX (POST /api/v1/account/stake) |
unstake | staking | बैलेंस में | Unstake a position (POST /api/v1/account/stake/{position_id}/unstake) |
cancel_unstake | staking | — | Cancel an unstake (POST /api/v1/account/stake/{position_id}/cancel-unstake) |
claim_stake | staking | बैलेंस में | Claim a position (POST /api/v1/account/stake/{position_id}/claim) |
claim_staking_rewards | staking | बैलेंस में | Claim staking rewards (POST /api/v1/account/staking-rewards/claim) |
set_staking_auto_claim | staking | — | Set reward auto-claim (PATCH /api/v1/account/staking-rewards/auto-claim) |
Node API
| टूल | अनुमतियाँ | पैसा | क्या करता है |
|---|---|---|---|
list_node_plans | view | — | List Node API plans (GET /api/v1/node-api/plans) |
get_node_subscription | view | — | Get the Node API plan (GET /api/v1/node-api/subscription) |
get_node_usage | view | — | Get Node API usage (GET /api/v1/node-api/usage) |
list_node_charges | view | — | List Node API charges (GET /api/v1/node-api/charges) |
buy_node_plan | node_api_plan + recurring | आवर्ती | Buy a Node API plan (POST /api/v1/node-api/subscription) |
start_node_trial | node_api_plan | — | Start a Node API trial (POST /api/v1/node-api/trial) |
set_node_renewal | node_api_plan + recurring | आवर्ती | Set Node API auto-renewal (PATCH /api/v1/node-api/subscription) |