Builder

class Builder
Input for a transaction (output of a prev tx)
Protobuf type TW.NEO.Proto.TransactionInput

Functions

Link copied to clipboard
Asset
string asset_id = 4;
Link copied to clipboard
Previous tx hash
bytes prev_hash = 1;
Link copied to clipboard
Output index
fixed32 prev_index = 2;
Link copied to clipboard
unspent value of UTXO
int64 value = 3;
Link copied to clipboard
open fun getAssetId(): String
Asset
string asset_id = 4;
Link copied to clipboard
open fun getAssetIdBytes(): ByteString
Asset
string asset_id = 4;
Link copied to clipboard
open fun getPrevHash(): ByteString
Previous tx hash
bytes prev_hash = 1;
Link copied to clipboard
open fun getPrevIndex(): Int
Output index
fixed32 prev_index = 2;
Link copied to clipboard
open fun getValue(): Long
unspent value of UTXO
int64 value = 3;
Link copied to clipboard
Asset
string asset_id = 4;
Link copied to clipboard
open fun setAssetIdBytes(value: ByteString): NEO.TransactionInput.Builder
Asset
string asset_id = 4;
Link copied to clipboard
open fun setPrevHash(value: ByteString): NEO.TransactionInput.Builder
Previous tx hash
bytes prev_hash = 1;
Link copied to clipboard
Output index
fixed32 prev_index = 2;
Link copied to clipboard
unspent value of UTXO
int64 value = 3;