Documentation
¶
Index ¶
- Variables
- type CurrencyAmount
- func (*CurrencyAmount) Descriptor() ([]byte, []int)deprecated
- func (x *CurrencyAmount) GetCurrency() string
- func (x *CurrencyAmount) GetIssuer() string
- func (x *CurrencyAmount) GetValue() string
- func (*CurrencyAmount) ProtoMessage()
- func (x *CurrencyAmount) ProtoReflect() protoreflect.Message
- func (x *CurrencyAmount) Reset()
- func (x *CurrencyAmount) String() string
- type OperationEscrowCancel
- func (*OperationEscrowCancel) Descriptor() ([]byte, []int)deprecated
- func (x *OperationEscrowCancel) GetOfferSequence() uint32
- func (x *OperationEscrowCancel) GetOwner() string
- func (*OperationEscrowCancel) ProtoMessage()
- func (x *OperationEscrowCancel) ProtoReflect() protoreflect.Message
- func (x *OperationEscrowCancel) Reset()
- func (x *OperationEscrowCancel) String() string
- type OperationEscrowCreate
- func (*OperationEscrowCreate) Descriptor() ([]byte, []int)deprecated
- func (x *OperationEscrowCreate) GetAmount() int64
- func (x *OperationEscrowCreate) GetCancelAfter() uint64
- func (x *OperationEscrowCreate) GetCondition() string
- func (x *OperationEscrowCreate) GetDestination() string
- func (x *OperationEscrowCreate) GetDestinationTag() uint64
- func (x *OperationEscrowCreate) GetFinishAfter() uint64
- func (*OperationEscrowCreate) ProtoMessage()
- func (x *OperationEscrowCreate) ProtoReflect() protoreflect.Message
- func (x *OperationEscrowCreate) Reset()
- func (x *OperationEscrowCreate) String() string
- type OperationEscrowFinish
- func (*OperationEscrowFinish) Descriptor() ([]byte, []int)deprecated
- func (x *OperationEscrowFinish) GetCondition() string
- func (x *OperationEscrowFinish) GetFulfillment() string
- func (x *OperationEscrowFinish) GetOfferSequence() uint32
- func (x *OperationEscrowFinish) GetOwner() string
- func (*OperationEscrowFinish) ProtoMessage()
- func (x *OperationEscrowFinish) ProtoReflect() protoreflect.Message
- func (x *OperationEscrowFinish) Reset()
- func (x *OperationEscrowFinish) String() string
- type OperationNFTokenAcceptOffer
- func (*OperationNFTokenAcceptOffer) Descriptor() ([]byte, []int)deprecated
- func (x *OperationNFTokenAcceptOffer) GetSellOffer() string
- func (*OperationNFTokenAcceptOffer) ProtoMessage()
- func (x *OperationNFTokenAcceptOffer) ProtoReflect() protoreflect.Message
- func (x *OperationNFTokenAcceptOffer) Reset()
- func (x *OperationNFTokenAcceptOffer) String() string
- type OperationNFTokenBurn
- func (*OperationNFTokenBurn) Descriptor() ([]byte, []int)deprecated
- func (x *OperationNFTokenBurn) GetNftokenId() string
- func (*OperationNFTokenBurn) ProtoMessage()
- func (x *OperationNFTokenBurn) ProtoReflect() protoreflect.Message
- func (x *OperationNFTokenBurn) Reset()
- func (x *OperationNFTokenBurn) String() string
- type OperationNFTokenCancelOffer
- func (*OperationNFTokenCancelOffer) Descriptor() ([]byte, []int)deprecated
- func (x *OperationNFTokenCancelOffer) GetTokenOffers() []string
- func (*OperationNFTokenCancelOffer) ProtoMessage()
- func (x *OperationNFTokenCancelOffer) ProtoReflect() protoreflect.Message
- func (x *OperationNFTokenCancelOffer) Reset()
- func (x *OperationNFTokenCancelOffer) String() string
- type OperationNFTokenCreateOffer
- func (*OperationNFTokenCreateOffer) Descriptor() ([]byte, []int)deprecated
- func (x *OperationNFTokenCreateOffer) GetDestination() string
- func (x *OperationNFTokenCreateOffer) GetNftokenId() string
- func (*OperationNFTokenCreateOffer) ProtoMessage()
- func (x *OperationNFTokenCreateOffer) ProtoReflect() protoreflect.Message
- func (x *OperationNFTokenCreateOffer) Reset()
- func (x *OperationNFTokenCreateOffer) String() string
- type OperationPayment
- func (*OperationPayment) Descriptor() ([]byte, []int)deprecated
- func (x *OperationPayment) GetAmount() int64
- func (x *OperationPayment) GetAmountOneof() isOperationPayment_AmountOneof
- func (x *OperationPayment) GetCurrencyAmount() *CurrencyAmount
- func (x *OperationPayment) GetDestination() string
- func (x *OperationPayment) GetDestinationTag() uint64
- func (*OperationPayment) ProtoMessage()
- func (x *OperationPayment) ProtoReflect() protoreflect.Message
- func (x *OperationPayment) Reset()
- func (x *OperationPayment) String() string
- type OperationPayment_Amount
- type OperationPayment_CurrencyAmount
- type OperationTrustSet
- func (*OperationTrustSet) Descriptor() ([]byte, []int)deprecated
- func (x *OperationTrustSet) GetLimitAmount() *CurrencyAmount
- func (*OperationTrustSet) ProtoMessage()
- func (x *OperationTrustSet) ProtoReflect() protoreflect.Message
- func (x *OperationTrustSet) Reset()
- func (x *OperationTrustSet) String() string
- type SigningInput
- func (*SigningInput) Descriptor() ([]byte, []int)deprecated
- func (x *SigningInput) GetAccount() string
- func (x *SigningInput) GetFee() int64
- func (x *SigningInput) GetFlags() uint64
- func (x *SigningInput) GetLastLedgerSequence() uint32
- func (x *SigningInput) GetOpEscrowCancel() *OperationEscrowCancel
- func (x *SigningInput) GetOpEscrowCreate() *OperationEscrowCreate
- func (x *SigningInput) GetOpEscrowFinish() *OperationEscrowFinish
- func (x *SigningInput) GetOpNftokenAcceptOffer() *OperationNFTokenAcceptOffer
- func (x *SigningInput) GetOpNftokenBurn() *OperationNFTokenBurn
- func (x *SigningInput) GetOpNftokenCancelOffer() *OperationNFTokenCancelOffer
- func (x *SigningInput) GetOpNftokenCreateOffer() *OperationNFTokenCreateOffer
- func (x *SigningInput) GetOpPayment() *OperationPayment
- func (x *SigningInput) GetOpTrustSet() *OperationTrustSet
- func (x *SigningInput) GetOperationOneof() isSigningInput_OperationOneof
- func (x *SigningInput) GetPrivateKey() []byte
- func (x *SigningInput) GetPublicKey() []byte
- func (x *SigningInput) GetRawJson() string
- func (x *SigningInput) GetSequence() uint32
- func (x *SigningInput) GetSourceTag() uint64
- func (*SigningInput) ProtoMessage()
- func (x *SigningInput) ProtoReflect() protoreflect.Message
- func (x *SigningInput) Reset()
- func (x *SigningInput) String() string
- type SigningInput_OpEscrowCancel
- type SigningInput_OpEscrowCreate
- type SigningInput_OpEscrowFinish
- type SigningInput_OpNftokenAcceptOffer
- type SigningInput_OpNftokenBurn
- type SigningInput_OpNftokenCancelOffer
- type SigningInput_OpNftokenCreateOffer
- type SigningInput_OpPayment
- type SigningInput_OpTrustSet
- 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 (*SigningOutput) ProtoMessage()
- func (x *SigningOutput) ProtoReflect() protoreflect.Message
- func (x *SigningOutput) Reset()
- func (x *SigningOutput) String() string
Constants ¶
This section is empty.
Variables ¶
var File_Ripple_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CurrencyAmount ¶
type CurrencyAmount struct {
// Currency code
// https://xrpl.org/currency-formats.html#currency-codes
Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"`
// String number
// https://xrpl.org/currency-formats.html#string-numbers
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// Account
// https://xrpl.org/accounts.html
Issuer string `protobuf:"bytes,3,opt,name=issuer,proto3" json:"issuer,omitempty"`
// contains filtered or unexported fields
}
https://xrpl.org/currency-formats.html#token-amounts
func (*CurrencyAmount) Descriptor
deprecated
func (*CurrencyAmount) Descriptor() ([]byte, []int)
Deprecated: Use CurrencyAmount.ProtoReflect.Descriptor instead.
func (*CurrencyAmount) GetCurrency ¶
func (x *CurrencyAmount) GetCurrency() string
func (*CurrencyAmount) GetIssuer ¶
func (x *CurrencyAmount) GetIssuer() string
func (*CurrencyAmount) GetValue ¶
func (x *CurrencyAmount) GetValue() string
func (*CurrencyAmount) ProtoMessage ¶
func (*CurrencyAmount) ProtoMessage()
func (*CurrencyAmount) ProtoReflect ¶
func (x *CurrencyAmount) ProtoReflect() protoreflect.Message
func (*CurrencyAmount) Reset ¶
func (x *CurrencyAmount) Reset()
func (*CurrencyAmount) String ¶
func (x *CurrencyAmount) String() string
type OperationEscrowCancel ¶
type OperationEscrowCancel struct {
// Funding account
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
// Escrow transaction sequence
OfferSequence uint32 `protobuf:"varint,2,opt,name=offer_sequence,json=offerSequence,proto3" json:"offer_sequence,omitempty"`
// contains filtered or unexported fields
}
https://xrpl.org/escrowcancel.html
func (*OperationEscrowCancel) Descriptor
deprecated
func (*OperationEscrowCancel) Descriptor() ([]byte, []int)
Deprecated: Use OperationEscrowCancel.ProtoReflect.Descriptor instead.
func (*OperationEscrowCancel) GetOfferSequence ¶
func (x *OperationEscrowCancel) GetOfferSequence() uint32
func (*OperationEscrowCancel) GetOwner ¶
func (x *OperationEscrowCancel) GetOwner() string
func (*OperationEscrowCancel) ProtoMessage ¶
func (*OperationEscrowCancel) ProtoMessage()
func (*OperationEscrowCancel) ProtoReflect ¶
func (x *OperationEscrowCancel) ProtoReflect() protoreflect.Message
func (*OperationEscrowCancel) Reset ¶
func (x *OperationEscrowCancel) Reset()
func (*OperationEscrowCancel) String ¶
func (x *OperationEscrowCancel) String() string
type OperationEscrowCreate ¶
type OperationEscrowCreate struct {
// Escrow amount
Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
// Beneficiary account
Destination string `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"`
// Destination Tag
// It must fit uint32
DestinationTag uint64 `protobuf:"varint,3,opt,name=destination_tag,json=destinationTag,proto3" json:"destination_tag,omitempty"`
// Escrow expire time
// It must fit uint32
CancelAfter uint64 `protobuf:"varint,4,opt,name=cancel_after,json=cancelAfter,proto3" json:"cancel_after,omitempty"`
// Escrow release time
// It must fit uint32
FinishAfter uint64 `protobuf:"varint,5,opt,name=finish_after,json=finishAfter,proto3" json:"finish_after,omitempty"`
// Hex-encoded crypto condition
// https://datatracker.ietf.org/doc/html/draft-thomas-crypto-conditions-02#section-8.1
Condition string `protobuf:"bytes,6,opt,name=condition,proto3" json:"condition,omitempty"`
// contains filtered or unexported fields
}
https://xrpl.org/escrowcreate.html
func (*OperationEscrowCreate) Descriptor
deprecated
func (*OperationEscrowCreate) Descriptor() ([]byte, []int)
Deprecated: Use OperationEscrowCreate.ProtoReflect.Descriptor instead.
func (*OperationEscrowCreate) GetAmount ¶
func (x *OperationEscrowCreate) GetAmount() int64
func (*OperationEscrowCreate) GetCancelAfter ¶
func (x *OperationEscrowCreate) GetCancelAfter() uint64
func (*OperationEscrowCreate) GetCondition ¶
func (x *OperationEscrowCreate) GetCondition() string
func (*OperationEscrowCreate) GetDestination ¶
func (x *OperationEscrowCreate) GetDestination() string
func (*OperationEscrowCreate) GetDestinationTag ¶
func (x *OperationEscrowCreate) GetDestinationTag() uint64
func (*OperationEscrowCreate) GetFinishAfter ¶
func (x *OperationEscrowCreate) GetFinishAfter() uint64
func (*OperationEscrowCreate) ProtoMessage ¶
func (*OperationEscrowCreate) ProtoMessage()
func (*OperationEscrowCreate) ProtoReflect ¶
func (x *OperationEscrowCreate) ProtoReflect() protoreflect.Message
func (*OperationEscrowCreate) Reset ¶
func (x *OperationEscrowCreate) Reset()
func (*OperationEscrowCreate) String ¶
func (x *OperationEscrowCreate) String() string
type OperationEscrowFinish ¶
type OperationEscrowFinish struct {
// Funding account
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
// Escrow transaction sequence
OfferSequence uint32 `protobuf:"varint,2,opt,name=offer_sequence,json=offerSequence,proto3" json:"offer_sequence,omitempty"`
// Hex-encoded crypto condition
Condition string `protobuf:"bytes,3,opt,name=condition,proto3" json:"condition,omitempty"`
// Hex-encoded fulfillment matching condition
Fulfillment string `protobuf:"bytes,4,opt,name=fulfillment,proto3" json:"fulfillment,omitempty"`
// contains filtered or unexported fields
}
https://xrpl.org/escrowfinish.html
func (*OperationEscrowFinish) Descriptor
deprecated
func (*OperationEscrowFinish) Descriptor() ([]byte, []int)
Deprecated: Use OperationEscrowFinish.ProtoReflect.Descriptor instead.
func (*OperationEscrowFinish) GetCondition ¶
func (x *OperationEscrowFinish) GetCondition() string
func (*OperationEscrowFinish) GetFulfillment ¶
func (x *OperationEscrowFinish) GetFulfillment() string
func (*OperationEscrowFinish) GetOfferSequence ¶
func (x *OperationEscrowFinish) GetOfferSequence() uint32
func (*OperationEscrowFinish) GetOwner ¶
func (x *OperationEscrowFinish) GetOwner() string
func (*OperationEscrowFinish) ProtoMessage ¶
func (*OperationEscrowFinish) ProtoMessage()
func (*OperationEscrowFinish) ProtoReflect ¶
func (x *OperationEscrowFinish) ProtoReflect() protoreflect.Message
func (*OperationEscrowFinish) Reset ¶
func (x *OperationEscrowFinish) Reset()
func (*OperationEscrowFinish) String ¶
func (x *OperationEscrowFinish) String() string
type OperationNFTokenAcceptOffer ¶
type OperationNFTokenAcceptOffer struct {
// Hex-encoded Hash256 NFTokenOffer
SellOffer string `protobuf:"bytes,1,opt,name=sell_offer,json=sellOffer,proto3" json:"sell_offer,omitempty"`
// contains filtered or unexported fields
}
https://xrpl.org/nftokenacceptoffer.html
func (*OperationNFTokenAcceptOffer) Descriptor
deprecated
func (*OperationNFTokenAcceptOffer) Descriptor() ([]byte, []int)
Deprecated: Use OperationNFTokenAcceptOffer.ProtoReflect.Descriptor instead.
func (*OperationNFTokenAcceptOffer) GetSellOffer ¶
func (x *OperationNFTokenAcceptOffer) GetSellOffer() string
func (*OperationNFTokenAcceptOffer) ProtoMessage ¶
func (*OperationNFTokenAcceptOffer) ProtoMessage()
func (*OperationNFTokenAcceptOffer) ProtoReflect ¶
func (x *OperationNFTokenAcceptOffer) ProtoReflect() protoreflect.Message
func (*OperationNFTokenAcceptOffer) Reset ¶
func (x *OperationNFTokenAcceptOffer) Reset()
func (*OperationNFTokenAcceptOffer) String ¶
func (x *OperationNFTokenAcceptOffer) String() string
type OperationNFTokenBurn ¶
type OperationNFTokenBurn struct {
// Hex-encoded H256 NFTokenId
NftokenId string `protobuf:"bytes,1,opt,name=nftoken_id,json=nftokenId,proto3" json:"nftoken_id,omitempty"`
// contains filtered or unexported fields
}
https://xrpl.org/nftokenburn.html
func (*OperationNFTokenBurn) Descriptor
deprecated
func (*OperationNFTokenBurn) Descriptor() ([]byte, []int)
Deprecated: Use OperationNFTokenBurn.ProtoReflect.Descriptor instead.
func (*OperationNFTokenBurn) GetNftokenId ¶
func (x *OperationNFTokenBurn) GetNftokenId() string
func (*OperationNFTokenBurn) ProtoMessage ¶
func (*OperationNFTokenBurn) ProtoMessage()
func (*OperationNFTokenBurn) ProtoReflect ¶
func (x *OperationNFTokenBurn) ProtoReflect() protoreflect.Message
func (*OperationNFTokenBurn) Reset ¶
func (x *OperationNFTokenBurn) Reset()
func (*OperationNFTokenBurn) String ¶
func (x *OperationNFTokenBurn) String() string
type OperationNFTokenCancelOffer ¶
type OperationNFTokenCancelOffer struct {
// Hex-encoded Vector256 NFTokenOffers
TokenOffers []string `protobuf:"bytes,1,rep,name=token_offers,json=tokenOffers,proto3" json:"token_offers,omitempty"`
// contains filtered or unexported fields
}
https://xrpl.org/nftokencanceloffer.html
func (*OperationNFTokenCancelOffer) Descriptor
deprecated
func (*OperationNFTokenCancelOffer) Descriptor() ([]byte, []int)
Deprecated: Use OperationNFTokenCancelOffer.ProtoReflect.Descriptor instead.
func (*OperationNFTokenCancelOffer) GetTokenOffers ¶
func (x *OperationNFTokenCancelOffer) GetTokenOffers() []string
func (*OperationNFTokenCancelOffer) ProtoMessage ¶
func (*OperationNFTokenCancelOffer) ProtoMessage()
func (*OperationNFTokenCancelOffer) ProtoReflect ¶
func (x *OperationNFTokenCancelOffer) ProtoReflect() protoreflect.Message
func (*OperationNFTokenCancelOffer) Reset ¶
func (x *OperationNFTokenCancelOffer) Reset()
func (*OperationNFTokenCancelOffer) String ¶
func (x *OperationNFTokenCancelOffer) String() string
type OperationNFTokenCreateOffer ¶
type OperationNFTokenCreateOffer struct {
// Hex-encoded Hash256 NFTokenId
NftokenId string `protobuf:"bytes,1,opt,name=nftoken_id,json=nftokenId,proto3" json:"nftoken_id,omitempty"`
// Destination account
Destination string `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"`
// contains filtered or unexported fields
}
https://xrpl.org/nftokencreateoffer.html
func (*OperationNFTokenCreateOffer) Descriptor
deprecated
func (*OperationNFTokenCreateOffer) Descriptor() ([]byte, []int)
Deprecated: Use OperationNFTokenCreateOffer.ProtoReflect.Descriptor instead.
func (*OperationNFTokenCreateOffer) GetDestination ¶
func (x *OperationNFTokenCreateOffer) GetDestination() string
func (*OperationNFTokenCreateOffer) GetNftokenId ¶
func (x *OperationNFTokenCreateOffer) GetNftokenId() string
func (*OperationNFTokenCreateOffer) ProtoMessage ¶
func (*OperationNFTokenCreateOffer) ProtoMessage()
func (*OperationNFTokenCreateOffer) ProtoReflect ¶
func (x *OperationNFTokenCreateOffer) ProtoReflect() protoreflect.Message
func (*OperationNFTokenCreateOffer) Reset ¶
func (x *OperationNFTokenCreateOffer) Reset()
func (*OperationNFTokenCreateOffer) String ¶
func (x *OperationNFTokenCreateOffer) String() string
type OperationPayment ¶
type OperationPayment struct {
// Transfer amount
//
// Types that are valid to be assigned to AmountOneof:
//
// *OperationPayment_Amount
// *OperationPayment_CurrencyAmount
AmountOneof isOperationPayment_AmountOneof `protobuf_oneof:"amount_oneof"`
// Target account
Destination string `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"`
// A Destination Tag
// It must fit uint32
DestinationTag uint64 `protobuf:"varint,4,opt,name=destination_tag,json=destinationTag,proto3" json:"destination_tag,omitempty"`
// contains filtered or unexported fields
}
func (*OperationPayment) Descriptor
deprecated
func (*OperationPayment) Descriptor() ([]byte, []int)
Deprecated: Use OperationPayment.ProtoReflect.Descriptor instead.
func (*OperationPayment) GetAmount ¶
func (x *OperationPayment) GetAmount() int64
func (*OperationPayment) GetAmountOneof ¶
func (x *OperationPayment) GetAmountOneof() isOperationPayment_AmountOneof
func (*OperationPayment) GetCurrencyAmount ¶
func (x *OperationPayment) GetCurrencyAmount() *CurrencyAmount
func (*OperationPayment) GetDestination ¶
func (x *OperationPayment) GetDestination() string
func (*OperationPayment) GetDestinationTag ¶
func (x *OperationPayment) GetDestinationTag() uint64
func (*OperationPayment) ProtoMessage ¶
func (*OperationPayment) ProtoMessage()
func (*OperationPayment) ProtoReflect ¶
func (x *OperationPayment) ProtoReflect() protoreflect.Message
func (*OperationPayment) Reset ¶
func (x *OperationPayment) Reset()
func (*OperationPayment) String ¶
func (x *OperationPayment) String() string
type OperationPayment_Amount ¶
type OperationPayment_Amount struct {
Amount int64 `protobuf:"varint,1,opt,name=amount,proto3,oneof"`
}
type OperationPayment_CurrencyAmount ¶
type OperationPayment_CurrencyAmount struct {
CurrencyAmount *CurrencyAmount `protobuf:"bytes,2,opt,name=currency_amount,json=currencyAmount,proto3,oneof"`
}
type OperationTrustSet ¶
type OperationTrustSet struct {
LimitAmount *CurrencyAmount `protobuf:"bytes,1,opt,name=limit_amount,json=limitAmount,proto3" json:"limit_amount,omitempty"`
// contains filtered or unexported fields
}
https://xrpl.org/trustset.html
func (*OperationTrustSet) Descriptor
deprecated
func (*OperationTrustSet) Descriptor() ([]byte, []int)
Deprecated: Use OperationTrustSet.ProtoReflect.Descriptor instead.
func (*OperationTrustSet) GetLimitAmount ¶
func (x *OperationTrustSet) GetLimitAmount() *CurrencyAmount
func (*OperationTrustSet) ProtoMessage ¶
func (*OperationTrustSet) ProtoMessage()
func (*OperationTrustSet) ProtoReflect ¶
func (x *OperationTrustSet) ProtoReflect() protoreflect.Message
func (*OperationTrustSet) Reset ¶
func (x *OperationTrustSet) Reset()
func (*OperationTrustSet) String ¶
func (x *OperationTrustSet) String() string
type SigningInput ¶
type SigningInput struct {
// Transfer fee
Fee int64 `protobuf:"varint,1,opt,name=fee,proto3" json:"fee,omitempty"`
// Account sequence number
Sequence uint32 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
// Ledger sequence number
LastLedgerSequence uint32 `protobuf:"varint,3,opt,name=last_ledger_sequence,json=lastLedgerSequence,proto3" json:"last_ledger_sequence,omitempty"`
// Source account
Account string `protobuf:"bytes,4,opt,name=account,proto3" json:"account,omitempty"`
// Transaction flags, optional
// It must fit uint32
Flags uint64 `protobuf:"varint,5,opt,name=flags,proto3" json:"flags,omitempty"`
// The secret private key used for signing (32 bytes).
PrivateKey []byte `protobuf:"bytes,6,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
// Types that are valid to be assigned to OperationOneof:
//
// *SigningInput_OpTrustSet
// *SigningInput_OpPayment
// *SigningInput_OpNftokenBurn
// *SigningInput_OpNftokenCreateOffer
// *SigningInput_OpNftokenAcceptOffer
// *SigningInput_OpNftokenCancelOffer
// *SigningInput_OpEscrowCreate
// *SigningInput_OpEscrowCancel
// *SigningInput_OpEscrowFinish
OperationOneof isSigningInput_OperationOneof `protobuf_oneof:"operation_oneof"`
// Only used by tss chain-integration.
PublicKey []byte `protobuf:"bytes,15,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
// Generate a transaction from its JSON representation.
// The following parameters can be replaced from the `SigningInput` Protobuf:
// * Account
// * SigningPubKey
// * Fee
// * Sequence
// * LastLedgerSequence
RawJson string `protobuf:"bytes,20,opt,name=raw_json,json=rawJson,proto3" json:"raw_json,omitempty"`
// Arbitrary integer used to identify the reason for this payment, or a sender on whose behalf this transaction is made.
// Conventionally, a refund should specify the initial payment's SourceTag as the refund payment's DestinationTag.
// It must fit uint32.
SourceTag uint64 `protobuf:"varint,25,opt,name=source_tag,json=sourceTag,proto3" json:"source_tag,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) GetAccount ¶
func (x *SigningInput) GetAccount() string
func (*SigningInput) GetFee ¶
func (x *SigningInput) GetFee() int64
func (*SigningInput) GetFlags ¶
func (x *SigningInput) GetFlags() uint64
func (*SigningInput) GetLastLedgerSequence ¶
func (x *SigningInput) GetLastLedgerSequence() uint32
func (*SigningInput) GetOpEscrowCancel ¶
func (x *SigningInput) GetOpEscrowCancel() *OperationEscrowCancel
func (*SigningInput) GetOpEscrowCreate ¶
func (x *SigningInput) GetOpEscrowCreate() *OperationEscrowCreate
func (*SigningInput) GetOpEscrowFinish ¶
func (x *SigningInput) GetOpEscrowFinish() *OperationEscrowFinish
func (*SigningInput) GetOpNftokenAcceptOffer ¶
func (x *SigningInput) GetOpNftokenAcceptOffer() *OperationNFTokenAcceptOffer
func (*SigningInput) GetOpNftokenBurn ¶
func (x *SigningInput) GetOpNftokenBurn() *OperationNFTokenBurn
func (*SigningInput) GetOpNftokenCancelOffer ¶
func (x *SigningInput) GetOpNftokenCancelOffer() *OperationNFTokenCancelOffer
func (*SigningInput) GetOpNftokenCreateOffer ¶
func (x *SigningInput) GetOpNftokenCreateOffer() *OperationNFTokenCreateOffer
func (*SigningInput) GetOpPayment ¶
func (x *SigningInput) GetOpPayment() *OperationPayment
func (*SigningInput) GetOpTrustSet ¶
func (x *SigningInput) GetOpTrustSet() *OperationTrustSet
func (*SigningInput) GetOperationOneof ¶
func (x *SigningInput) GetOperationOneof() isSigningInput_OperationOneof
func (*SigningInput) GetPrivateKey ¶
func (x *SigningInput) GetPrivateKey() []byte
func (*SigningInput) GetPublicKey ¶
func (x *SigningInput) GetPublicKey() []byte
func (*SigningInput) GetRawJson ¶
func (x *SigningInput) GetRawJson() string
func (*SigningInput) GetSequence ¶
func (x *SigningInput) GetSequence() uint32
func (*SigningInput) GetSourceTag ¶
func (x *SigningInput) GetSourceTag() 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 SigningInput_OpEscrowCancel ¶
type SigningInput_OpEscrowCancel struct {
OpEscrowCancel *OperationEscrowCancel `protobuf:"bytes,17,opt,name=op_escrow_cancel,json=opEscrowCancel,proto3,oneof"`
}
type SigningInput_OpEscrowCreate ¶
type SigningInput_OpEscrowCreate struct {
OpEscrowCreate *OperationEscrowCreate `protobuf:"bytes,16,opt,name=op_escrow_create,json=opEscrowCreate,proto3,oneof"`
}
type SigningInput_OpEscrowFinish ¶
type SigningInput_OpEscrowFinish struct {
OpEscrowFinish *OperationEscrowFinish `protobuf:"bytes,18,opt,name=op_escrow_finish,json=opEscrowFinish,proto3,oneof"`
}
type SigningInput_OpNftokenAcceptOffer ¶
type SigningInput_OpNftokenAcceptOffer struct {
OpNftokenAcceptOffer *OperationNFTokenAcceptOffer `protobuf:"bytes,11,opt,name=op_nftoken_accept_offer,json=opNftokenAcceptOffer,proto3,oneof"`
}
type SigningInput_OpNftokenBurn ¶
type SigningInput_OpNftokenBurn struct {
OpNftokenBurn *OperationNFTokenBurn `protobuf:"bytes,9,opt,name=op_nftoken_burn,json=opNftokenBurn,proto3,oneof"`
}
type SigningInput_OpNftokenCancelOffer ¶
type SigningInput_OpNftokenCancelOffer struct {
OpNftokenCancelOffer *OperationNFTokenCancelOffer `protobuf:"bytes,12,opt,name=op_nftoken_cancel_offer,json=opNftokenCancelOffer,proto3,oneof"`
}
type SigningInput_OpNftokenCreateOffer ¶
type SigningInput_OpNftokenCreateOffer struct {
OpNftokenCreateOffer *OperationNFTokenCreateOffer `protobuf:"bytes,10,opt,name=op_nftoken_create_offer,json=opNftokenCreateOffer,proto3,oneof"`
}
type SigningInput_OpPayment ¶
type SigningInput_OpPayment struct {
OpPayment *OperationPayment `protobuf:"bytes,8,opt,name=op_payment,json=opPayment,proto3,oneof"`
}
type SigningInput_OpTrustSet ¶
type SigningInput_OpTrustSet struct {
OpTrustSet *OperationTrustSet `protobuf:"bytes,7,opt,name=op_trust_set,json=opTrustSet,proto3,oneof"`
}
type SigningOutput ¶
type SigningOutput struct {
// Encoded transaction
Encoded []byte `protobuf:"bytes,1,opt,name=encoded,proto3" json:"encoded,omitempty"`
// Optional error
Error common.SigningError `protobuf:"varint,2,opt,name=error,proto3,enum=TW.Common.Proto.SigningError" json:"error,omitempty"`
// error code description
ErrorMessage string `protobuf:"bytes,3,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) 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