FreezeBalanceV2Contract

stake TRX to obtain TRON Power (voting rights) and bandwidth or energy.
Protobuf type TW.Tron.Proto.FreezeBalanceV2Contract

Types

Link copied to clipboard
class Builder
stake TRX to obtain TRON Power (voting rights) and bandwidth or energy.
Protobuf type TW.Tron.Proto.FreezeBalanceV2Contract

Functions

Link copied to clipboard
open fun getDefaultInstance(): FreezeBalanceV2Contract
Link copied to clipboard
Amount of TRX to be staked, unit is sun, data type is uint256
int64 frozen_balance = 2;
Link copied to clipboard
Address of transaction initiator, data type is string
string owner_address = 1;
Link copied to clipboard
open fun getOwnerAddressBytes(): ByteString
Address of transaction initiator, data type is string
string owner_address = 1;
Link copied to clipboard
open fun getResource(): String
Resource type, "BANDWIDTH" or "ENERGY", data type is string
string resource = 3;
Link copied to clipboard
open fun getResourceBytes(): ByteString
Resource type, "BANDWIDTH" or "ENERGY", data type is string
string resource = 3;
Link copied to clipboard
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream): FreezeBalanceV2Contract
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): FreezeBalanceV2Contract
Link copied to clipboard
open fun parseFrom(data: Array<Byte>): FreezeBalanceV2Contract
open fun parseFrom(data: ByteString): FreezeBalanceV2Contract
open fun parseFrom(input: CodedInputStream): FreezeBalanceV2Contract
open fun parseFrom(input: InputStream): FreezeBalanceV2Contract
open fun parseFrom(data: ByteBuffer): FreezeBalanceV2Contract
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): FreezeBalanceV2Contract
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): FreezeBalanceV2Contract
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): FreezeBalanceV2Contract
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): FreezeBalanceV2Contract
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): FreezeBalanceV2Contract
Link copied to clipboard
open fun parser(): Parser<FreezeBalanceV2Contract>

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard