Builder

class Builder
Generic contract call
Protobuf type TW.Zilliqa.Proto.Transaction.Raw

Functions

Link copied to clipboard
Amount to send (uint256, serialized little endian)
bytes amount = 1;
Link copied to clipboard
Smart contract code
bytes code = 2;
Link copied to clipboard
String-ified JSON object specifying the transition parameter
bytes data = 3;
Link copied to clipboard
open fun getAmount(): ByteString
Amount to send (uint256, serialized little endian)
bytes amount = 1;
Link copied to clipboard
open fun getCode(): ByteString
Smart contract code
bytes code = 2;
Link copied to clipboard
open fun getData(): ByteString
String-ified JSON object specifying the transition parameter
bytes data = 3;
Link copied to clipboard
open fun setAmount(value: ByteString): Zilliqa.Transaction.Raw.Builder
Amount to send (uint256, serialized little endian)
bytes amount = 1;
Link copied to clipboard
open fun setCode(value: ByteString): Zilliqa.Transaction.Raw.Builder
Smart contract code
bytes code = 2;
Link copied to clipboard
open fun setData(value: ByteString): Zilliqa.Transaction.Raw.Builder
String-ified JSON object specifying the transition parameter
bytes data = 3;