Tronsave
🇬🇧 English
🇬🇧 English
  • 📗INTRODUCTION
    • What is Tronsave ?
    • Why Tronsave?
  • Buyer
    • How to buy Energy ?
      • Buy on the Website
      • Buy on Telegram
        • 1. Create a Tronsave telegram account
        • 2. How To Deposit TRX
        • 3. Get the Tronsave API Key
        • 4. How to buy on Telegram
    • Extend
      • Quick extend
      • Advance
  • 🏬Seller
    • Get Energy by Staking 2.0
    • Permission
    • Sell Energy
      • Manual Sell
      • Auto Sell
      • Sell Suggestion
  • Partner
  • DEVELOPER
    • Get API key
      • On the Website
      • On Telegram
    • Buy Resources (v2)
      • Use Signed Transaction
        • Estimate TRX
        • Get Signed Transaction
        • Create order
      • Use API Key
        • Get Internal Account Info
        • Get Order Book
        • Estimate TRX
        • Create order
        • Get one order details
        • Get Internal Account Order History
    • Extend Orders (v2)
      • Step 1: Get Extendable Delegates
      • Step 2: Extend Request
    • SDK Libraries
    • Rest API v0
      • Buy on Rest API
        • Use Signed Transaction
          • Estimate TRX
          • Get Signed Transaction
          • Create order
          • Demo
        • Use API Key
          • Get Internal Account Info
          • Get Order Book
          • Estimate of TRX
          • Create order
          • Get one order details
          • Get Internal Account Order History
      • Extend with Rest API
  • 🤝Referrer
    • Referrals
  • 💡FAQ
    • Questions for Energy market
    • Calculate APY in TronSave
    • How to connect wallet in Tronsave?
    • Team of Service
  • 👨‍💻Full Code Example
    • Code Example (v2)
      • Buy Resource by API using private key
      • Buy Resources by API using api key
      • Extend order by API using api key
      • Extend order by API using private key
    • Code Example (v0)
      • Buy energy by API using private key
      • Buy energy by API using api key
      • Extend order by API using api key
Powered by GitBook
On this page
  • Using Signed Transaction
  • Using API Key
  1. DEVELOPER
  2. Rest API v0

Buy on Rest API

PreviousRest API v0NextUse Signed Transaction

Last updated 24 days ago

Information about two methods of purchasing energy using Tronsave's API key and a signed transaction:

  • In this method, users create a transaction and sign it with their private key.

  • The signed transaction is then sent to the blockchain network for validation and execution. This ensures that only the owner of the private key can perform the transaction.

Advantages:

  • A high level of security is required when signing with a private key.

  • More control over payment funds, as customers manage them directly.

Disadvantages:

  • Transactions sent to the blockchain network will incur additional transaction fees.

  • More complex integration requires an understanding of transaction signing and validation processes.

  • To use the API key, you need to create a Tronsave internal account and deposit funds into it. []

  • After creating the internal account, an API key will be generated, which will be used to authenticate your transactions.

Advantages:

  • Fast and secure transactions.

  • Easy integration.

  • Save Transaction Fees

Disadvantages:

  • Funds need to be deposited into the internal account to execute transactions.

  • The customer's internal account will be managed by the Tronsave system.

Using Signed Transaction
Using API Key
Read the full guide here