Builder

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

Functions

Link copied to clipboard
Context-specific action data
.TW.FIO.Proto.Action action = 5;
Link copied to clipboard
Current parameters of the FIO blockchain
.TW.FIO.Proto.ChainParams chain_params = 2;
Link copied to clipboard
Expiry for this message, in unix time. Can be 0, then it is taken from current time with default expiry
uint32 expiry = 1;
Link copied to clipboard
The secret private key matching the address, used for signing (32 bytes).
bytes private_key = 3;
Link copied to clipboard
The FIO name of the originating wallet (project-wide constant)
string tpid = 4;
Link copied to clipboard
open fun getAction(): Action
Context-specific action data
.TW.FIO.Proto.Action action = 5;
Link copied to clipboard
open fun getChainParams(): ChainParams
Current parameters of the FIO blockchain
.TW.FIO.Proto.ChainParams chain_params = 2;
Link copied to clipboard
open fun getExpiry(): Int
Expiry for this message, in unix time. Can be 0, then it is taken from current time with default expiry
uint32 expiry = 1;
Link copied to clipboard
open fun getPrivateKey(): ByteString
The secret private key matching the address, used for signing (32 bytes).
bytes private_key = 3;
Link copied to clipboard
open fun getTpid(): String
The FIO name of the originating wallet (project-wide constant)
string tpid = 4;
Link copied to clipboard
open fun getTpidBytes(): ByteString
The FIO name of the originating wallet (project-wide constant)
string tpid = 4;
Link copied to clipboard
open fun hasAction(): Boolean
Context-specific action data
.TW.FIO.Proto.Action action = 5;
Link copied to clipboard
Current parameters of the FIO blockchain
.TW.FIO.Proto.ChainParams chain_params = 2;
Link copied to clipboard
open fun mergeAction(value: Action): FIO.SigningInput.Builder
Context-specific action data
.TW.FIO.Proto.Action action = 5;
Link copied to clipboard
open fun mergeChainParams(value: ChainParams): FIO.SigningInput.Builder
Current parameters of the FIO blockchain
.TW.FIO.Proto.ChainParams chain_params = 2;
Link copied to clipboard
open fun setAction(builderForValue: Builder): FIO.SigningInput.Builder
open fun setAction(value: Action): FIO.SigningInput.Builder
Context-specific action data
.TW.FIO.Proto.Action action = 5;
Link copied to clipboard
open fun setChainParams(builderForValue: Builder): FIO.SigningInput.Builder
open fun setChainParams(value: ChainParams): FIO.SigningInput.Builder
Current parameters of the FIO blockchain
.TW.FIO.Proto.ChainParams chain_params = 2;
Link copied to clipboard
Expiry for this message, in unix time. Can be 0, then it is taken from current time with default expiry
uint32 expiry = 1;
Link copied to clipboard
open fun setPrivateKey(value: ByteString): FIO.SigningInput.Builder
The secret private key matching the address, used for signing (32 bytes).
bytes private_key = 3;
Link copied to clipboard
The FIO name of the originating wallet (project-wide constant)
string tpid = 4;
Link copied to clipboard
open fun setTpidBytes(value: ByteString): FIO.SigningInput.Builder
The FIO name of the originating wallet (project-wide constant)
string tpid = 4;