Documentation
¶
Index ¶
- Variables
- type SigningInput
- func (*SigningInput) Descriptor() ([]byte, []int)deprecated
- func (x *SigningInput) GetAmount() []byte
- func (x *SigningInput) GetFee() []byte
- func (x *SigningInput) GetFromAddress() string
- func (x *SigningInput) GetNonce() uint64
- func (x *SigningInput) GetPayload() string
- func (x *SigningInput) GetPrivateKey() []byte
- func (x *SigningInput) GetToAddress() string
- func (x *SigningInput) GetTtl() uint64
- 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() string
- func (x *SigningOutput) GetSignature() string
- 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_Aeternity_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type SigningInput ¶
type SigningInput struct {
// Address of the sender with "ak_" prefix
FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
// Address of the recipient with "ak_" prefix
ToAddress string `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
// Amount (uint256, serialized big endian)
Amount []byte `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
// Fee amount (uint256, serialized big endian)
Fee []byte `protobuf:"bytes,4,opt,name=fee,proto3" json:"fee,omitempty"`
// Message, optional
Payload string `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"`
// Time to live until block height
Ttl uint64 `protobuf:"varint,6,opt,name=ttl,proto3" json:"ttl,omitempty"`
// Nonce (should be larger than in the last transaction of the account)
Nonce uint64 `protobuf:"varint,7,opt,name=nonce,proto3" json:"nonce,omitempty"`
// The secret private key used for signing (32 bytes).
PrivateKey []byte `protobuf:"bytes,8,opt,name=private_key,json=privateKey,proto3" json:"private_key,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) GetFee ¶
func (x *SigningInput) GetFee() []byte
func (*SigningInput) GetFromAddress ¶
func (x *SigningInput) GetFromAddress() string
func (*SigningInput) GetNonce ¶
func (x *SigningInput) GetNonce() uint64
func (*SigningInput) GetPayload ¶
func (x *SigningInput) GetPayload() string
func (*SigningInput) GetPrivateKey ¶
func (x *SigningInput) GetPrivateKey() []byte
func (*SigningInput) GetToAddress ¶
func (x *SigningInput) GetToAddress() string
func (*SigningInput) GetTtl ¶
func (x *SigningInput) GetTtl() uint64
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, Base64 with checksum
Encoded string `protobuf:"bytes,1,opt,name=encoded,proto3" json:"encoded,omitempty"`
// Signature, Base58 with checksum
Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,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() string
func (*SigningOutput) GetSignature ¶
func (x *SigningOutput) GetSignature() string
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.