tron/src/models/models library

Classes

AccountCreateContract
Activate an account. Uses an already activated account to activate a new account. or just simply transfer TRX to it.
AccountId
AccountIdentifier
AccountPermissionUpdateContract
Update the account's permission.
AccountTrace
AccountType
Enum representing the different types of Tron accounts.
AccountUpdateContract
Modify account name
Any
AssetIssueContract
AssetIssueContractFrozenSupply
Authority
BlockBalanceTrace
BlockBalanceTraceBlockIdentifier
BlockHeader
BlockHeaderRaw
CancelAllUnfreezeV2Contract
Cancel unstakings, all unstaked funds still in the waiting period will be re-staked, all unstaked funds that exceeded the 14-day waiting period will be automatically withdrawn to the owner’s account
ClearABIContract
To clear the ABI info of a smart contract.
CreateSmartContract
Deploys a contract
DelegateResourceContract
Delegate bandwidth or energy resources to other accounts in Stake2.0.
ExchangeCreateContract
Creates a trading pair.
ExchangeInjectContract
Injects capital into the transaction. The purpose of injecting capital into the trading pair is to prevent price fluctuation from affecting the transaction.
ExchangeTransactionContract
Participate the transaction of exchange pair
ExchangeWithdrawContract
Withdraws the transaction pair.
FreezeBalanceContract
This interface has been deprecated, please use FreezeBalanceV2 to stake TRX to obtain resources.
FreezeBalanceV2Contract
In Stake2.0, stake an amount of TRX to obtain bandwidth or energy, and obtain equivalent TRON Power(TP) according to the staked amount
MarketCancelOrderContract
MarketSellAssetContract
ParsedBroadcastTransactionResult
ParsedContractRequest
ParsedSmartContractRequest
ParticipateAssetIssueContract
Participate in an asset issue.
Permission
PermissionType
Enum representing different types of permissions within a Tron account.
ProposalApproveContract
Approves proposed transaction.
ProposalCreateContract
Creates a proposal transaction.
ProposalDeleteContract
Deletes Proposal Transaction.
ReceiveDescription
ResourceCode
Enum representing different resource codes within the Tron protocol.
SetAccountIdContract
ShieldedTransferContract
SmartContract
SmartContractABI
SmartContractABIEntry
SmartContractAbiEntryType
Enum representing different types of entries in a smart contract's ABI (Application Binary Interface).
SmartContractAbiStateMutabilityType
Enum representing different state mutability types in a smart contract's ABI (Application Binary Interface).
SmartContractBABIEntryParam
SpendDescription
Transaction
TransactionBalanceTrace
TransactionBalanceTraceOperation
TransactionContract
TransactionContractType
Enum representing different types of transaction contracts on the Tron blockchain.
TransactionRaw
TransferAssetContract
Transfer TRC10 token.
TransferContract
Create a TRX transfer transaction. If to_address does not exist, then create the account on the blockchain.
TriggerSmartContract
TronBaseContract
contracts
TronEnumerate
An abstract class representing an enumeration in the Tron protocol.
TronKey
TronProtocolBufferImpl
Abstract class providing a common implementation for encoding Tron models using minimal protobuf encoding.
UnDelegateResourceContract
Cancel the delegation of bandwidth or energy resources to other accounts in Stake2.0
UnfreezeAssetContract
Unstake a token that has passed the minimum freeze duration.
UnfreezeBalanceContract
Unstake the TRX staked during Stake1.0, release the obtained bandwidth or energy and TP. This operation will cause automatically cancel all votes.
UnfreezeBalanceV2Contract
Unstake some TRX staked in Stake2.0, release the corresponding amount of bandwidth or energy, and voting rights (TP)
UpdateAssetContract
Update basic TRC10 token information.
UpdateEnergyLimitContract
Update the origin_energy_limit parameter of a smart contract
UpdateSettingContract
Update the consume_user_resource_percent parameter of a smart contract
VoteAssetContract
VoteWitnessContract
VoteWitnessContractVote
WithdrawBalanceContract
WithdrawExpireUnfreezeContract
Withdraw unfrozen balance in Stake2.0, the user can call this API to get back their funds after executing /wallet/unfreezebalancev2 transaction and waiting N days, N is a network parameter
WitnessCreateContract
WitnessUpdateContract