TxInput

One input for a transaction
Protobuf type TW.Cardano.Proto.TxInput

Types

Link copied to clipboard
class Builder
One input for a transaction
Protobuf type TW.Cardano.Proto.TxInput

Functions

Link copied to clipboard
open fun getAddress(): String
The owner address (string)
string address = 2;
Link copied to clipboard
open fun getAddressBytes(): ByteString
The owner address (string)
string address = 2;
Link copied to clipboard
open fun getAmount(): Long
ADA amount in the UTXO
uint64 amount = 3;
Link copied to clipboard
open fun getDefaultInstance(): TxInput
Link copied to clipboard
open fun getOutPoint(): OutPoint
The UTXO
.TW.Cardano.Proto.OutPoint out_point = 1;
Link copied to clipboard
open fun getTokenAmount(index: Int): TokenAmount
optional token amounts in the UTXO
repeated .TW.Cardano.Proto.TokenAmount token_amount = 4;
Link copied to clipboard
optional token amounts in the UTXO
repeated .TW.Cardano.Proto.TokenAmount token_amount = 4;
Link copied to clipboard
open fun getTokenAmountList(): List<TokenAmount>
optional token amounts in the UTXO
repeated .TW.Cardano.Proto.TokenAmount token_amount = 4;
Link copied to clipboard
open fun getTokenAmountOrBuilder(index: Int): TokenAmountOrBuilder
optional token amounts in the UTXO
repeated .TW.Cardano.Proto.TokenAmount token_amount = 4;
Link copied to clipboard
open fun getTokenAmountOrBuilderList(): List<out TokenAmountOrBuilder>
optional token amounts in the UTXO
repeated .TW.Cardano.Proto.TokenAmount token_amount = 4;
Link copied to clipboard
open fun hasOutPoint(): Boolean
The UTXO
.TW.Cardano.Proto.OutPoint out_point = 1;
Link copied to clipboard
open fun newBuilder(prototype: TxInput): Cardano.TxInput.Builder
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream): TxInput
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): TxInput
Link copied to clipboard
open fun parseFrom(data: Array<Byte>): TxInput
open fun parseFrom(data: ByteString): TxInput
open fun parseFrom(input: CodedInputStream): TxInput
open fun parseFrom(input: InputStream): TxInput
open fun parseFrom(data: ByteBuffer): TxInput
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): TxInput
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): TxInput
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): TxInput
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): TxInput
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): TxInput
Link copied to clipboard
open fun parser(): Parser<TxInput>

Properties

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