TransactionMessage

A Transfer message
Protobuf type TW.Harmony.Proto.TransactionMessage

Types

Link copied to clipboard
class Builder
A Transfer message
Protobuf type TW.Harmony.Proto.TransactionMessage

Functions

Link copied to clipboard
open fun getAmount(): ByteString
Amount to send in wei (uint256, serialized little endian)
bytes amount = 5;
Link copied to clipboard
open fun getDefaultInstance(): TransactionMessage
Link copied to clipboard
open fun getFromShardId(): ByteString
From shard ID (uint256, serialized little endian)
bytes from_shard_id = 7;
Link copied to clipboard
open fun getGasLimit(): ByteString
Gas limit (uint256, serialized little endian)
bytes gas_limit = 3;
Link copied to clipboard
open fun getGasPrice(): ByteString
Gas price (uint256, serialized little endian)
bytes gas_price = 2;
Link copied to clipboard
open fun getNonce(): ByteString
Nonce (uint256, serialized little endian)
bytes nonce = 1;
Link copied to clipboard
open fun getPayload(): ByteString
Optional payload
bytes payload = 6;
Link copied to clipboard
open fun getToAddress(): String
Recipient's address.
string to_address = 4;
Link copied to clipboard
open fun getToAddressBytes(): ByteString
Recipient's address.
string to_address = 4;
Link copied to clipboard
open fun getToShardId(): ByteString
To Shard ID (uint256, serialized little endian)
bytes to_shard_id = 8;
Link copied to clipboard
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream): TransactionMessage
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): TransactionMessage
Link copied to clipboard
open fun parseFrom(data: Array<Byte>): TransactionMessage
open fun parseFrom(data: ByteString): TransactionMessage
open fun parseFrom(input: CodedInputStream): TransactionMessage
open fun parseFrom(input: InputStream): TransactionMessage
open fun parseFrom(data: ByteBuffer): TransactionMessage
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): TransactionMessage
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): TransactionMessage
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): TransactionMessage
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): TransactionMessage
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): TransactionMessage
Link copied to clipboard
open fun parser(): Parser<TransactionMessage>

Properties

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