Builder

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

Functions

Link copied to clipboard
Amount (uint256, serialized little endian)
bytes amount = 3;
Link copied to clipboard
Fee amount (uint256, serialized little endian)
bytes fee = 4;
Link copied to clipboard
Address of the sender with "ak_" prefix
string from_address = 1;
Link copied to clipboard
Nonce (should be larger than in the last transaction of the account)
uint64 nonce = 7;
Link copied to clipboard
Message, optional
string payload = 5;
Link copied to clipboard
The secret private key used for signing (32 bytes).
bytes private_key = 8;
Link copied to clipboard
Address of the recipient with "ak_" prefix
string to_address = 2;
Link copied to clipboard
Time to live until block height
uint64 ttl = 6;
Link copied to clipboard
open fun getAmount(): ByteString
Amount (uint256, serialized little endian)
bytes amount = 3;
Link copied to clipboard
open fun getFee(): ByteString
Fee amount (uint256, serialized little endian)
bytes fee = 4;
Link copied to clipboard
Address of the sender with "ak_" prefix
string from_address = 1;
Link copied to clipboard
open fun getFromAddressBytes(): ByteString
Address of the sender with "ak_" prefix
string from_address = 1;
Link copied to clipboard
open fun getNonce(): Long
Nonce (should be larger than in the last transaction of the account)
uint64 nonce = 7;
Link copied to clipboard
open fun getPayload(): String
Message, optional
string payload = 5;
Link copied to clipboard
open fun getPayloadBytes(): ByteString
Message, optional
string payload = 5;
Link copied to clipboard
open fun getPrivateKey(): ByteString
The secret private key used for signing (32 bytes).
bytes private_key = 8;
Link copied to clipboard
open fun getToAddress(): String
Address of the recipient with "ak_" prefix
string to_address = 2;
Link copied to clipboard
open fun getToAddressBytes(): ByteString
Address of the recipient with "ak_" prefix
string to_address = 2;
Link copied to clipboard
open fun getTtl(): Long
Time to live until block height
uint64 ttl = 6;
Link copied to clipboard
open fun setAmount(value: ByteString): Aeternity.SigningInput.Builder
Amount (uint256, serialized little endian)
bytes amount = 3;
Link copied to clipboard
open fun setFee(value: ByteString): Aeternity.SigningInput.Builder
Fee amount (uint256, serialized little endian)
bytes fee = 4;
Link copied to clipboard
Address of the sender with "ak_" prefix
string from_address = 1;
Link copied to clipboard
Address of the sender with "ak_" prefix
string from_address = 1;
Link copied to clipboard
Nonce (should be larger than in the last transaction of the account)
uint64 nonce = 7;
Link copied to clipboard
Message, optional
string payload = 5;
Link copied to clipboard
open fun setPayloadBytes(value: ByteString): Aeternity.SigningInput.Builder
Message, optional
string payload = 5;
Link copied to clipboard
open fun setPrivateKey(value: ByteString): Aeternity.SigningInput.Builder
The secret private key used for signing (32 bytes).
bytes private_key = 8;
Link copied to clipboard
Address of the recipient with "ak_" prefix
string to_address = 2;
Link copied to clipboard
Address of the recipient with "ak_" prefix
string to_address = 2;
Link copied to clipboard
Time to live until block height
uint64 ttl = 6;