Builder

class Builder
Input data necessary to create a signed transaction.
Protobuf type TW.Harmony.Proto.SigningInput

Functions

Link copied to clipboard
Chain identifier (uint256, serialized little endian)
bytes chain_id = 1;
Link copied to clipboard
The secret private key used for signing (32 bytes).
bytes private_key = 2;
Link copied to clipboard
.TW.Harmony.Proto.StakingMessage staking_message = 4;
Link copied to clipboard
.TW.Harmony.Proto.TransactionMessage transaction_message = 3;
Link copied to clipboard
open fun getChainId(): ByteString
Chain identifier (uint256, serialized little endian)
bytes chain_id = 1;
Link copied to clipboard
open fun getPrivateKey(): ByteString
The secret private key used for signing (32 bytes).
bytes private_key = 2;
Link copied to clipboard
open fun getStakingMessage(): StakingMessage
.TW.Harmony.Proto.StakingMessage staking_message = 4;
Link copied to clipboard
open fun getTransactionMessage(): TransactionMessage
.TW.Harmony.Proto.TransactionMessage transaction_message = 3;
Link copied to clipboard
.TW.Harmony.Proto.StakingMessage staking_message = 4;
Link copied to clipboard
.TW.Harmony.Proto.TransactionMessage transaction_message = 3;
Link copied to clipboard
open fun mergeStakingMessage(value: StakingMessage): Harmony.SigningInput.Builder
.TW.Harmony.Proto.StakingMessage staking_message = 4;
Link copied to clipboard
open fun mergeTransactionMessage(value: TransactionMessage): Harmony.SigningInput.Builder
.TW.Harmony.Proto.TransactionMessage transaction_message = 3;
Link copied to clipboard
open fun setChainId(value: ByteString): Harmony.SigningInput.Builder
Chain identifier (uint256, serialized little endian)
bytes chain_id = 1;
Link copied to clipboard
open fun setPrivateKey(value: ByteString): Harmony.SigningInput.Builder
The secret private key used for signing (32 bytes).
bytes private_key = 2;
Link copied to clipboard
open fun setStakingMessage(builderForValue: Builder): Harmony.SigningInput.Builder
open fun setStakingMessage(value: StakingMessage): Harmony.SigningInput.Builder
.TW.Harmony.Proto.StakingMessage staking_message = 4;
Link copied to clipboard
open fun setTransactionMessage(builderForValue: Builder): Harmony.SigningInput.Builder
open fun setTransactionMessage(value: TransactionMessage): Harmony.SigningInput.Builder
.TW.Harmony.Proto.TransactionMessage transaction_message = 3;