Transaction

A transaction
Protobuf type TW.NULS.Proto.Transaction

Types

Link copied to clipboard
class Builder
A transaction
Protobuf type TW.NULS.Proto.Transaction

Functions

Link copied to clipboard
open fun getDefaultInstance(): Transaction
Link copied to clipboard
open fun getHash(): Int
Tx hash
uint32 hash = 8;
Link copied to clipboard
open fun getInput(): TransactionCoinFrom
CoinFrom
.TW.NULS.Proto.TransactionCoinFrom input = 5;
Link copied to clipboard
open fun getOutput(): TransactionCoinTo
CoinTo
.TW.NULS.Proto.TransactionCoinTo output = 6;
Link copied to clipboard
open fun getRemark(): String
Optional string remark
string remark = 3;
Link copied to clipboard
open fun getRemarkBytes(): ByteString
Optional string remark
string remark = 3;
Link copied to clipboard
open fun getTimestamp(): Int
Timestamp of the transaction
uint32 timestamp = 2;
Link copied to clipboard
open fun getTxData(): ByteString
The raw data
bytes tx_data = 4;
Link copied to clipboard
open fun getTxSigs(): Signature
Signature
.TW.NULS.Proto.Signature tx_sigs = 7;
Link copied to clipboard
open fun getType(): Int
transaction type
uint32 type = 1;
Link copied to clipboard
open fun hasInput(): Boolean
CoinFrom
.TW.NULS.Proto.TransactionCoinFrom input = 5;
Link copied to clipboard
open fun hasOutput(): Boolean
CoinTo
.TW.NULS.Proto.TransactionCoinTo output = 6;
Link copied to clipboard
open fun hasTxSigs(): Boolean
Signature
.TW.NULS.Proto.Signature tx_sigs = 7;
Link copied to clipboard
open fun newBuilder(prototype: Transaction): NULS.Transaction.Builder
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream): Transaction
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): Transaction
Link copied to clipboard
open fun parseFrom(data: Array<Byte>): Transaction
open fun parseFrom(data: ByteString): Transaction
open fun parseFrom(input: CodedInputStream): Transaction
open fun parseFrom(input: InputStream): Transaction
open fun parseFrom(data: ByteBuffer): Transaction
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): Transaction
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): Transaction
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): Transaction
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): Transaction
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): Transaction
Link copied to clipboard
open fun parser(): Parser<Transaction>

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