Get desktop application:
View/edit binary Protocol Buffers messages
* Response: Contains Tron address derived from device private seed @end
Tron address in Base58Check encoding
Address authentication code
* Response: Device ready to receive contract details @next TronTransferContract @next TronTriggerSmartContract @next TronFreezeBalanceV2Contract @next TronUnfreezeBalanceV2Contract @next TronWithdrawUnfreeze
(message has no fields)
https://github.com/tronprotocol/protocol/blob/37bb922a9967bbbef1e84de1c9e5cda56a2d7998/core/contract/balance_contract.proto#L84-L88
Account whose TRX has to be frozen
Amount to be frozen (in SUN)
Resource obtained against freezing.
* Request: Ask device for Tron address corresponding to address_n path @start @next TronAddress @next Failure
BIP-32 path to derive the key from master node
Optionally show on display before sending the result
Display the address in chunks of 4 characters
https://github.com/tronprotocol/protocol/blob/37bb922a9967bbbef1e84de1c9e5cda56a2d7998/core/Tron.proto#L431-L445
https://github.com/tronprotocol/protocol/blob/37bb922a9967bbbef1e84de1c9e5cda56a2d7998/core/Tron.proto#L337-L385
Used in:
Used in:
Used in:
e.g., "type.googleapis.com/protocol.TransferContract"
The serialized value of the contract parameter, e.g., TronTransferContract
https://github.com/tronprotocol/protocol/blob/37bb922a9967bbbef1e84de1c9e5cda56a2d7998/core/contract/common.proto#L9C1-L13C2 Staking/Unstaking can not happen just for TRON_POWER: https://developers.tron.network/reference/freezebalancev2-1
Used in: ,
* Request: Ask device to sign Tron transaction. Provides mandatory contract-agnostic transaction details. @start @next TronContractRequest
BIP-32 path to derive the key from master node
The height of the transaction reference block, using the 6th to 8th
(exclusive) bytes of the reference block height, a total of 2 bytes
The hash of the transaction reference block
Transaction expiration time, beyond which the transaction
will no longer be packed
Transaction memo. (256 bytes maximum, this is a Trezor limitation,
not a Tron protocol limitation)
Transaction timestamp, set as the transaction creation time
Not TRX. Maximum Energy cost. Only for deploying or triggering smart contracts.
* Response: signature for transaction @end
Signature of the transaction
https://github.com/tronprotocol/protocol/blob/37bb922a9967bbbef1e84de1c9e5cda56a2d7998/core/contract/balance_contract.proto#L32-L36
https://developers.tron.network/docs/tron-contracttype#2-transfercontract
Sender's address, Base58Check encoding
Recipient's address, Base58Check encoding
Transfer amount (in SUN)
https://github.com/tronprotocol/protocol/blob/37bb922a9967bbbef1e84de1c9e5cda56a2d7998/core/contract/smart_contract.proto#L74
Sender account, signs transaction
Target smart contract address
ABI-encoded function call data
https://github.com/tronprotocol/protocol/blob/37bb922a9967bbbef1e84de1c9e5cda56a2d7998/core/contract/balance_contract.proto#L90-L94
Account whose TRX has to be unfrozen
Amount to be unfrozen (in SUN)
Resource being forfeited.
https://github.com/tronprotocol/protocol/blob/4c726956542b8dff5a4bd5c54aa07cd9da257d08/core/contract/balance_contract.proto#L96
Address to claim all unfrozen TRX.