Documentation
¶
Index ¶
- Variables
- type PaymentOp
- type SigningInput
- func (*SigningInput) Descriptor() ([]byte, []int)deprecated
- func (x *SigningInput) GetAccount() string
- func (x *SigningInput) GetFee() int32
- func (x *SigningInput) GetOperation() isSigningInput_Operation
- func (x *SigningInput) GetPassphrase() string
- func (x *SigningInput) GetPayment() *PaymentOp
- func (x *SigningInput) GetSequence() int64
- func (*SigningInput) ProtoMessage()
- func (x *SigningInput) ProtoReflect() protoreflect.Message
- func (x *SigningInput) Reset()
- func (x *SigningInput) String() string
- type SigningInput_Payment
- type SigningOutput
- func (*SigningOutput) Descriptor() ([]byte, []int)deprecated
- func (x *SigningOutput) GetEncoded() string
- func (x *SigningOutput) GetError() string
- func (x *SigningOutput) GetRaw() []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_txproto_stellar_stellar_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type PaymentOp ¶
type PaymentOp struct {
Destination string `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"` // G-address of the recipient
Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` // amount in stroops (1 XLM = 10_000_000 stroops)
// contains filtered or unexported fields
}
Payment operation: transfer native XLM.
func (*PaymentOp) Descriptor
deprecated
func (*PaymentOp) GetDestination ¶
func (*PaymentOp) ProtoMessage ¶
func (*PaymentOp) ProtoMessage()
func (*PaymentOp) ProtoReflect ¶
func (x *PaymentOp) ProtoReflect() protoreflect.Message
type SigningInput ¶
type SigningInput struct {
// Source account G-address (needed for XDR source-account field).
Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
// Base fee in stroops (per-operation); e.g. 1000.
Fee int32 `protobuf:"varint,2,opt,name=fee,proto3" json:"fee,omitempty"`
// Transaction sequence number (one more than the account's current seq).
Sequence int64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"`
// Stellar network passphrase. Empty string → mainnet default:
//
// "Public Global Stellar Network ; September 2015"
Passphrase string `protobuf:"bytes,4,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
// Types that are valid to be assigned to Operation:
//
// *SigningInput_Payment
Operation isSigningInput_Operation `protobuf_oneof:"operation"`
// contains filtered or unexported fields
}
SigningInput mirrors a minimal subset of TW.Stellar.Proto.SigningInput.
func (*SigningInput) Descriptor
deprecated
func (*SigningInput) Descriptor() ([]byte, []int)
Deprecated: Use SigningInput.ProtoReflect.Descriptor instead.
func (*SigningInput) GetAccount ¶
func (x *SigningInput) GetAccount() string
func (*SigningInput) GetFee ¶
func (x *SigningInput) GetFee() int32
func (*SigningInput) GetOperation ¶
func (x *SigningInput) GetOperation() isSigningInput_Operation
func (*SigningInput) GetPassphrase ¶
func (x *SigningInput) GetPassphrase() string
func (*SigningInput) GetPayment ¶
func (x *SigningInput) GetPayment() *PaymentOp
func (*SigningInput) GetSequence ¶
func (x *SigningInput) GetSequence() int64
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 SigningInput_Payment ¶
type SigningInput_Payment struct {
Payment *PaymentOp `protobuf:"bytes,5,opt,name=payment,proto3,oneof"`
}
type SigningOutput ¶
type SigningOutput struct {
// base64(XDR(TransactionEnvelope)) — the wire-ready signed transaction.
Encoded string `protobuf:"bytes,1,opt,name=encoded,proto3" json:"encoded,omitempty"`
// Raw XDR bytes of the TransactionEnvelope.
Raw []byte `protobuf:"bytes,2,opt,name=raw,proto3" json:"raw,omitempty"`
// Error message; empty on success.
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
SigningOutput mirrors a minimal subset of TW.Stellar.Proto.SigningOutput.
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) GetError ¶
func (x *SigningOutput) GetError() string
func (*SigningOutput) GetRaw ¶
func (x *SigningOutput) GetRaw() []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.