20 #include <ripple/protocol/TxFormats.h>
21 #include <ripple/protocol/jss.h>
27 #pragma push_macro("PSEUDO_TXN_COMMON_FIELDS")
31 #define PSEUDO_TXN_COMMON_FIELDS \
32 {sfTransactionType, soeREQUIRED}, \
33 {sfFlags, soeOPTIONAL}, \
34 {sfSourceTag, soeOPTIONAL}, \
35 {sfAccount, soeREQUIRED}, \
36 {sfSequence, soeREQUIRED}, \
37 {sfPreviousTxnID, soeOPTIONAL}, \
38 {sfLastLedgerSequence, soeOPTIONAL}, \
39 {sfAccountTxnID, soeOPTIONAL}, \
40 {sfFee, soeREQUIRED}, \
41 {sfOperationLimit, soeOPTIONAL}, \
42 {sfMemos, soeOPTIONAL}, \
43 {sfSigningPubKey, soeREQUIRED}, \
44 {sfTxnSignature, soeOPTIONAL}, \
45 {sfSigners, soeOPTIONAL}, \
46 {sfNetworkID, soeOPTIONAL}
52 PSEUDO_TXN_COMMON_FIELDS,
57 PSEUDO_TXN_COMMON_FIELDS,
61 #pragma pop_macro("PSEUDO_TXN_COMMON_FIELDS")
120 add(jss::AMMWithdraw,
160 add(jss::OfferCancel,
167 add(jss::SetRegularKey,
187 add(jss::EscrowCreate,
199 add(jss::EscrowFinish,
209 add(jss::EscrowCancel,
217 add(jss::EnableAmendment,
250 add(jss::TicketCreate,
259 add(jss::SignerListSet,
267 add(jss::PaymentChannelCreate,
279 add(jss::PaymentChannelFund,
288 add(jss::PaymentChannelClaim,
299 add(jss::CheckCreate,
319 add(jss::CheckCancel,
326 add(jss::AccountDelete,
334 add(jss::DepositPreauth,
342 add(jss::NFTokenMint,
352 add(jss::NFTokenBurn,
360 add(jss::NFTokenCreateOffer,
371 add(jss::NFTokenCancelOffer,
378 add(jss::NFTokenAcceptOffer,
@ ttNFTOKEN_CREATE_OFFER
This transaction creates a new offer to buy or sell an NFT.
const SF_UINT32 sfOfferSequence
@ ttACCOUNT_DELETE
This transaction type deletes an existing account.
const SF_VL sfUNLModifyValidator
const SF_AMOUNT sfBaseFeeDrops
const SF_UINT32 sfReserveBase
@ ttAMM_DELETE
This transaction type deletes AMM in the empty state.
const SF_AMOUNT sfSendMax
const SF_UINT32 sfLedgerSequence
const SF_VECTOR256 sfNFTokenOffers
const SF_ACCOUNT sfDestination
@ ttREGULAR_KEY_SET
This transaction type sets or clears an account's "regular key".
const SF_AMOUNT sfAmount2
@ ttCLAWBACK
This transaction claws back issued tokens.
const SF_UINT256 sfNFTokenID
const SF_UINT32 sfWalletSize
const SF_UINT256 sfCheckID
@ ttSIGNER_LIST_SET
This transaction type modifies the signer list associated with an account.
const SF_UINT32 sfQualityOut
const SF_ACCOUNT sfRegularKey
@ ttESCROW_CANCEL
This transaction type cancels an existing escrow.
@ ttFEE
This system-generated transaction type is used to update the network's fee settings.
@ ttAMM_DEPOSIT
This transaction type deposits into an AMM instance.
@ ttOFFER_CANCEL
This transaction type cancels existing offers to trade one asset for another.
@ ttPAYCHAN_CREATE
This transaction type creates a new unidirectional XRP payment channel.
const SF_UINT32 sfQualityIn
const SF_UINT32 sfSetFlag
const SF_UINT32 sfTicketSequence
@ ttNFTOKEN_ACCEPT_OFFER
This transaction accepts an existing offer to buy or sell an existing NFT.
const SF_AMOUNT sfLPTokenOut
@ ttAMENDMENT
This system-generated transaction type is used to update the status of the various amendments.
const SF_UINT16 sfTradingFee
const SF_UINT16 sfTransferFee
@ ttCHECK_CANCEL
This transaction type cancels an existing check.
const SF_UINT32 sfExpiration
const SF_UINT32 sfSignerQuorum
@ ttPAYMENT
This transaction type executes a payment.
const SF_AMOUNT sfTakerPays
const SF_AMOUNT sfDeliverMin
const SF_AMOUNT sfLimitAmount
@ ttUNL_MODIFY
This system-generated transaction type is used to update the network's negative UNL.
const SF_UINT32 sfSettleDelay
const SF_ACCOUNT sfUnauthorize
@ ttCHECK_CREATE
This transaction type creates a new check.
const SF_ACCOUNT sfNFTokenMinter
@ ttAMM_CREATE
This transaction type creates an AMM instance.
@ ttTRUST_SET
This transaction type modifies a trustline between two accounts.
const SF_UINT32 sfReserveIncrement
const SField sfAuthAccounts
@ ttNFTOKEN_MINT
This transaction mints a new NFT.
@ ttESCROW_CREATE
This transaction type creates an escrow object.
const SF_UINT32 sfTicketCount
@ ttAMM_WITHDRAW
This transaction type withdraws from an AMM instance.
@ ttESCROW_FINISH
This transaction type completes an existing escrow.
const SF_AMOUNT sfTakerGets
const SF_UINT32 sfTransferRate
const SF_UINT8 sfTickSize
const SF_ACCOUNT sfAuthorize
const SF_AMOUNT sfReserveIncrementDrops
const SF_UINT32 sfClearFlag
const SF_AMOUNT sfReserveBaseDrops
@ ttNFTOKEN_CANCEL_OFFER
This transaction cancels an existing offer to buy or sell an existing NFT.
@ ttOFFER_CREATE
This transaction type creates an offer to trade one asset for another.
const SF_UINT8 sfUNLModifyDisabling
const SF_UINT128 sfEmailHash
@ ttACCOUNT_SET
This transaction type adjusts various account settings.
const SField sfSignerEntries
const SF_UINT64 sfBaseFee
const SF_UINT256 sfNFTokenBuyOffer
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
const SF_UINT256 sfWalletLocator
const SF_ACCOUNT sfIssuer
@ ttDEPOSIT_PREAUTH
This transaction type grants or revokes authorization to transfer funds.
const SF_UINT256 sfInvoiceID
const SF_UINT32 sfDestinationTag
@ ttCHECK_CASH
This transaction type cashes an existing check.
@ ttPAYCHAN_FUND
This transaction type funds an existing unidirectional XRP payment channel.
const SF_AMOUNT sfBalance
const SF_UINT32 sfReferenceFeeUnits
@ ttAMM_VOTE
This transaction type votes for the trading fee.
@ ttPAYCHAN_CLAIM
This transaction type submits a claim against an existing unidirectional payment channel.
const SF_UINT32 sfCancelAfter
@ ttNFTOKEN_BURN
This transaction burns (i.e.
const SF_UINT32 sfFinishAfter
const SF_UINT256 sfChannel
const SF_UINT32 sfNFTokenTaxon
const SF_AMOUNT sfLPTokenIn
const SF_UINT256 sfAmendment
const SF_VL sfFulfillment
const SF_UINT256 sfNFTokenSellOffer
@ ttTICKET_CREATE
This transaction type creates a new set of tickets.
const SF_AMOUNT sfNFTokenBrokerFee
@ ttAMM_BID
This transaction type bids for the auction slot.