ripple

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Payment.ProtoReflect.Descriptor instead.

func (*Payment) GetAmount

func (x *Payment) GetAmount() int64

func (*Payment) GetDestination

func (x *Payment) GetDestination() string

func (*Payment) GetDestinationTag

func (x *Payment) GetDestinationTag() int64

func (*Payment) ProtoMessage

func (*Payment) ProtoMessage()

func (*Payment) ProtoReflect

func (x *Payment) ProtoReflect() protoreflect.Message

func (*Payment) Reset

func (x *Payment) Reset()

func (*Payment) String

func (x *Payment) String() string

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"`
	// 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) 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL