Builder

class Builder
Signature structure, used internally
Protobuf type TW.Binance.Proto.Signature

Functions

Link copied to clipboard
another identifier of signer, which can be read from chain by account REST API or RPC
int64 account_number = 3;
Link copied to clipboard
public key bytes of the signer address
bytes pub_key = 1;
Link copied to clipboard
sequence number for the next transaction
int64 sequence = 4;
Link copied to clipboard
signature bytes, please check chain access section for signature generation
bytes signature = 2;
Link copied to clipboard
another identifier of signer, which can be read from chain by account REST API or RPC
int64 account_number = 3;
Link copied to clipboard
open fun getPubKey(): ByteString
public key bytes of the signer address
bytes pub_key = 1;
Link copied to clipboard
open fun getSequence(): Long
sequence number for the next transaction
int64 sequence = 4;
Link copied to clipboard
open fun getSignature(): ByteString
signature bytes, please check chain access section for signature generation
bytes signature = 2;
Link copied to clipboard
another identifier of signer, which can be read from chain by account REST API or RPC
int64 account_number = 3;
Link copied to clipboard
open fun setPubKey(value: ByteString): Binance.Signature.Builder
public key bytes of the signer address
bytes pub_key = 1;
Link copied to clipboard
sequence number for the next transaction
int64 sequence = 4;
Link copied to clipboard
open fun setSignature(value: ByteString): Binance.Signature.Builder
signature bytes, please check chain access section for signature generation
bytes signature = 2;