SigningInput

Input data necessary to create a signed transaction.
Protobuf type TW.VeChain.Proto.SigningInput

Types

Link copied to clipboard
class Builder
Input data necessary to create a signed transaction.
Protobuf type TW.VeChain.Proto.SigningInput

Functions

Link copied to clipboard
open fun getBlockRef(): Long
/ Reference to a specific block.
uint64 block_ref = 2;
Link copied to clipboard
open fun getChainTag(): Int
/ Last byte of the genesis block ID which is used to identify a blockchain to prevent the cross-chain replay attack.
uint32 chain_tag = 1;
Link copied to clipboard
open fun getClauses(index: Int): Clause
/ An array of Clause objects.
/
/ Each clause contains fields To, Value and Data to enable a single transaction to carry multiple tasks issued
/ by the transaction sender.
repeated .TW.VeChain.Proto.Clause clauses = 4;
Link copied to clipboard
open fun getClausesCount(): Int
/ An array of Clause objects.
/
/ Each clause contains fields To, Value and Data to enable a single transaction to carry multiple tasks issued
/ by the transaction sender.
repeated .TW.VeChain.Proto.Clause clauses = 4;
Link copied to clipboard
open fun getClausesList(): List<Clause>
/ An array of Clause objects.
/
/ Each clause contains fields To, Value and Data to enable a single transaction to carry multiple tasks issued
/ by the transaction sender.
repeated .TW.VeChain.Proto.Clause clauses = 4;
Link copied to clipboard
open fun getClausesOrBuilder(index: Int): ClauseOrBuilder
/ An array of Clause objects.
/
/ Each clause contains fields To, Value and Data to enable a single transaction to carry multiple tasks issued
/ by the transaction sender.
repeated .TW.VeChain.Proto.Clause clauses = 4;
Link copied to clipboard
open fun getClausesOrBuilderList(): List<out ClauseOrBuilder>
/ An array of Clause objects.
/
/ Each clause contains fields To, Value and Data to enable a single transaction to carry multiple tasks issued
/ by the transaction sender.
repeated .TW.VeChain.Proto.Clause clauses = 4;
Link copied to clipboard
open fun getDefaultInstance(): SigningInput
Link copied to clipboard
open fun getDependsOn(): ByteString
/ ID of the transaction on which the current transaction depends.
bytes depends_on = 7;
Link copied to clipboard
open fun getExpiration(): Int
/ How long, in terms of the number of blocks, the transaction will be allowed to be mined in VeChainThor.
uint32 expiration = 3;
Link copied to clipboard
open fun getGas(): Long
/ Maximum amount of gas allowed to pay for the transaction.
uint64 gas = 6;
Link copied to clipboard
open fun getGasPriceCoef(): Int
/ Coefficient used to calculate the gas price for the transaction.
uint32 gas_price_coef = 5;
Link copied to clipboard
open fun getNonce(): Long
/ Number set by user.
uint64 nonce = 8;
Link copied to clipboard
open fun getPrivateKey(): ByteString
/ The secret private key used for signing (32 bytes).
bytes private_key = 9;
Link copied to clipboard
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream): SigningInput
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): SigningInput
Link copied to clipboard
open fun parseFrom(data: Array<Byte>): SigningInput
open fun parseFrom(data: ByteString): SigningInput
open fun parseFrom(input: CodedInputStream): SigningInput
open fun parseFrom(input: InputStream): SigningInput
open fun parseFrom(data: ByteBuffer): SigningInput
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): SigningInput
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): SigningInput
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): SigningInput
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): SigningInput
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): SigningInput
Link copied to clipboard
open fun parser(): Parser<SigningInput>

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