Builder

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

Functions

Link copied to clipboard
Sender address derivation type.
.TW.Filecoin.Proto.DerivationType derivation = 9;
Link copied to clipboard
Gas fee cap (uint256, serialized little endian)
bytes gas_fee_cap = 6;
Link copied to clipboard
Gas limit.
int64 gas_limit = 5;
Link copied to clipboard
Gas premium (uint256, serialized little endian)
bytes gas_premium = 7;
Link copied to clipboard
Transaction nonce.
uint64 nonce = 3;
Link copied to clipboard
Message params.
bytes params = 8;
Link copied to clipboard
The secret private key of the sender account, used for signing (32 bytes).
bytes private_key = 1;
Link copied to clipboard
Recipient's address.
string to = 2;
Link copied to clipboard
Transfer value (uint256, serialized little endian)
bytes value = 4;
Link copied to clipboard
open fun getDerivation(): DerivationType
Sender address derivation type.
.TW.Filecoin.Proto.DerivationType derivation = 9;
Link copied to clipboard
Sender address derivation type.
.TW.Filecoin.Proto.DerivationType derivation = 9;
Link copied to clipboard
open fun getGasFeeCap(): ByteString
Gas fee cap (uint256, serialized little endian)
bytes gas_fee_cap = 6;
Link copied to clipboard
open fun getGasLimit(): Long
Gas limit.
int64 gas_limit = 5;
Link copied to clipboard
open fun getGasPremium(): ByteString
Gas premium (uint256, serialized little endian)
bytes gas_premium = 7;
Link copied to clipboard
open fun getNonce(): Long
Transaction nonce.
uint64 nonce = 3;
Link copied to clipboard
open fun getParams(): ByteString
Message params.
bytes params = 8;
Link copied to clipboard
open fun getPrivateKey(): ByteString
The secret private key of the sender account, used for signing (32 bytes).
bytes private_key = 1;
Link copied to clipboard
open fun getTo(): String
Recipient's address.
string to = 2;
Link copied to clipboard
open fun getToBytes(): ByteString
Recipient's address.
string to = 2;
Link copied to clipboard
open fun getValue(): ByteString
Transfer value (uint256, serialized little endian)
bytes value = 4;
Link copied to clipboard
open fun setDerivation(value: DerivationType): Filecoin.SigningInput.Builder
Sender address derivation type.
.TW.Filecoin.Proto.DerivationType derivation = 9;
Link copied to clipboard
Sender address derivation type.
.TW.Filecoin.Proto.DerivationType derivation = 9;
Link copied to clipboard
open fun setGasFeeCap(value: ByteString): Filecoin.SigningInput.Builder
Gas fee cap (uint256, serialized little endian)
bytes gas_fee_cap = 6;
Link copied to clipboard
Gas limit.
int64 gas_limit = 5;
Link copied to clipboard
open fun setGasPremium(value: ByteString): Filecoin.SigningInput.Builder
Gas premium (uint256, serialized little endian)
bytes gas_premium = 7;
Link copied to clipboard
Transaction nonce.
uint64 nonce = 3;
Link copied to clipboard
open fun setParams(value: ByteString): Filecoin.SigningInput.Builder
Message params.
bytes params = 8;
Link copied to clipboard
open fun setPrivateKey(value: ByteString): Filecoin.SigningInput.Builder
The secret private key of the sender account, used for signing (32 bytes).
bytes private_key = 1;
Link copied to clipboard
Recipient's address.
string to = 2;
Link copied to clipboard
open fun setToBytes(value: ByteString): Filecoin.SigningInput.Builder
Recipient's address.
string to = 2;
Link copied to clipboard
open fun setValue(value: ByteString): Filecoin.SigningInput.Builder
Transfer value (uint256, serialized little endian)
bytes value = 4;