RawTransaction

Raw transaction data
Protobuf type TW.Nebulas.Proto.RawTransaction

Types

Link copied to clipboard
class Builder
Raw transaction data
Protobuf type TW.Nebulas.Proto.RawTransaction

Functions

Link copied to clipboard
open fun getAlg(): Int
algorithm
uint32 alg = 11;
Link copied to clipboard
open fun getChainId(): Int
chain ID (4 bytes)
uint32 chain_id = 8;
Link copied to clipboard
open fun getData(): Data
generic data
.TW.Nebulas.Proto.Data data = 7;
Link copied to clipboard
open fun getDefaultInstance(): RawTransaction
Link copied to clipboard
open fun getFrom(): ByteString
source address
bytes from = 2;
Link copied to clipboard
open fun getGasLimit(): ByteString
gas limit (uint256, serialized little endian)
bytes gas_limit = 10;
Link copied to clipboard
open fun getGasPrice(): ByteString
gas price (uint256, serialized little endian)
bytes gas_price = 9;
Link copied to clipboard
open fun getHash(): ByteString
tx hash
bytes hash = 1;
Link copied to clipboard
open fun getNonce(): Long
Nonce (should be larger than in the last transaction of the account)
uint64 nonce = 5;
Link copied to clipboard
open fun getSign(): ByteString
signature
bytes sign = 12;
Link copied to clipboard
open fun getTimestamp(): Long
transaction timestamp
int64 timestamp = 6;
Link copied to clipboard
open fun getTo(): ByteString
destination address
bytes to = 3;
Link copied to clipboard
open fun getValue(): ByteString
amount (uint256, serialized little endian)
bytes value = 4;
Link copied to clipboard
open fun hasData(): Boolean
generic data
.TW.Nebulas.Proto.Data data = 7;
Link copied to clipboard
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream): RawTransaction
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): RawTransaction
Link copied to clipboard
open fun parseFrom(data: Array<Byte>): RawTransaction
open fun parseFrom(data: ByteString): RawTransaction
open fun parseFrom(input: CodedInputStream): RawTransaction
open fun parseFrom(input: InputStream): RawTransaction
open fun parseFrom(data: ByteBuffer): RawTransaction
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): RawTransaction
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): RawTransaction
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): RawTransaction
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): RawTransaction
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): RawTransaction
Link copied to clipboard
open fun parser(): Parser<RawTransaction>

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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard