Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
 - type SigningInput
 - func (*SigningInput) Descriptor() ([]byte, []int)deprecated
 - func (x *SigningInput) GetAmount() []byte
 - func (x *SigningInput) GetGasLimit() []byte
 - func (x *SigningInput) GetGasPrice() []byte
 - func (x *SigningInput) GetNonce() []byte
 - func (x *SigningInput) GetPayload() []byte
 - func (x *SigningInput) GetPrivateKey() []byte
 - func (x *SigningInput) GetTimestamp() uint64
 - func (x *SigningInput) GetToAddress() string
 - func (*SigningInput) ProtoMessage()
 - func (x *SigningInput) ProtoReflect() protoreflect.Message
 - func (x *SigningInput) Reset()
 - func (x *SigningInput) String() string
 
- type SigningOutput
 - func (*SigningOutput) Descriptor() ([]byte, []int)deprecated
 - func (x *SigningOutput) GetEncoded() []byte
 - func (x *SigningOutput) GetError() common.SigningError
 - func (x *SigningOutput) GetErrorMessage() string
 - func (x *SigningOutput) GetSignature() []byte
 - func (*SigningOutput) ProtoMessage()
 - func (x *SigningOutput) ProtoReflect() protoreflect.Message
 - func (x *SigningOutput) Reset()
 - func (x *SigningOutput) String() string
 
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var File_Aion_proto protoreflect.FileDescriptor
    Functions ¶
This section is empty.
Types ¶
type SigningInput ¶
type SigningInput struct {
	// Nonce (uint256, serialized big endian)
	Nonce []byte `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// Gas price (uint256, serialized big endian)
	GasPrice []byte `protobuf:"bytes,2,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
	// Gas limit (uint256, serialized big endian)
	GasLimit []byte `protobuf:"bytes,3,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
	// Recipient's address.
	ToAddress string `protobuf:"bytes,4,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
	// Amount to send in wei (uint256, serialized big endian)
	Amount []byte `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"`
	// Optional payload
	Payload []byte `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"`
	// The secret private key used for signing (32 bytes).
	PrivateKey []byte `protobuf:"bytes,7,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	// Timestamp
	Timestamp uint64 `protobuf:"varint,8,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}
    Input data necessary to create a signed transaction.
        
          
            func (*SigningInput) Descriptor
            deprecated
            
          
  
    
  
      
      func (*SigningInput) Descriptor() ([]byte, []int)
Deprecated: Use SigningInput.ProtoReflect.Descriptor instead.
func (*SigningInput) GetAmount ¶
func (x *SigningInput) GetAmount() []byte
func (*SigningInput) GetGasLimit ¶
func (x *SigningInput) GetGasLimit() []byte
func (*SigningInput) GetGasPrice ¶
func (x *SigningInput) GetGasPrice() []byte
func (*SigningInput) GetNonce ¶
func (x *SigningInput) GetNonce() []byte
func (*SigningInput) GetPayload ¶
func (x *SigningInput) GetPayload() []byte
func (*SigningInput) GetPrivateKey ¶
func (x *SigningInput) GetPrivateKey() []byte
func (*SigningInput) GetTimestamp ¶
func (x *SigningInput) GetTimestamp() uint64
func (*SigningInput) GetToAddress ¶
func (x *SigningInput) GetToAddress() string
func (*SigningInput) ProtoMessage ¶
func (*SigningInput) ProtoMessage()
func (*SigningInput) ProtoReflect ¶
func (x *SigningInput) ProtoReflect() protoreflect.Message
func (*SigningInput) Reset ¶
func (x *SigningInput) Reset()
func (*SigningInput) String ¶
func (x *SigningInput) String() string
type SigningOutput ¶
type SigningOutput struct {
	// Signed and encoded transaction bytes.
	Encoded []byte `protobuf:"bytes,1,opt,name=encoded,proto3" json:"encoded,omitempty"`
	// Signature.
	Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// error code, 0 is ok, other codes will be treated as errors
	Error common.SigningError `protobuf:"varint,3,opt,name=error,proto3,enum=TW.Common.Proto.SigningError" json:"error,omitempty"`
	// error description
	ErrorMessage string `protobuf:"bytes,4,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}
    Result containing the signed and encoded transaction.
        
          
            func (*SigningOutput) Descriptor
            deprecated
            
          
  
    
  
      
      func (*SigningOutput) Descriptor() ([]byte, []int)
Deprecated: Use SigningOutput.ProtoReflect.Descriptor instead.
func (*SigningOutput) GetEncoded ¶
func (x *SigningOutput) GetEncoded() []byte
func (*SigningOutput) GetError ¶
func (x *SigningOutput) GetError() common.SigningError
func (*SigningOutput) GetErrorMessage ¶
func (x *SigningOutput) GetErrorMessage() string
func (*SigningOutput) GetSignature ¶
func (x *SigningOutput) GetSignature() []byte
func (*SigningOutput) ProtoMessage ¶
func (*SigningOutput) ProtoMessage()
func (*SigningOutput) ProtoReflect ¶
func (x *SigningOutput) ProtoReflect() protoreflect.Message
func (*SigningOutput) Reset ¶
func (x *SigningOutput) Reset()
func (*SigningOutput) String ¶
func (x *SigningOutput) String() string
 Click to show internal directories. 
   Click to hide internal directories.