Buy on Rest API
Information about two methods of purchasing energy using Tronsave's API key and 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:
High level of security since signing with a private key is required.
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. [Read the full guide here]
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.
Last updated