Builder

class Builder
Transaction
Protobuf type TW.Tron.Proto.Transaction

Functions

Link copied to clipboard
Transaction block header.
.TW.Tron.Proto.BlockHeader block_header = 3;
Link copied to clipboard
Link copied to clipboard
.TW.Tron.Proto.DelegateResourceContract delegate_resource = 24;
Link copied to clipboard
Transaction expiration time in milliseconds.
int64 expiration = 2;
Link copied to clipboard
Transaction fee limit
int64 fee_limit = 4;
Link copied to clipboard
.TW.Tron.Proto.FreezeBalanceContract freeze_balance = 12;
Link copied to clipboard
.TW.Tron.Proto.FreezeBalanceV2Contract freeze_balance_v2 = 20;
Link copied to clipboard
Transaction timestamp in milliseconds.
int64 timestamp = 1;
Link copied to clipboard
.TW.Tron.Proto.TransferContract transfer = 10;
Link copied to clipboard
.TW.Tron.Proto.TransferAssetContract transfer_asset = 11;
Link copied to clipboard
.TW.Tron.Proto.TransferTRC20Contract transfer_trc20_contract = 19;
Link copied to clipboard
.TW.Tron.Proto.TriggerSmartContract trigger_smart_contract = 18;
Link copied to clipboard
.TW.Tron.Proto.UnDelegateResourceContract undelegate_resource = 25;
Link copied to clipboard
.TW.Tron.Proto.UnfreezeAssetContract unfreeze_asset = 14;
Link copied to clipboard
.TW.Tron.Proto.UnfreezeBalanceContract unfreeze_balance = 13;
Link copied to clipboard
.TW.Tron.Proto.UnfreezeBalanceV2Contract unfreeze_balance_v2 = 21;
Link copied to clipboard
.TW.Tron.Proto.VoteAssetContract vote_asset = 16;
Link copied to clipboard
.TW.Tron.Proto.VoteWitnessContract vote_witness = 17;
Link copied to clipboard
.TW.Tron.Proto.WithdrawBalanceContract withdraw_balance = 15;
Link copied to clipboard
.TW.Tron.Proto.WithdrawExpireUnfreezeContract withdraw_expire_unfreeze = 23;
Link copied to clipboard
open fun getBlockHeader(): BlockHeader
Transaction block header.
.TW.Tron.Proto.BlockHeader block_header = 3;
Link copied to clipboard
open fun getDelegateResource(): DelegateResourceContract
.TW.Tron.Proto.DelegateResourceContract delegate_resource = 24;
Link copied to clipboard
open fun getExpiration(): Long
Transaction expiration time in milliseconds.
int64 expiration = 2;
Link copied to clipboard
open fun getFeeLimit(): Long
Transaction fee limit
int64 fee_limit = 4;
Link copied to clipboard
open fun getFreezeBalance(): FreezeBalanceContract
.TW.Tron.Proto.FreezeBalanceContract freeze_balance = 12;
Link copied to clipboard
open fun getFreezeBalanceV2(): FreezeBalanceV2Contract
.TW.Tron.Proto.FreezeBalanceV2Contract freeze_balance_v2 = 20;
Link copied to clipboard
open fun getTimestamp(): Long
Transaction timestamp in milliseconds.
int64 timestamp = 1;
Link copied to clipboard
open fun getTransfer(): TransferContract
.TW.Tron.Proto.TransferContract transfer = 10;
Link copied to clipboard
open fun getTransferAsset(): TransferAssetContract
.TW.Tron.Proto.TransferAssetContract transfer_asset = 11;
Link copied to clipboard
open fun getTransferTrc20Contract(): TransferTRC20Contract
.TW.Tron.Proto.TransferTRC20Contract transfer_trc20_contract = 19;
Link copied to clipboard
open fun getTriggerSmartContract(): TriggerSmartContract
.TW.Tron.Proto.TriggerSmartContract trigger_smart_contract = 18;
Link copied to clipboard
open fun getUndelegateResource(): UnDelegateResourceContract
.TW.Tron.Proto.UnDelegateResourceContract undelegate_resource = 25;
Link copied to clipboard
open fun getUnfreezeAsset(): UnfreezeAssetContract
.TW.Tron.Proto.UnfreezeAssetContract unfreeze_asset = 14;
Link copied to clipboard
open fun getUnfreezeBalance(): UnfreezeBalanceContract
.TW.Tron.Proto.UnfreezeBalanceContract unfreeze_balance = 13;
Link copied to clipboard
open fun getUnfreezeBalanceV2(): UnfreezeBalanceV2Contract
.TW.Tron.Proto.UnfreezeBalanceV2Contract unfreeze_balance_v2 = 21;
Link copied to clipboard
open fun getVoteAsset(): VoteAssetContract
.TW.Tron.Proto.VoteAssetContract vote_asset = 16;
Link copied to clipboard
open fun getVoteWitness(): VoteWitnessContract
.TW.Tron.Proto.VoteWitnessContract vote_witness = 17;
Link copied to clipboard
open fun getWithdrawBalance(): WithdrawBalanceContract
.TW.Tron.Proto.WithdrawBalanceContract withdraw_balance = 15;
Link copied to clipboard
open fun getWithdrawExpireUnfreeze(): WithdrawExpireUnfreezeContract
.TW.Tron.Proto.WithdrawExpireUnfreezeContract withdraw_expire_unfreeze = 23;
Link copied to clipboard
Transaction block header.
.TW.Tron.Proto.BlockHeader block_header = 3;
Link copied to clipboard
.TW.Tron.Proto.DelegateResourceContract delegate_resource = 24;
Link copied to clipboard
.TW.Tron.Proto.FreezeBalanceContract freeze_balance = 12;
Link copied to clipboard
.TW.Tron.Proto.FreezeBalanceV2Contract freeze_balance_v2 = 20;
Link copied to clipboard
open fun hasTransfer(): Boolean
.TW.Tron.Proto.TransferContract transfer = 10;
Link copied to clipboard
.TW.Tron.Proto.TransferAssetContract transfer_asset = 11;
Link copied to clipboard
.TW.Tron.Proto.TransferTRC20Contract transfer_trc20_contract = 19;
Link copied to clipboard
.TW.Tron.Proto.TriggerSmartContract trigger_smart_contract = 18;
Link copied to clipboard
.TW.Tron.Proto.UnDelegateResourceContract undelegate_resource = 25;
Link copied to clipboard
.TW.Tron.Proto.UnfreezeAssetContract unfreeze_asset = 14;
Link copied to clipboard
.TW.Tron.Proto.UnfreezeBalanceContract unfreeze_balance = 13;
Link copied to clipboard
.TW.Tron.Proto.UnfreezeBalanceV2Contract unfreeze_balance_v2 = 21;
Link copied to clipboard
open fun hasVoteAsset(): Boolean
.TW.Tron.Proto.VoteAssetContract vote_asset = 16;
Link copied to clipboard
.TW.Tron.Proto.VoteWitnessContract vote_witness = 17;
Link copied to clipboard
.TW.Tron.Proto.WithdrawBalanceContract withdraw_balance = 15;
Link copied to clipboard
.TW.Tron.Proto.WithdrawExpireUnfreezeContract withdraw_expire_unfreeze = 23;
Link copied to clipboard
open fun mergeBlockHeader(value: BlockHeader): Tron.Transaction.Builder
Transaction block header.
.TW.Tron.Proto.BlockHeader block_header = 3;
Link copied to clipboard
open fun mergeDelegateResource(value: DelegateResourceContract): Tron.Transaction.Builder
.TW.Tron.Proto.DelegateResourceContract delegate_resource = 24;
Link copied to clipboard
open fun mergeFreezeBalance(value: FreezeBalanceContract): Tron.Transaction.Builder
.TW.Tron.Proto.FreezeBalanceContract freeze_balance = 12;
Link copied to clipboard
open fun mergeFreezeBalanceV2(value: FreezeBalanceV2Contract): Tron.Transaction.Builder
.TW.Tron.Proto.FreezeBalanceV2Contract freeze_balance_v2 = 20;
Link copied to clipboard
open fun mergeTransfer(value: TransferContract): Tron.Transaction.Builder
.TW.Tron.Proto.TransferContract transfer = 10;
Link copied to clipboard
open fun mergeTransferAsset(value: TransferAssetContract): Tron.Transaction.Builder
.TW.Tron.Proto.TransferAssetContract transfer_asset = 11;
Link copied to clipboard
open fun mergeTransferTrc20Contract(value: TransferTRC20Contract): Tron.Transaction.Builder
.TW.Tron.Proto.TransferTRC20Contract transfer_trc20_contract = 19;
Link copied to clipboard
open fun mergeTriggerSmartContract(value: TriggerSmartContract): Tron.Transaction.Builder
.TW.Tron.Proto.TriggerSmartContract trigger_smart_contract = 18;
Link copied to clipboard
open fun mergeUndelegateResource(value: UnDelegateResourceContract): Tron.Transaction.Builder
.TW.Tron.Proto.UnDelegateResourceContract undelegate_resource = 25;
Link copied to clipboard
open fun mergeUnfreezeAsset(value: UnfreezeAssetContract): Tron.Transaction.Builder
.TW.Tron.Proto.UnfreezeAssetContract unfreeze_asset = 14;
Link copied to clipboard
open fun mergeUnfreezeBalance(value: UnfreezeBalanceContract): Tron.Transaction.Builder
.TW.Tron.Proto.UnfreezeBalanceContract unfreeze_balance = 13;
Link copied to clipboard
open fun mergeUnfreezeBalanceV2(value: UnfreezeBalanceV2Contract): Tron.Transaction.Builder
.TW.Tron.Proto.UnfreezeBalanceV2Contract unfreeze_balance_v2 = 21;
Link copied to clipboard
open fun mergeVoteAsset(value: VoteAssetContract): Tron.Transaction.Builder
.TW.Tron.Proto.VoteAssetContract vote_asset = 16;
Link copied to clipboard
open fun mergeVoteWitness(value: VoteWitnessContract): Tron.Transaction.Builder
.TW.Tron.Proto.VoteWitnessContract vote_witness = 17;
Link copied to clipboard
open fun mergeWithdrawBalance(value: WithdrawBalanceContract): Tron.Transaction.Builder
.TW.Tron.Proto.WithdrawBalanceContract withdraw_balance = 15;
Link copied to clipboard
open fun mergeWithdrawExpireUnfreeze(value: WithdrawExpireUnfreezeContract): Tron.Transaction.Builder
.TW.Tron.Proto.WithdrawExpireUnfreezeContract withdraw_expire_unfreeze = 23;
Link copied to clipboard
open fun setBlockHeader(builderForValue: Builder): Tron.Transaction.Builder
open fun setBlockHeader(value: BlockHeader): Tron.Transaction.Builder
Transaction block header.
.TW.Tron.Proto.BlockHeader block_header = 3;
Link copied to clipboard
open fun setDelegateResource(builderForValue: Builder): Tron.Transaction.Builder
open fun setDelegateResource(value: DelegateResourceContract): Tron.Transaction.Builder
.TW.Tron.Proto.DelegateResourceContract delegate_resource = 24;
Link copied to clipboard
Transaction expiration time in milliseconds.
int64 expiration = 2;
Link copied to clipboard
Transaction fee limit
int64 fee_limit = 4;
Link copied to clipboard
open fun setFreezeBalance(builderForValue: Builder): Tron.Transaction.Builder
open fun setFreezeBalance(value: FreezeBalanceContract): Tron.Transaction.Builder
.TW.Tron.Proto.FreezeBalanceContract freeze_balance = 12;
Link copied to clipboard
open fun setFreezeBalanceV2(builderForValue: Builder): Tron.Transaction.Builder
open fun setFreezeBalanceV2(value: FreezeBalanceV2Contract): Tron.Transaction.Builder
.TW.Tron.Proto.FreezeBalanceV2Contract freeze_balance_v2 = 20;
Link copied to clipboard
Transaction timestamp in milliseconds.
int64 timestamp = 1;
Link copied to clipboard
open fun setTransfer(builderForValue: Builder): Tron.Transaction.Builder
open fun setTransfer(value: TransferContract): Tron.Transaction.Builder
.TW.Tron.Proto.TransferContract transfer = 10;
Link copied to clipboard
open fun setTransferAsset(builderForValue: Builder): Tron.Transaction.Builder
open fun setTransferAsset(value: TransferAssetContract): Tron.Transaction.Builder
.TW.Tron.Proto.TransferAssetContract transfer_asset = 11;
Link copied to clipboard
open fun setTransferTrc20Contract(builderForValue: Builder): Tron.Transaction.Builder
open fun setTransferTrc20Contract(value: TransferTRC20Contract): Tron.Transaction.Builder
.TW.Tron.Proto.TransferTRC20Contract transfer_trc20_contract = 19;
Link copied to clipboard
open fun setTriggerSmartContract(builderForValue: Builder): Tron.Transaction.Builder
open fun setTriggerSmartContract(value: TriggerSmartContract): Tron.Transaction.Builder
.TW.Tron.Proto.TriggerSmartContract trigger_smart_contract = 18;
Link copied to clipboard
open fun setUndelegateResource(builderForValue: Builder): Tron.Transaction.Builder
open fun setUndelegateResource(value: UnDelegateResourceContract): Tron.Transaction.Builder
.TW.Tron.Proto.UnDelegateResourceContract undelegate_resource = 25;
Link copied to clipboard
open fun setUnfreezeAsset(builderForValue: Builder): Tron.Transaction.Builder
open fun setUnfreezeAsset(value: UnfreezeAssetContract): Tron.Transaction.Builder
.TW.Tron.Proto.UnfreezeAssetContract unfreeze_asset = 14;
Link copied to clipboard
open fun setUnfreezeBalance(builderForValue: Builder): Tron.Transaction.Builder
open fun setUnfreezeBalance(value: UnfreezeBalanceContract): Tron.Transaction.Builder
.TW.Tron.Proto.UnfreezeBalanceContract unfreeze_balance = 13;
Link copied to clipboard
open fun setUnfreezeBalanceV2(builderForValue: Builder): Tron.Transaction.Builder
open fun setUnfreezeBalanceV2(value: UnfreezeBalanceV2Contract): Tron.Transaction.Builder
.TW.Tron.Proto.UnfreezeBalanceV2Contract unfreeze_balance_v2 = 21;
Link copied to clipboard
open fun setVoteAsset(builderForValue: Builder): Tron.Transaction.Builder
open fun setVoteAsset(value: VoteAssetContract): Tron.Transaction.Builder
.TW.Tron.Proto.VoteAssetContract vote_asset = 16;
Link copied to clipboard
open fun setVoteWitness(builderForValue: Builder): Tron.Transaction.Builder
open fun setVoteWitness(value: VoteWitnessContract): Tron.Transaction.Builder
.TW.Tron.Proto.VoteWitnessContract vote_witness = 17;
Link copied to clipboard
open fun setWithdrawBalance(builderForValue: Builder): Tron.Transaction.Builder
open fun setWithdrawBalance(value: WithdrawBalanceContract): Tron.Transaction.Builder
.TW.Tron.Proto.WithdrawBalanceContract withdraw_balance = 15;
Link copied to clipboard
open fun setWithdrawExpireUnfreeze(builderForValue: Builder): Tron.Transaction.Builder
open fun setWithdrawExpireUnfreeze(value: WithdrawExpireUnfreezeContract): Tron.Transaction.Builder
.TW.Tron.Proto.WithdrawExpireUnfreezeContract withdraw_expire_unfreeze = 23;