Builder

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

Functions

Link copied to clipboard
The secret private key used for signing (32 bytes).
bytes private_key = 2;
Link copied to clipboard
Transaction.
.TW.Tron.Proto.Transaction transaction = 1;
Link copied to clipboard
For direct sign in Tron, we just have to sign the txId returned by the DApp json payload.
string txId = 3;
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 getTransaction(): Transaction
Transaction.
.TW.Tron.Proto.Transaction transaction = 1;
Link copied to clipboard
open fun getTxId(): String
For direct sign in Tron, we just have to sign the txId returned by the DApp json payload.
string txId = 3;
Link copied to clipboard
open fun getTxIdBytes(): ByteString
For direct sign in Tron, we just have to sign the txId returned by the DApp json payload.
string txId = 3;
Link copied to clipboard
Transaction.
.TW.Tron.Proto.Transaction transaction = 1;
Link copied to clipboard
open fun mergeTransaction(value: Transaction): Tron.SigningInput.Builder
Transaction.
.TW.Tron.Proto.Transaction transaction = 1;
Link copied to clipboard
open fun setPrivateKey(value: ByteString): Tron.SigningInput.Builder
The secret private key used for signing (32 bytes).
bytes private_key = 2;
Link copied to clipboard
open fun setTransaction(builderForValue: Builder): Tron.SigningInput.Builder
open fun setTransaction(value: Transaction): Tron.SigningInput.Builder
Transaction.
.TW.Tron.Proto.Transaction transaction = 1;
Link copied to clipboard
For direct sign in Tron, we just have to sign the txId returned by the DApp json payload.
string txId = 3;
Link copied to clipboard
open fun setTxIdBytes(value: ByteString): Tron.SigningInput.Builder
For direct sign in Tron, we just have to sign the txId returned by the DApp json payload.
string txId = 3;