Tron
Lists accounts using the provided authorization token.
- The authorization token from the request header.
A promise that resolves to an AccountAPIResponse object containing the account data, success status, and a message.
Interface representing the response from the Account API. Extends the BaseAPIResponse to include additional data specific to account responses.
The success status of the operation.
The message associated with the operation.
The address associated with the operation.
A promise that resolves to an AccountAPIResponse object containing the account data, success status, and a message.
Creates a new account using the provided TronInput data.
- The authorization token from the request header.
- The input data required to create a Tron account.
The network on which the transaction is taking place.
The private key of the account.
A promise that resolves to an AccountAPIResponse object containing the account creation result.
Interface representing the response from the Account API. Extends the BaseAPIResponse to include additional data specific to account responses.
The success status of the operation.
The message associated with the operation.
The address associated with the operation.
A promise that resolves to an AccountAPIResponse object containing the account creation result.
Retrieves account information from the Tron blockchain.
- The name of the account to retrieve information for.
- The authorization token from the request header.
A promise that resolves to an AccountAPIResponse object containing the account data.
Interface representing the response from the Account API. Extends the BaseAPIResponse to include additional data specific to account responses.
The success status of the operation.
The message associated with the operation.
The address associated with the operation.
A promise that resolves to an AccountAPIResponse object containing the account data.