Documentation
¶
Index ¶
- Variables
- type Payment
- func (*Payment) Descriptor() ([]byte, []int)deprecated
- func (x *Payment) GetAmount() int64
- func (x *Payment) GetDestination() string
- func (x *Payment) GetDestinationTag() int64
- func (*Payment) ProtoMessage()
- func (x *Payment) ProtoReflect() protoreflect.Message
- func (x *Payment) Reset()
- func (x *Payment) String() string
- type SigningInput
- func (*SigningInput) Descriptor() ([]byte, []int)deprecated
- func (x *SigningInput) GetAccount() string
- func (x *SigningInput) GetFee() int64
- func (x *SigningInput) GetFlags() uint32
- func (x *SigningInput) GetLastLedgerSequence() uint32
- func (x *SigningInput) GetPayment() *Payment
- func (x *SigningInput) GetSequence() uint32
- 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) GetEncodedHex() string
- func (x *SigningOutput) GetError() string
- func (x *SigningOutput) GetTxId() 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_txproto_ripple_ripple_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Payment ¶
type Payment struct {
Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` // drops
Destination string `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"` // r... address
DestinationTag int64 `protobuf:"varint,3,opt,name=destination_tag,json=destinationTag,proto3" json:"destination_tag,omitempty"`
// contains filtered or unexported fields
}
XRP (native) payment.
func (*Payment) Descriptor
deprecated
func (*Payment) GetDestination ¶
func (*Payment) GetDestinationTag ¶
func (*Payment) ProtoMessage ¶
func (*Payment) ProtoMessage()
func (*Payment) ProtoReflect ¶
func (x *Payment) ProtoReflect() protoreflect.Message
type SigningInput ¶
type SigningInput struct {
Fee int64 `protobuf:"varint,1,opt,name=fee,proto3" json:"fee,omitempty"`
Sequence uint32 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
LastLedgerSequence uint32 `protobuf:"varint,3,opt,name=last_ledger_sequence,json=lastLedgerSequence,proto3" json:"last_ledger_sequence,omitempty"`
Account string `protobuf:"bytes,4,opt,name=account,proto3" json:"account,omitempty"` // sender r... address
Flags uint32 `protobuf:"varint,5,opt,name=flags,proto3" json:"flags,omitempty"`
Payment *Payment `protobuf:"bytes,6,opt,name=payment,proto3" json:"payment,omitempty"`
// contains filtered or unexported fields
}
SigningInput mirrors a minimal subset of TW.Ripple.Proto.SigningInput for a native XRP Payment.
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() int64
func (*SigningInput) GetFlags ¶
func (x *SigningInput) GetFlags() uint32
func (*SigningInput) GetLastLedgerSequence ¶
func (x *SigningInput) GetLastLedgerSequence() uint32
func (*SigningInput) GetPayment ¶
func (x *SigningInput) GetPayment() *Payment
func (*SigningInput) GetSequence ¶
func (x *SigningInput) GetSequence() uint32
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 {
Encoded []byte `protobuf:"bytes,1,opt,name=encoded,proto3" json:"encoded,omitempty"` // serialized signed transaction
EncodedHex string `protobuf:"bytes,2,opt,name=encoded_hex,json=encodedHex,proto3" json:"encoded_hex,omitempty"`
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
// Transaction id/hash: upper-case hex of the first 32 bytes of SHA-512 over
// the serialized signed transaction (sha512Half), the form XRP explorers
// display.
TxId string `protobuf:"bytes,4,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"`
// contains filtered or unexported fields
}
SigningOutput mirrors a minimal subset of TW.Ripple.Proto.SigningOutput.
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) GetEncodedHex ¶
func (x *SigningOutput) GetEncodedHex() string
func (*SigningOutput) GetError ¶
func (x *SigningOutput) GetError() string
func (*SigningOutput) GetTxId ¶ added in v0.6.0
func (x *SigningOutput) GetTxId() 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.