Indexer Hardening
Which transaction fields stellar-core validates and which it passes through, depth and size caps for decoding ledger data, deriving participants from meta, and storing muxed and signed-payload addresses.
Draft for developers.stellar.org
This guide is written for developers.stellar.org. It is published there after review by a stellar-core or platform engineer; this page is the draft for that review.
Most of a transaction envelope is chosen by whoever submitted the transaction. stellar-core checks some of it, checks some of it only in part, and passes the rest through to the ledger unchanged. An indexer that trusts an unchecked field, decodes without limits, or reads participants from the envelope can store wrong data or stop ingesting on a single transaction.
This page covers, in order: which envelope fields core validates, field by field; depth, length and count caps that never refuse data the network could have produced; why participants come from transaction meta and not from the envelope; how to store every strkey form defined by SEP-23, including muxed and signed-payload addresses; and a checklist for auditing an indexer written in any language.
The field table, the caps table and the checklist are generated from the data files of shapekit, an open-source corpus of rare but valid Stellar ledger data with a replay harness for indexers. Each row of the field table cites the stellar-core v30.0.0, stellar-xdr v30.0 or rs-soroban-env v30.0.0 source it was read from. The caps table also cites rs-stellar-xdr v30.0.0, wallet-backend for its one serving limit, and network settings read from testnet and mainnet. The field table is checked against the shapekit corpus manifest, which records the corpus entries that exercise each field. "Protocol" on this page always means the protocol version of the ledger that holds the data.
This page assumes you already read ledgers, for example with the Ingest SDK or the Token Transfer Processor. For how muxed accounts and memos are used by applications, see Pooled accounts: muxed accounts and memos, and for converting between address types in the SDKs, see Convert an address to other types.
Validated and unvalidated fields
The table below gives one of three answers for each field:
- yes: core rejects the transaction, or fails the operation, when the value is wrong.
- partial: core checks some properties of the value, or the check happens later inside the Soroban host and only on some paths.
- no: core passes the value through without looking at its content.
A "yes" does not make a value true. Many checks run when the transaction is applied, and they only fail that transaction or operation. A ledger still carries the failed transaction: LedgerCloseMetaV2 holds the whole transaction set and one TransactionResultMetaV1 per transaction with its result (Stellar-ledger.x, LedgerCloseMetaV2). From protocol 13 core stops checking signatures of a transaction that already failed validation, so a failed transaction can carry signatures that were never verified (TransactionFrame::processSignatures). Treat an envelope value as known good only when the transaction result and the operation result are successes.
Fields core never checks
Mux ids. Core reduces every MuxedAccount to its ed25519 key with toAccountID, which drops the 64-bit id (toAccountID). Outside tests, core copies the id into classic and Soroban events (makeMuxIDSCVal, makeMuxedAccountAddress) and into its JSON output (XDRCereal.cpp), and compares it in one check: a clawback is malformed when its from equals the operation source, compared as whole MuxedAccount values, id included (ClawbackOpFrame::doCheckValid). The id is never looked up or stored in a ledger entry, so a mux id is any 64-bit value the submitter chose, with no account behind it. The two protocol rules about muxed accounts look only at the key type: before protocol 13 core rejects a transaction that contains any muxed account with txNOT_SUPPORTED (MuxChecker, TransactionFrame::commonValidPreSeqNum), and from protocol 25 core rejects a Soroban invocation whose transaction or operation source is muxed (see Soroban memo and muxed source rule).
Memos. MEMO_TEXT is limited only by its XDR type, string text<28>, which bounds bytes, not characters (Memo). Core runs no UTF-8 or content check on it. MEMO_ID, MEMO_HASH and MEMO_RETURN are not checked either; a MEMO_RETURN hash need not name any transaction. Core copies the memo of a classic payment to a plain account into the to_muxed_id field of the transfer or mint event, as a string, a u64 or bytes depending on the memo type (makeClassicMemoSCVal, getPossibleMuxedData), so the same unchecked bytes reappear inside event data.
Data entry values. ManageDataOp.dataValue is up to 64 opaque bytes. Core copies it into the data entry as it is (ManageDataOpFrame::doApply).
Fields core checks only in part
Signed payloads. A signed-payload signer key carries 1 to 64 payload bytes: the upper bound comes from XDR and core rejects an empty payload (TransactionFrame::commonValidPreSeqNum, SetOptionsOpFrame::doCheckValid). The payload content is never checked.
Soroban footprints. Core limits the key types, key sizes and entry counts of a footprint and rejects duplicate keys, but the keys need not exist, and the host only enforces that the contract stays inside the footprint (TransactionFrame::checkSorobanResources, TransactionFrame::commonValidPreSeqNum, invoke_host_function). A footprint is what the submitter allowed a contract to touch, not what it touched.
Soroban authorization entries. Core never inspects auth entries; it serializes them and passes them to the Soroban host (invokeHostFunction). The host converts every entry to host objects at the start of execution, so an entry that cannot be converted fails the operation; this includes any address other than an account or a contract (AccountAuthorizationTracker::from_authorization_entry). It checks signatures, nonces and expiration only for an entry that a require_auth call matches, and nothing checks that every entry was used (require_auth_enforcing, maybe_authorize_invocation). An entry that no call matches can name any account or contract address with any signature that converts to a host value and still appear in a successful transaction. Source-account credentials carry no signature at all and rest on the transaction signatures (authenticate).
Contract call arguments. Core checks only that the envelope parses within the XDR depth limit and fits the transaction size limit. The host converts arguments when it runs the call and fails the operation on a map whose keys are not strictly sorted (validateXDRForProtocol, MeteredOrdMap::from_map_with_host). A failed invocation can therefore carry unsorted or colliding map keys.
Assets, claimants and names. From protocol 13 a payment or path payment does not check that the asset issuer exists, and the field table lists the same for other operations (PathPaymentOpFrameBase::checkIssuer). Claimable balance claimants must be unique within the operation but need not exist (CreateClaimableBalanceOpFrame::doCheckValid). Home domains and data entry names must be printable ASCII, and nothing more (isStringValid).
Ordering rules
Liquidity pool assets order by raw bytes. A pool-share trustline requires assetA < assetB (isPoolShareAssetValid). The comparison is by asset type, then the asset code as raw bytes including zero padding, then the issuer as its raw 32 key bytes, and a pair in the wrong order fails with CHANGE_TRUST_MALFORMED. Strkey text order is different: base32 uses the digits 2 to 7 for its highest values, 26 to 31, but in ASCII they sort before A to Z. With the same asset code, an issuer of 32 zero bytes (GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWHF) comes first by bytes, while an issuer of 32 bytes of 0x3a (GA5DUOR2HI5DUOR2HI5DUOR2HI5DUOR2HI5DUOR2HI5DUOR2HI5DVTUJ) comes first as text. js-stellar-sdk before version 17.2.1 sorted issuers as text and rejected valid pairs (js-stellar-sdk#1766).
ScMap keys order by the Soroban host's comparison, not by XDR bytes. The host requires map keys to be strictly increasing (from_map_with_host). Its comparison orders values of different types by their ScValType discriminant, then compares bytes, strings and symbols bytewise, vectors and maps element by element, and numbers by value (Compare<ScVal>). XDR byte order differs: a length prefix puts symbol "b" before "aa", and two's complement puts -1 after 1 (js-stellar-sdk#1766, RFC 4506 section 4.1, section 4.11). In host order, symbols b, aa, a sort to a, aa, b, i128 keys 1, -1, 0, -200 sort to -200, -1, 0, 1, and bytes keys [10], [9], [1,2], [2] sort to [1,2], [2], [9], [10]. Use this order in any code that builds, re-encodes or checks a map.
Signatures and hints
A signed-payload signature is not bound to a network or a transaction. For a signed-payload signer core verifies an ed25519 signature over the raw payload bytes, with no network ID and no hashing (verifyEd25519SignedPayload). A transaction signature, by contrast, signs a hash of the network ID, the envelope type and the transaction (TransactionFrame::getContentsHash). The same signed-payload signature therefore satisfies the same signer on every network and in every transaction that lists it.
Hints are a filter, not an identity. Core tries a signer only when the 4-byte hint of a signature matches it (SignatureUtils::verify). For a signed-payload signer the expected hint is the last 4 bytes of the ed25519 key XORed with a 4-byte hint of the payload (getSignedPayloadHint). The payload hint is the last 4 payload bytes when the payload has 4 or more bytes; a payload of 1 to 3 bytes is copied into the start of the hint instead (getHint). Two signers can share a hint, so never attribute a signature to a signer by its hint.
Soroban memo and muxed source rule
From protocol 25 core rejects with txSOROBAN_INVALID a transaction whose single INVOKE_HOST_FUNCTION operation comes with a memo, a muxed transaction source or a muxed operation source (TransactionFrame::validateSorobanMemo, TransactionFrame::commonValidPreSeqNum). Before protocol 25 the same check exists only as an admission policy of a node's transaction queue (TransactionQueue::canAdd), which is not a consensus rule, so ledgers before protocol 25 can contain Soroban invocations with a memo or a muxed source. Extend and restore transactions are not covered by the rule.
Field table
Each row lists what core checks, the risk of trusting the value, how to handle it, the source the row was read from, and how many corpus entries exercise the field.
88 fields: 58 validated, 19 partly validated, 11 not validated by stellar-core.
tx.envelope.typeTransactionEnvelope.typeall protocols
Handling: Switch on all three arms; treat v0 as history-only and fee bump as a wrapper whose inner v1 transaction carries the operations.
tx.v0.source_account_ed25519TransactionV0Envelope.tx.sourceAccountEd25519protocols 0 to 12
Handling: Wrap the 32 bytes as an ed25519 account id (G strkey); never expect a mux id in v0.
tx.signaturesTransactionV1Envelope.signaturesall protocols
Handling: Derive signer participation from signer changes in meta, not from the signature list; only treat signatures as verified on successful transactions.
tx.signatures.hintDecoratedSignature.hintall protocols
Handling: Never key or attribute signers by hint; if a signer must be attributed, verify the signature against candidate keys yourself.
tx.signatures.signatureDecoratedSignature.signatureall protocols
Handling: Do not treat a signed-payload signature as transaction-specific or network-specific; store signature bytes as opaque, up to 64 bytes.
tx.source_accountTransaction.sourceAccountall protocols
Handling: Use the base key (G) as the account identity; take the full participant set from meta changes and events.
tx.source_account.mux_idTransaction.sourceAccount(KEY_TYPE_MUXED_ED25519).med25519.idprotocol 13 and later
Handling: Store the base account and the mux id separately, the id as an unsigned 64-bit value; never treat an M address as an account that exists; key balances by the base account.
tx.feeTransaction.feeall protocols
Handling: Read feeCharged from the transaction result and fee changes from meta.
tx.seq_numTransaction.seqNumall protocols
Handling: Safe to store; do not assume contiguity per account.
tx.cond.typeTransaction.cond.typeprotocol 13 and later
Handling: Handle all three arms; v0 envelopes carry an optional TimeBounds instead.
tx.cond.time_boundsTransaction.cond(PRECOND_TIME).timeBounds \| Transaction.cond(PRECOND_V2).v2.timeBoundsall protocols
Handling: Safe to store; treat maxTime 0 as no bound.
tx.cond.ledger_boundsTransaction.cond(PRECOND_V2).v2.ledgerBoundsprotocol 19 and later
Handling: Safe to store; maxLedger is exclusive.
tx.cond.min_seq_numTransaction.cond(PRECOND_V2).v2.minSeqNumprotocol 19 and later
Handling: Do not reconstruct account sequence numbers from envelopes; read them from meta.
tx.cond.min_seq_ageTransaction.cond(PRECOND_V2).v2.minSeqAgeprotocol 19 and later
Handling: Safe to store.
tx.cond.min_seq_ledger_gapTransaction.cond(PRECOND_V2).v2.minSeqLedgerGapprotocol 19 and later
Handling: Safe to store.
tx.cond.extra_signersTransaction.cond(PRECOND_V2).v2.extraSignersprotocol 19 and later
Handling: Store signer keys with their type and full payload; do not treat them as participants unless meta shows them.
signer_key.signed_payload.payloadSignerKey(SIGNER_KEY_TYPE_ED25519_SIGNED_PAYLOAD).ed25519SignedPayload.payloadprotocol 19 and later
Handling: Store the full payload with its length; encode as a P strkey (SEP-23) when rendering.
tx.memo.typeTransaction.memo.typeall protocols
Handling: Switch on all five arms.
tx.memo.textTransaction.memo(MEMO_TEXT).textall protocols
Handling: Store as bytes; if a string is needed, validate utf-8 explicitly and keep the raw bytes alongside; never use it as a key or a destination identifier.
tx.memo.idTransaction.memo(MEMO_ID).idall protocols
Handling: Store as unsigned 64-bit (or decimal string); never treat as an account reference.
tx.memo.hashTransaction.memo(MEMO_HASH).hashall protocols
Handling: Store as 32 raw bytes or hex.
tx.memo.returnTransaction.memo(MEMO_RETURN).retHashall protocols
Handling: Store as 32 raw bytes; do not join on it without checking the referenced transaction exists.
tx.operationsTransaction.operationsall protocols
Handling: Safe; per-operation fields are covered by their own rows.
tx.extTransaction.extprotocol 20 and later
Handling: Read sorobanData only when ext.v is 1.
tx.soroban.resource_feeTransaction.ext(1).sorobanData.resourceFeeprotocol 20 and later
Handling: Use feeCharged and the soroban fee fields in meta for what was paid.
tx.soroban.resources.limitsTransaction.ext(1).sorobanData.resources.{instructions,diskReadBytes,writeBytes}protocol 20 and later
Handling: Read actual consumption from soroban meta and diagnostic or metrics events.
tx.soroban.footprintTransaction.ext(1).sorobanData.resources.footprint.{readOnly,readWrite}protocol 20 and later
Handling: Derive touched entries and participants from ledger entry changes in meta, never from the footprint.
tx.soroban.ext.archived_soroban_entriesTransaction.ext(1).sorobanData.ext(1).resourceExt.archivedSorobanEntriesprotocol 23 and later
Handling: Use meta restore changes to learn what was restored.
feebump.fee_sourceFeeBumpTransaction.feeSourceprotocol 13 and later
Handling: Record the fee payer separately from the transaction source.
feebump.fee_source.mux_idFeeBumpTransaction.feeSource(KEY_TYPE_MUXED_ED25519).med25519.idprotocol 13 and later
Handling: Store base account and mux id separately.
feebump.feeFeeBumpTransaction.feeprotocol 13 and later
Handling: Use feeCharged from the fee bump result.
feebump.signaturesFeeBumpTransactionEnvelope.signaturesprotocol 13 and later
Handling: Keep outer and inner signatures apart.
feebump.inner_txFeeBumpTransaction.innerTx(ENVELOPE_TYPE_TX).v1protocol 13 and later
Handling: Index the inner transaction with both hashes (outer full hash and inner hash) and the outer fee source as payer.
op.source_accountOperation.sourceAccountall protocols
Handling: Use the base key; resolve the absent case to the transaction source.
op.source_account.mux_idOperation.sourceAccount(KEY_TYPE_MUXED_ED25519).med25519.idprotocol 13 and later
Handling: Store base account and mux id separately; de-duplicate participants by base account.
op.create_account.destinationCreateAccountOp.destinationall protocols
Handling: Confirm creation from the account entry created in meta.
op.create_account.starting_balanceCreateAccountOp.startingBalanceall protocols
Handling: Safe on success; 0 is legal from protocol 14 with sponsorship.
op.payment.destinationPaymentOp.destinationall protocols
Handling: Only treat the destination as a participant when the payment succeeded or meta shows a change.
op.payment.destination.mux_idPaymentOp.destination(KEY_TYPE_MUXED_ED25519).med25519.idprotocol 13 and later
Handling: Store base account plus unsigned 64-bit id; read the id from the event when present.
op.payment.assetPaymentOp.assetall protocols
Handling: Key assets by (type, raw code bytes, issuer key bytes), not by display string.
op.payment.amountPaymentOp.amountall protocols
Handling: Store as int64 or decimal, never float.
op.path_payment.destinationPathPaymentStrictReceiveOp.destination \| PathPaymentStrictSendOp.destinationall protocols
Handling: As for payment destination.
op.path_payment.destination.mux_idPathPaymentStrictReceiveOp.destination(KEY_TYPE_MUXED_ED25519).med25519.id \| PathPaymentStrictSendOp.destination(KEY_TYPE_MUXED_ED25519).med25519.idprotocol 13 and later
Handling: As for payment mux id.
op.path_payment.amountsPathPaymentStrictReceiveOp.{sendMax,destAmount} \| PathPaymentStrictSendOp.{sendAmount,destMin}all protocols
Handling: Take actual amounts from the operation result (claim atoms and last amount) or from events.
op.path_payment.pathPathPaymentStrictReceiveOp.path \| PathPaymentStrictSendOp.pathall protocols
Handling: Derive trades from claim atoms in the result and from meta, not from the path.
op.manage_offer.offer_idManageSellOfferOp.offerID \| ManageBuyOfferOp.offerIDall protocols
Handling: Take the created or updated offer id from the operation result or meta; store as int64.
op.manage_offer.assets_amount_priceManageSellOfferOp.{selling,buying,amount,price} \| ManageBuyOfferOp.{selling,buying,buyAmount,price} \| CreatePassiveSellOfferOp.{selling,buying,amount,price}all protocols
Handling: Read offer state and trades from meta and the result.
op.set_options.home_domainSetOptionsOp.homeDomainall protocols
Handling: Store as text; validate as a hostname before any network use.
op.set_options.inflation_destSetOptionsOp.inflationDestall protocols
Handling: Safe on success.
op.set_options.signerSetOptionsOp.signerall protocols
Handling: Store signer type, key and full payload; take the resulting signer set from the account entry in meta.
op.set_options.thresholds_and_flagsSetOptionsOp.{clearFlags,setFlags,masterWeight,lowThreshold,medThreshold,highThreshold}all protocols
Handling: Take resulting flags and thresholds from the account entry in meta.
op.change_trust.lineChangeTrustOp.lineall protocols
Handling: Key the trustline asset by raw bytes.
op.change_trust.line.liquidity_poolChangeTrustOp.line(ASSET_TYPE_POOL_SHARE).liquidityPool.constantProductprotocol 18 and later
Handling: Order assets by raw xdr bytes, never by display string; take the pool id from meta.
op.change_trust.limitChangeTrustOp.limitall protocols
Handling: Take the resulting limit from the trustline entry in meta.
op.allow_trustAllowTrustOp.{trustor,asset,authorize}all protocols
Handling: Take authorization state from the trustline entry in meta.
op.manage_data.data_nameManageDataOp.dataNameprotocol 2 and later
Handling: Store as text with proper escaping; key data entries by (account, name bytes).
op.manage_data.data_valueManageDataOp.dataValueprotocol 2 and later
Handling: Store as bytes.
op.bump_sequence.bump_toBumpSequenceOp.bumpToprotocol 10 and later
Handling: Read the resulting sequence from meta.
op.create_claimable_balance.claimants.destinationCreateClaimableBalanceOp.claimants[].v0.destinationprotocol 14 and later
Handling: Record claimants as potential claimers only; a claimant participates when a claim succeeds.
op.create_claimable_balance.claimants.predicateCreateClaimableBalanceOp.claimants[].v0.predicateprotocol 14 and later
Handling: Bound recursion at depth 4 when walking; read the stored predicate from the claimable balance entry in meta.
op.create_claimable_balance.asset_amountCreateClaimableBalanceOp.{asset,amount}protocol 14 and later
Handling: Take the balance id from the result or meta.
op.claim_claimable_balance.balance_idClaimClaimableBalanceOp.balanceIDprotocol 14 and later
Handling: Trust only on success.
op.clawback.fromClawbackOp.fromprotocol 17 and later
Handling: Use the base key.
op.clawback.from.mux_idClawbackOp.from(KEY_TYPE_MUXED_ED25519).med25519.idprotocol 17 and later
Handling: Store separately from the base account.
op.clawback.asset_amountClawbackOp.{asset,amount}protocol 17 and later
Handling: Safe on success.
op.clawback_claimable_balance.balance_idClawbackClaimableBalanceOp.balanceIDprotocol 17 and later
Handling: Trust only on success.
op.set_trust_line_flagsSetTrustLineFlagsOp.{trustor,asset,clearFlags,setFlags}protocol 17 and later
Handling: Take resulting flags from the trustline entry in meta.
op.begin_sponsoring.sponsored_idBeginSponsoringFutureReservesOp.sponsoredIDprotocol 14 and later
Handling: Derive sponsorship relations from sponsoring ids on ledger entries in meta.
op.revoke_sponsorshipRevokeSponsorshipOp.ledgerKey \| RevokeSponsorshipOp.signerprotocol 14 and later
Handling: Read sponsorship changes from meta.
op.account_merge.destinationOperation.body(ACCOUNT_MERGE).destinationall protocols
Handling: Store base account and mux id separately; take the merged amount from the result.
op.liquidity_pool_depositLiquidityPoolDepositOp.{liquidityPoolID,maxAmountA,maxAmountB,minPrice,maxPrice}protocol 18 and later
Handling: Take deposited amounts from meta or events.
op.liquidity_pool_withdrawLiquidityPoolWithdrawOp.{liquidityPoolID,amount,minAmountA,minAmountB}protocol 18 and later
Handling: Take withdrawn amounts from meta or events.
op.invoke_host_function.invoke_contract.contract_addressInvokeHostFunctionOp.hostFunction(HOST_FUNCTION_TYPE_INVOKE_CONTRACT).invokeContract.contractAddressprotocol 20 and later
Handling: Take invoked contracts from events and meta; treat the envelope address as the submitter's target only.
op.invoke_host_function.invoke_contract.function_nameInvokeHostFunctionOp.hostFunction(HOST_FUNCTION_TYPE_INVOKE_CONTRACT).invokeContract.functionNameprotocol 20 and later
Handling: Store as bytes or validate the symbol charset before treating as text.
op.invoke_host_function.invoke_contract.argsInvokeHostFunctionOp.hostFunction(HOST_FUNCTION_TYPE_INVOKE_CONTRACT).invokeContract.argsprotocol 20 and later
Handling: Decode with depth and length limits; treat map key order and uniqueness as untrusted; tolerate refusal per value.
op.invoke_host_function.upload_wasmInvokeHostFunctionOp.hostFunction(HOST_FUNCTION_TYPE_UPLOAD_CONTRACT_WASM).wasmprotocol 20 and later
Handling: Store by hash with a size cap; take the uploaded code entry from meta.
op.invoke_host_function.create_contract.preimageInvokeHostFunctionOp.hostFunction(HOST_FUNCTION_TYPE_CREATE_CONTRACT\|HOST_FUNCTION_TYPE_CREATE_CONTRACT_V2).{createContract,createContractV2}.contractIDPreimageprotocol 20 and later
Handling: Take the created contract id and its creator from meta (new contract instance entry) and events.
op.invoke_host_function.create_contract_v2.constructor_argsInvokeHostFunctionOp.hostFunction(HOST_FUNCTION_TYPE_CREATE_CONTRACT_V2).createContractV2.constructorArgsprotocol 22 and later
Handling: As for invoke args.
op.invoke_host_function.authInvokeHostFunctionOp.authprotocol 20 and later
Handling: Never derive participants or authorizations from declared entries; use events and meta; cap recursion when walking.
auth.credentials.source_accountSorobanAuthorizationEntry.credentials(SOROBAN_CREDENTIALS_SOURCE_ACCOUNT)protocol 20 and later
Handling: Attribute to the operation source only when a matching authorization shows in events or meta.
auth.credentials.address.addressSorobanAddressCredentials.addressprotocol 20 and later
Handling: Do not treat the address as a participant unless meta or events confirm it.
auth.credentials.address.nonceSorobanAddressCredentials.nonceprotocol 20 and later
Handling: Read consumed nonces from contract data changes in meta.
auth.credentials.address.signature_expiration_ledgerSorobanAddressCredentials.signatureExpirationLedgerprotocol 20 and later
Handling: Do not use it as evidence of a live authorization.
auth.credentials.address.signatureSorobanAddressCredentials.signatureprotocol 20 and later
Handling: Treat as opaque; decode with depth limits; never infer signers from it.
auth.credentials.address_with_delegates.delegatesSorobanAddressCredentialsWithDelegates.delegatesprotocol 27 and later
Handling: Cap recursion; never derive participants from delegates.
auth.root_invocationSorobanAuthorizationEntry.rootInvocationprotocol 20 and later
Handling: Cap depth and node count when walking; take actual calls from events.
op.extend_footprint_ttl.extend_toExtendFootprintTTLOp.extendToprotocol 20 and later
Handling: Read new TTLs from meta.
op.restore_footprintOperation.body(RESTORE_FOOTPRINT) with footprintprotocol 20 and later
Handling: Read restored entries from meta.
Corpus entries by field
The shapekit corpus holds ledger data and test vectors for rare shapes. Each entry is recorded in the corpus manifest with the fields it exercises. These are the entries for each field.
tx.envelope.type(8): cap15.fee-bump.p30-fee-source-is-inner-source-envelope, cap15.fee-bump.p30-fee-source-is-inner-source-pre-auth-signer-envelope, cap15.fee-bump.p30-inner-failed-envelope, cap15.fee-bump.p30-inner-success-envelope, cap15.fee-bump.p30-muxed-fee-source-inner-failed-envelope, cap15.fee-bump.p30-muxed-fee-source-inner-success-envelope, cap26.inflation.p12-inflation-not-supported, classic.failed-tx.p1-manage-data-not-supported-yettx.v0.source_account_ed25519(7): cap26.inflation.p11-inflation-not-time, cap26.inflation.p11-inflation-payout, classic.failed-tx.p12-manage-buy-offer-buy-no-issuer, classic.failed-tx.p12-manage-buy-offer-sell-no-issuer, classic.failed-tx.p12-manage-sell-offer-buy-no-issuer, classic.failed-tx.p12-manage-sell-offer-sell-no-issuer, classic.failed-tx.p9-change-trust-native-internal-error-envelopetx.signatures(16): cap15.fee-bump.p30-inner-bad-auth, cap15.fee-bump.p30-inner-bad-auth-extra, cap21.preconditions.p30-two-extra-signers-envelope, cap40.signed-payload-signer.p28-authorised-by-payload-32, cap40.signed-payload-signer.p28-extra-signer-payload-64-envelope, cap40.signed-payload-signer.p30-authorised-by-payload-32, cap40.signed-payload-signer.p30-extra-signer-payload-64-envelope, classic.failed-tx.p30-op-bad-auth, classic.failed-tx.p30-pre-auth-failed-removes-signer, classic.failed-tx.p30-tx-bad-auth-extra, classic.max-length.p30-home-domain-32, classic.max-length.p30-home-domain-del-rejected, classic.max-length.p30-home-domain-utf8-rejected, classic.max-length.p30-signatures-20, classic.max-length.synth-signature-65-bytes, classic.max-length.synth-tx-21-signaturestx.signatures.hint(6): cap21.preconditions.p30-two-extra-signers-envelope, cap40.signed-payload-signer.p28-authorised-by-payload-32, cap40.signed-payload-signer.p28-extra-signer-payload-64-envelope, cap40.signed-payload-signer.p30-authorised-by-payload-32, cap40.signed-payload-signer.p30-extra-signer-payload-64-envelope, classic.max-length.p30-signatures-20tx.source_account(20): cap27.muxed-accounts.p28-claimable-balance-tx-source-id-1, cap27.muxed-accounts.p28-tx-source-and-payment-destination-id-0, cap27.muxed-accounts.p28-tx-source-and-payment-destination-id-1, cap27.muxed-accounts.p28-tx-source-and-payment-destination-id-2p53, cap27.muxed-accounts.p28-tx-source-and-payment-destination-id-2p64-1, cap27.muxed-accounts.p30-claimable-balance-tx-source-id-1, cap27.muxed-accounts.p30-tx-source-and-payment-destination-id-0, cap27.muxed-accounts.p30-tx-source-and-payment-destination-id-1, cap27.muxed-accounts.p30-tx-source-and-payment-destination-id-2p53, cap27.muxed-accounts.p30-tx-source-and-payment-destination-id-2p64-1, classic.failed-tx.p30-pre-auth-failed-removes-signer, classic.failed-tx.p30-unknown-destination, soroban.muxed-source.p28-invoke-muxed-source, soroban.muxed-source.p28-muxed-and-base-source-one-ledger, soroban.muxed-source.p28-restore-muxed-source, soroban.muxed-source.p30-extend-ttl-muxed-source, soroban.muxed-source.p30-extend-ttl-noop-muxed-source, soroban.muxed-source.p30-invoke-muxed-source, soroban.muxed-source.p30-restore-muxed-source, soroban.muxed-source.p30-restore-noop-muxed-sourcetx.source_account.mux_id(21): cap27.muxed-accounts.p28-claimable-balance-tx-source-id-1, cap27.muxed-accounts.p28-tx-source-and-payment-destination-id-0, cap27.muxed-accounts.p28-tx-source-and-payment-destination-id-1, cap27.muxed-accounts.p28-tx-source-and-payment-destination-id-2p53, cap27.muxed-accounts.p28-tx-source-and-payment-destination-id-2p64-1, cap27.muxed-accounts.p30-claimable-balance-tx-source-id-1, cap27.muxed-accounts.p30-tx-source-and-payment-destination-id-0, cap27.muxed-accounts.p30-tx-source-and-payment-destination-id-1, cap27.muxed-accounts.p30-tx-source-and-payment-destination-id-2p53, cap27.muxed-accounts.p30-tx-source-and-payment-destination-id-2p64-1, cap27.muxed-accounts.synth-textual-muxed-id-canonical, cap27.muxed-accounts.synth-textual-muxed-id-implementation-defined, cap27.muxed-accounts.synth-textual-muxed-id-noncanonical, soroban.muxed-source.p28-invoke-muxed-source, soroban.muxed-source.p28-muxed-and-base-source-one-ledger, soroban.muxed-source.p28-restore-muxed-source, soroban.muxed-source.p30-extend-ttl-muxed-source, soroban.muxed-source.p30-extend-ttl-noop-muxed-source, soroban.muxed-source.p30-invoke-muxed-source, soroban.muxed-source.p30-restore-muxed-source, soroban.muxed-source.p30-restore-noop-muxed-sourcetx.seq_num(3): cap15.fee-bump.p30-inner-bad-seq, cap21.preconditions.p30-all-preconditions-envelope, cap21.preconditions.p30-min-seq-num-jump-envelopetx.cond.type(8): cap21.preconditions.p30-all-preconditions-envelope, cap21.preconditions.p30-ledger-and-time-bounds-envelope, cap21.preconditions.p30-ledger-bounds-ended, cap21.preconditions.p30-ledger-bounds-no-maximum-envelope, cap21.preconditions.p30-min-seq-age-and-gap-envelope, cap21.preconditions.p30-min-seq-age-and-gap-not-met, cap21.preconditions.p30-min-seq-num-jump-envelope, cap21.preconditions.p30-two-extra-signers-envelopetx.cond.time_bounds(2): cap21.preconditions.p30-all-preconditions-envelope, cap21.preconditions.p30-ledger-and-time-bounds-envelopetx.cond.ledger_bounds(4): cap21.preconditions.p30-all-preconditions-envelope, cap21.preconditions.p30-ledger-and-time-bounds-envelope, cap21.preconditions.p30-ledger-bounds-ended, cap21.preconditions.p30-ledger-bounds-no-maximum-envelopetx.cond.min_seq_num(2): cap21.preconditions.p30-all-preconditions-envelope, cap21.preconditions.p30-min-seq-num-jump-envelopetx.cond.min_seq_age(4): cap21.preconditions.p30-account-seq-ledger-and-time, cap21.preconditions.p30-all-preconditions-envelope, cap21.preconditions.p30-min-seq-age-and-gap-envelope, cap21.preconditions.p30-min-seq-age-and-gap-not-mettx.cond.min_seq_ledger_gap(6): cap15.fee-bump.p30-inner-bad-min-seq-gap, cap21.preconditions.p30-account-seq-ledger-and-time, cap21.preconditions.p30-all-preconditions-envelope, cap21.preconditions.p30-min-seq-age-and-gap-envelope, cap21.preconditions.p30-min-seq-age-and-gap-not-met, classic.failed-tx.p30-tx-bad-min-seq-gaptx.cond.extra_signers(7): cap21.preconditions.p30-all-preconditions-envelope, cap21.preconditions.p30-two-extra-signers-envelope, cap21.preconditions.synth-extra-signers-3, cap40.signed-payload-signer.p28-extra-signer-empty-payload, cap40.signed-payload-signer.p28-extra-signer-payload-64-envelope, cap40.signed-payload-signer.p30-extra-signer-empty-payload, cap40.signed-payload-signer.p30-extra-signer-payload-64-envelopesigner_key.signed_payload.payload(38): cap40.signed-payload-signer.p28-account-four-payload-signers, cap40.signed-payload-signer.p28-authorised-by-payload-32, cap40.signed-payload-signer.p28-extra-signer-empty-payload, cap40.signed-payload-signer.p28-extra-signer-payload-64-envelope, cap40.signed-payload-signer.p28-extra-signer-payload-64-meta, cap40.signed-payload-signer.p28-remove-signer-payload-1-envelope, cap40.signed-payload-signer.p28-remove-signer-payload-1-meta, cap40.signed-payload-signer.p28-revoke-sponsorship-payload-64-envelope, cap40.signed-payload-signer.p28-revoke-sponsorship-payload-64-meta, cap40.signed-payload-signer.p28-set-options-empty-payload, cap40.signed-payload-signer.p28-set-options-payload-1-envelope, cap40.signed-payload-signer.p28-set-options-payload-1-meta, cap40.signed-payload-signer.p28-set-options-payload-32-envelope, cap40.signed-payload-signer.p28-set-options-payload-32-meta, cap40.signed-payload-signer.p28-set-options-payload-4-envelope, cap40.signed-payload-signer.p28-set-options-payload-4-meta, cap40.signed-payload-signer.p28-sponsored-set-options-payload-64-envelope, cap40.signed-payload-signer.p28-sponsored-set-options-payload-64-meta, cap40.signed-payload-signer.p30-account-four-payload-signers, cap40.signed-payload-signer.p30-authorised-by-payload-32, cap40.signed-payload-signer.p30-extra-signer-empty-payload, cap40.signed-payload-signer.p30-extra-signer-payload-64-envelope, cap40.signed-payload-signer.p30-extra-signer-payload-64-meta, cap40.signed-payload-signer.p30-remove-signer-payload-1-envelope, cap40.signed-payload-signer.p30-remove-signer-payload-1-meta, cap40.signed-payload-signer.p30-revoke-sponsorship-payload-64-envelope, cap40.signed-payload-signer.p30-revoke-sponsorship-payload-64-meta, cap40.signed-payload-signer.p30-set-options-empty-payload, cap40.signed-payload-signer.p30-set-options-payload-1-envelope, cap40.signed-payload-signer.p30-set-options-payload-1-meta, cap40.signed-payload-signer.p30-set-options-payload-32-envelope, cap40.signed-payload-signer.p30-set-options-payload-32-meta, cap40.signed-payload-signer.p30-set-options-payload-4-envelope, cap40.signed-payload-signer.p30-set-options-payload-4-meta, cap40.signed-payload-signer.p30-sponsored-set-options-payload-64-envelope, cap40.signed-payload-signer.p30-sponsored-set-options-payload-64-meta, cap40.signed-payload-signer.synth-empty-payload-signer, cap40.signed-payload-signer.synth-payload-65-bytestx.memo.type(27): cap67.unified-events.p22-backfill-payment-memo-hash, cap67.unified-events.p22-backfill-payment-memo-id, cap67.unified-events.p22-backfill-payment-memo-text, cap67.unified-events.p22-payment-memo-hash, cap67.unified-events.p22-payment-memo-id, cap67.unified-events.p22-payment-memo-text, cap67.unified-events.p30-payment-memo-hash, cap67.unified-events.p30-payment-memo-id, cap67.unified-events.p30-payment-memo-text, classic.max-length.p30-memo-text-28, classic.memo-arms.p30-memo-hash-ff, classic.memo-arms.p30-memo-hash-sha256, classic.memo-arms.p30-memo-hash-zero, classic.memo-arms.p30-memo-id-2-63, classic.memo-arms.p30-memo-id-max, classic.memo-arms.p30-memo-id-muxed-destination, classic.memo-arms.p30-memo-id-zero, classic.memo-arms.p30-memo-return-ff, classic.memo-arms.p30-memo-return-sha256, classic.memo-arms.p30-memo-return-zero, classic.memo-bytes.p30-memo-above-max-code-point, classic.memo-bytes.p30-memo-ff, classic.memo-bytes.p30-memo-lone-continuation, classic.memo-bytes.p30-memo-overlong-nul, classic.memo-bytes.p30-memo-surrogate, classic.memo-bytes.p30-memo-truncated-sequence-28, classic.memo-bytes.synth-memo-type-out-of-rangetx.memo.text(12): cap67.unified-events.p22-backfill-payment-memo-text, cap67.unified-events.p22-payment-memo-text, cap67.unified-events.p30-payment-memo-text, classic.max-length.p30-memo-text-28, classic.max-length.synth-memo-text-29-bytes, classic.memo-bytes.p30-memo-above-max-code-point, classic.memo-bytes.p30-memo-ff, classic.memo-bytes.p30-memo-lone-continuation, classic.memo-bytes.p30-memo-overlong-nul, classic.memo-bytes.p30-memo-surrogate, classic.memo-bytes.p30-memo-truncated-sequence-28, classic.memo-bytes.synth-memo-text-nonzero-paddingtx.memo.id(7): cap67.unified-events.p22-backfill-payment-memo-id, cap67.unified-events.p22-payment-memo-id, cap67.unified-events.p30-payment-memo-id, classic.memo-arms.p30-memo-id-2-63, classic.memo-arms.p30-memo-id-max, classic.memo-arms.p30-memo-id-muxed-destination, classic.memo-arms.p30-memo-id-zerotx.memo.hash(6): cap67.unified-events.p22-backfill-payment-memo-hash, cap67.unified-events.p22-payment-memo-hash, cap67.unified-events.p30-payment-memo-hash, classic.memo-arms.p30-memo-hash-ff, classic.memo-arms.p30-memo-hash-sha256, classic.memo-arms.p30-memo-hash-zerotx.memo.return(3): classic.memo-arms.p30-memo-return-ff, classic.memo-arms.p30-memo-return-sha256, classic.memo-arms.p30-memo-return-zerotx.operations(4): classic.max-length.p30-operations-100, classic.max-length.synth-operation-type-out-of-range, classic.max-length.synth-operations-count-overrun, classic.max-length.synth-tx-101-operationstx.ext(10): soroban.invoke-basics.p30-contract-deploys-with-constructor-envelope, soroban.invoke-basics.p30-create-contract-v1-envelope, soroban.invoke-basics.p30-create-contract-v2-constructor-envelope, soroban.invoke-basics.p30-extend-ttl-envelope, soroban.invoke-basics.p30-failed-events-discarded-envelope, soroban.invoke-basics.p30-failed-trapped-envelope, soroban.invoke-basics.p30-invoke-restored-contract-envelope, soroban.invoke-basics.p30-invoke-temporary-entry-envelope, soroban.invoke-basics.p30-restore-archived-instance-and-code-envelope, soroban.invoke-basics.p30-upload-wasmtx.soroban.resource_fee(6): cap67.unified-events.p30-soroban-fee-refund, soroban.invoke-basics.p30-contract-deploys-with-constructor-envelope, soroban.invoke-basics.p30-failed-events-discarded-envelope, soroban.invoke-basics.p30-failed-trapped-envelope, soroban.invoke-basics.p30-invoke-restored-contract-envelope, soroban.invoke-basics.p30-invoke-temporary-entry-envelopetx.soroban.footprint(15): cap66.archival.p30-auto-restore-invoke-envelope, cap66.archival.p30-restore-footprint, soroban.invoke-basics.p30-contract-deploys-with-constructor-envelope, soroban.invoke-basics.p30-extend-ttl-envelope, soroban.invoke-basics.p30-failed-events-discarded-envelope, soroban.invoke-basics.p30-failed-trapped-envelope, soroban.invoke-basics.p30-invoke-restored-contract-envelope, soroban.invoke-basics.p30-invoke-temporary-entry-envelope, soroban.invoke-basics.p30-restore-archived-instance-and-code-envelope, soroban.muxed-source.p28-muxed-and-base-source-one-ledger, soroban.muxed-source.p28-restore-muxed-source, soroban.muxed-source.p30-extend-ttl-muxed-source, soroban.muxed-source.p30-extend-ttl-noop-muxed-source, soroban.muxed-source.p30-restore-muxed-source, soroban.muxed-source.p30-restore-noop-muxed-sourcetx.soroban.ext.archived_soroban_entries(1): cap66.archival.p30-auto-restore-invoke-envelopefeebump.fee_source(6): cap15.fee-bump.p30-fee-source-is-inner-source-envelope, cap15.fee-bump.p30-fee-source-is-inner-source-pre-auth-signer-envelope, cap15.fee-bump.p30-inner-failed-envelope, cap15.fee-bump.p30-inner-success-envelope, cap15.fee-bump.p30-muxed-fee-source-inner-failed-envelope, cap15.fee-bump.p30-muxed-fee-source-inner-success-envelopefeebump.fee_source.mux_id(2): cap15.fee-bump.p30-muxed-fee-source-inner-failed-envelope, cap15.fee-bump.p30-muxed-fee-source-inner-success-envelopefeebump.fee(6): cap15.fee-bump.p30-fee-source-is-inner-source-envelope, cap15.fee-bump.p30-fee-source-is-inner-source-pre-auth-signer-envelope, cap15.fee-bump.p30-inner-failed-envelope, cap15.fee-bump.p30-inner-success-envelope, cap15.fee-bump.p30-muxed-fee-source-inner-failed-envelope, cap15.fee-bump.p30-muxed-fee-source-inner-success-envelopefeebump.signatures(6): cap15.fee-bump.p30-fee-source-is-inner-source-envelope, cap15.fee-bump.p30-fee-source-is-inner-source-pre-auth-signer-envelope, cap15.fee-bump.p30-inner-failed-envelope, cap15.fee-bump.p30-inner-success-envelope, cap15.fee-bump.p30-muxed-fee-source-inner-failed-envelope, cap15.fee-bump.p30-muxed-fee-source-inner-success-envelopefeebump.inner_tx(9): cap15.fee-bump.p30-fee-source-is-inner-source-envelope, cap15.fee-bump.p30-fee-source-is-inner-source-pre-auth-signer-envelope, cap15.fee-bump.p30-inner-bad-auth, cap15.fee-bump.p30-inner-bad-seq, cap15.fee-bump.p30-inner-bad-sponsorship, cap15.fee-bump.p30-inner-failed-envelope, cap15.fee-bump.p30-inner-success-envelope, cap15.fee-bump.p30-muxed-fee-source-inner-failed-envelope, cap15.fee-bump.p30-muxed-fee-source-inner-success-envelopeop.source_account(7): cap27.muxed-accounts.p28-operation-sources-four-ids, cap27.muxed-accounts.p30-operation-sources-four-ids, cap27.muxed-accounts.synth-crypto-key-type-out-of-range, cap27.muxed-accounts.synth-optional-flag-2, classic.failed-tx.p30-op-bad-auth, classic.failed-tx.p30-passive-offer-operation-source, classic.failed-tx.p30-unknown-destinationop.source_account.mux_id(2): cap27.muxed-accounts.p28-operation-sources-four-ids, cap27.muxed-accounts.p30-operation-sources-four-idsop.create_account.destination(5): cap33.sponsorship.p30-sponsored-account-envelope, classic.failed-tx.p30-create-account-already-exist, classic.failed-tx.p30-create-account-low-reserve, classic.failed-tx.p30-create-account-underfunded, classic.failed-tx.p30-unknown-destinationop.create_account.starting_balance(3): classic.failed-tx.p30-create-account-already-exist, classic.failed-tx.p30-create-account-low-reserve, classic.failed-tx.p30-create-account-underfundedop.payment.destination(42): cap27.muxed-accounts.p28-issued-payment-destination-id-2p53, cap27.muxed-accounts.p28-tx-source-and-payment-destination-id-0, cap27.muxed-accounts.p28-tx-source-and-payment-destination-id-1, cap27.muxed-accounts.p28-tx-source-and-payment-destination-id-2p53, cap27.muxed-accounts.p28-tx-source-and-payment-destination-id-2p64-1, cap27.muxed-accounts.p30-issued-payment-destination-id-2p53, cap27.muxed-accounts.p30-tx-source-and-payment-destination-id-0, cap27.muxed-accounts.p30-tx-source-and-payment-destination-id-1, cap27.muxed-accounts.p30-tx-source-and-payment-destination-id-2p53, cap27.muxed-accounts.p30-tx-source-and-payment-destination-id-2p64-1, cap67.unified-events.p22-backfill-payment-burn, cap67.unified-events.p22-backfill-payment-memo-hash, cap67.unified-events.p22-backfill-payment-memo-id, cap67.unified-events.p22-backfill-payment-memo-text, cap67.unified-events.p22-backfill-payment-mint, cap67.unified-events.p22-backfill-payment-muxed-destination, cap67.unified-events.p22-backfill-payment-to-self, cap67.unified-events.p22-backfill-payment-transfer, cap67.unified-events.p22-payment-burn, cap67.unified-events.p22-payment-memo-hash, cap67.unified-events.p22-payment-memo-id, cap67.unified-events.p22-payment-memo-text, cap67.unified-events.p22-payment-mint, cap67.unified-events.p22-payment-muxed-destination, cap67.unified-events.p22-payment-to-self, cap67.unified-events.p22-payment-transfer, cap67.unified-events.p30-payment-burn, cap67.unified-events.p30-payment-memo-hash, cap67.unified-events.p30-payment-memo-id, cap67.unified-events.p30-payment-memo-text, cap67.unified-events.p30-payment-mint, cap67.unified-events.p30-payment-muxed-destination, cap67.unified-events.p30-payment-to-self, cap67.unified-events.p30-payment-transfer, classic.failed-tx.p12-payment-no-issuer, classic.failed-tx.p30-payment-line-full, classic.failed-tx.p30-payment-no-trust, classic.failed-tx.p30-payment-not-authorized, classic.failed-tx.p30-payment-src-no-trust, classic.failed-tx.p30-payment-src-not-authorized, classic.failed-tx.p30-pre-auth-failed-removes-signer, classic.failed-tx.p30-unknown-destinationop.payment.destination.mux_id(16): cap27.muxed-accounts.p28-issued-payment-destination-id-2p53, cap27.muxed-accounts.p28-tx-source-and-payment-destination-id-0, cap27.muxed-accounts.p28-tx-source-and-payment-destination-id-1, cap27.muxed-accounts.p28-tx-source-and-payment-destination-id-2p53, cap27.muxed-accounts.p28-tx-source-and-payment-destination-id-2p64-1, cap27.muxed-accounts.p30-issued-payment-destination-id-2p53, cap27.muxed-accounts.p30-tx-source-and-payment-destination-id-0, cap27.muxed-accounts.p30-tx-source-and-payment-destination-id-1, cap27.muxed-accounts.p30-tx-source-and-payment-destination-id-2p53, cap27.muxed-accounts.p30-tx-source-and-payment-destination-id-2p64-1, cap27.muxed-accounts.synth-textual-muxed-id-canonical, cap27.muxed-accounts.synth-textual-muxed-id-implementation-defined, cap27.muxed-accounts.synth-textual-muxed-id-noncanonical, cap67.unified-events.p22-backfill-payment-muxed-destination, cap67.unified-events.p22-payment-muxed-destination, cap67.unified-events.p30-payment-muxed-destinationop.payment.asset(17): cap27.muxed-accounts.p28-issued-payment-destination-id-2p53, cap27.muxed-accounts.p30-issued-payment-destination-id-2p53, cap67.unified-events.p22-backfill-payment-burn, cap67.unified-events.p22-backfill-payment-mint, cap67.unified-events.p22-backfill-payment-transfer, cap67.unified-events.p22-payment-burn, cap67.unified-events.p22-payment-mint, cap67.unified-events.p22-payment-transfer, cap67.unified-events.p30-payment-burn, cap67.unified-events.p30-payment-mint, cap67.unified-events.p30-payment-transfer, classic.failed-tx.p12-payment-no-issuer, classic.failed-tx.p30-payment-line-full, classic.failed-tx.p30-payment-no-trust, classic.failed-tx.p30-payment-not-authorized, classic.failed-tx.p30-payment-src-no-trust, classic.failed-tx.p30-payment-src-not-authorizedop.payment.amount(6): classic.failed-tx.p12-payment-no-issuer, classic.failed-tx.p30-payment-line-full, classic.failed-tx.p30-payment-no-trust, classic.failed-tx.p30-payment-not-authorized, classic.failed-tx.p30-payment-src-no-trust, classic.failed-tx.p30-payment-src-not-authorizedop.path_payment.destination(31): cap03.offer-liabilities.p17-path-payment-strict-receive-claim-atom-v0, cap03.offer-liabilities.p17-path-payment-strict-send-claim-atom-v0, cap27.muxed-accounts.p28-path-payment-strict-receive-destination-id-2p64-1, cap27.muxed-accounts.p28-path-payment-strict-send-destination-id-1, cap27.muxed-accounts.p30-path-payment-strict-receive-destination-id-2p64-1, cap27.muxed-accounts.p30-path-payment-strict-send-destination-id-1, cap67.unified-events.p22-backfill-path-payment-muxed-destination, cap67.unified-events.p22-path-payment-muxed-destination, cap67.unified-events.p30-path-payment-muxed-destination, classic.failed-tx.p12-path-payment-strict-receive-no-issuer, classic.failed-tx.p12-path-payment-strict-send-no-issuer, classic.failed-tx.p30-path-receive-exceeded-work-limit, classic.failed-tx.p30-path-receive-line-full, classic.failed-tx.p30-path-receive-no-destination, classic.failed-tx.p30-path-receive-no-trust, classic.failed-tx.p30-path-receive-not-authorized, classic.failed-tx.p30-path-receive-offer-cross-self, classic.failed-tx.p30-path-receive-src-no-trust, classic.failed-tx.p30-path-receive-src-not-authorized, classic.failed-tx.p30-path-receive-too-few-offers, classic.failed-tx.p30-path-receive-underfunded, classic.failed-tx.p30-path-send-line-full, classic.failed-tx.p30-path-send-no-destination, classic.failed-tx.p30-path-send-no-trust, classic.failed-tx.p30-path-send-not-authorized, classic.failed-tx.p30-path-send-offer-cross-self, classic.failed-tx.p30-path-send-src-no-trust, classic.failed-tx.p30-path-send-src-not-authorized, classic.failed-tx.p30-path-send-too-few-offers, classic.failed-tx.p30-path-send-under-destmin, classic.failed-tx.p30-path-send-underfundedop.path_payment.destination.mux_id(7): cap27.muxed-accounts.p28-path-payment-strict-receive-destination-id-2p64-1, cap27.muxed-accounts.p28-path-payment-strict-send-destination-id-1, cap27.muxed-accounts.p30-path-payment-strict-receive-destination-id-2p64-1, cap27.muxed-accounts.p30-path-payment-strict-send-destination-id-1, cap67.unified-events.p22-backfill-path-payment-muxed-destination, cap67.unified-events.p22-path-payment-muxed-destination, cap67.unified-events.p30-path-payment-muxed-destinationop.path_payment.amounts(27): cap03.offer-liabilities.p17-path-payment-strict-receive-claim-atom-v0, cap03.offer-liabilities.p17-path-payment-strict-send-claim-atom-v0, cap38.liquidity-pools.p30-path-payment-through-pool, classic.failed-tx.p12-path-payment-strict-receive-no-issuer, classic.failed-tx.p12-path-payment-strict-send-no-issuer, classic.failed-tx.p30-path-receive-exceeded-work-limit, classic.failed-tx.p30-path-receive-line-full, classic.failed-tx.p30-path-receive-no-destination, classic.failed-tx.p30-path-receive-no-trust, classic.failed-tx.p30-path-receive-not-authorized, classic.failed-tx.p30-path-receive-offer-cross-self, classic.failed-tx.p30-path-receive-src-no-trust, classic.failed-tx.p30-path-receive-src-not-authorized, classic.failed-tx.p30-path-receive-too-few-offers, classic.failed-tx.p30-path-receive-underfunded, classic.failed-tx.p30-path-send-line-full, classic.failed-tx.p30-path-send-no-destination, classic.failed-tx.p30-path-send-no-trust, classic.failed-tx.p30-path-send-not-authorized, classic.failed-tx.p30-path-send-offer-cross-self, classic.failed-tx.p30-path-send-src-no-trust, classic.failed-tx.p30-path-send-src-not-authorized, classic.failed-tx.p30-path-send-too-few-offers, classic.failed-tx.p30-path-send-under-destmin, classic.failed-tx.p30-path-send-underfunded, classic.max-length.p30-path-strict-receive-5, classic.max-length.p30-path-strict-send-5op.path_payment.path(6): cap38.liquidity-pools.p30-path-payment-through-pool, classic.failed-tx.p12-path-payment-strict-receive-no-issuer, classic.failed-tx.p12-path-payment-strict-send-no-issuer, classic.max-length.p30-path-strict-receive-5, classic.max-length.p30-path-strict-send-5, classic.max-length.synth-path-6-assetsop.manage_offer.offer_id(33): cap03.offer-liabilities.p17-manage-buy-offer-claim-atom-v0, cap03.offer-liabilities.p17-manage-sell-offer-claim-atom-v0, cap03.offer-liabilities.p30-buy-offer-crosses-and-rests-envelope, cap03.offer-liabilities.p30-buy-offer-near-int64-max-envelope, cap03.offer-liabilities.p30-buy-offer-takes-two-makers-envelope, cap03.offer-liabilities.p30-credit-pair-cross-partial, cap03.offer-liabilities.p30-issuer-sells-own-asset, cap03.offer-liabilities.p30-sell-credit-trustline-liabilities, cap03.offer-liabilities.p30-sell-native-selling-liabilities, cap03.offer-liabilities.p30-update-offer-by-id, cap03.offer-liabilities.synth-negative-offer-id, cap03.offer-liabilities.synth-textual-offer-id-canonical, cap03.offer-liabilities.synth-textual-offer-id-implementation-defined, cap03.offer-liabilities.synth-textual-offer-id-negative, cap03.offer-liabilities.synth-textual-offer-id-noncanonical, classic.failed-tx.p30-manage-buy-buy-no-trust, classic.failed-tx.p30-manage-buy-buy-not-authorized, classic.failed-tx.p30-manage-buy-cross-self, classic.failed-tx.p30-manage-buy-line-full, classic.failed-tx.p30-manage-buy-low-reserve, classic.failed-tx.p30-manage-buy-not-found, classic.failed-tx.p30-manage-buy-sell-no-trust, classic.failed-tx.p30-manage-buy-sell-not-authorized, classic.failed-tx.p30-manage-buy-underfunded, classic.failed-tx.p30-manage-sell-buy-no-trust, classic.failed-tx.p30-manage-sell-buy-not-authorized, classic.failed-tx.p30-manage-sell-cross-self, classic.failed-tx.p30-manage-sell-line-full, classic.failed-tx.p30-manage-sell-low-reserve, classic.failed-tx.p30-manage-sell-not-found, classic.failed-tx.p30-manage-sell-sell-no-trust, classic.failed-tx.p30-manage-sell-sell-not-authorized, classic.failed-tx.p30-manage-sell-underfundedop.manage_offer.assets_amount_price(33): cap03.offer-liabilities.p17-manage-buy-offer-claim-atom-v0, cap03.offer-liabilities.p17-manage-sell-offer-claim-atom-v0, cap03.offer-liabilities.p30-buy-offer-crosses-and-rests-envelope, cap03.offer-liabilities.p30-buy-offer-near-int64-max-envelope, cap03.offer-liabilities.p30-buy-offer-takes-two-makers-envelope, cap03.offer-liabilities.p30-credit-pair-cross-partial, cap03.offer-liabilities.p30-issuer-sells-own-asset, cap03.offer-liabilities.p30-sell-credit-trustline-liabilities, cap03.offer-liabilities.p30-sell-native-selling-liabilities, cap03.offer-liabilities.p30-update-offer-by-id, classic.failed-tx.p12-manage-buy-offer-buy-no-issuer, classic.failed-tx.p12-manage-buy-offer-sell-no-issuer, classic.failed-tx.p12-manage-sell-offer-buy-no-issuer, classic.failed-tx.p12-manage-sell-offer-sell-no-issuer, classic.failed-tx.p30-manage-buy-buy-no-trust, classic.failed-tx.p30-manage-buy-buy-not-authorized, classic.failed-tx.p30-manage-buy-cross-self, classic.failed-tx.p30-manage-buy-line-full, classic.failed-tx.p30-manage-buy-low-reserve, classic.failed-tx.p30-manage-buy-not-found, classic.failed-tx.p30-manage-buy-sell-no-trust, classic.failed-tx.p30-manage-buy-sell-not-authorized, classic.failed-tx.p30-manage-buy-underfunded, classic.failed-tx.p30-manage-sell-buy-no-trust, classic.failed-tx.p30-manage-sell-buy-not-authorized, classic.failed-tx.p30-manage-sell-cross-self, classic.failed-tx.p30-manage-sell-line-full, classic.failed-tx.p30-manage-sell-low-reserve, classic.failed-tx.p30-manage-sell-not-found, classic.failed-tx.p30-manage-sell-sell-no-trust, classic.failed-tx.p30-manage-sell-sell-not-authorized, classic.failed-tx.p30-manage-sell-underfunded, classic.failed-tx.p30-passive-offer-operation-sourceop.set_options.home_domain(3): classic.max-length.p30-home-domain-32, classic.max-length.p30-home-domain-del-rejected, classic.max-length.p30-home-domain-utf8-rejectedop.set_options.inflation_dest(2): cap26.inflation.p11-inflation-payout, classic.failed-tx.p30-set-options-invalid-inflationop.set_options.signer(24): cap15.fee-bump.p30-inner-bad-auth, cap15.fee-bump.p30-inner-bad-auth-extra, cap33.sponsorship.p30-sponsored-account-entry, cap33.sponsorship.p30-sponsored-signer-envelope, cap40.signed-payload-signer.p28-remove-signer-payload-1-envelope, cap40.signed-payload-signer.p28-set-options-empty-payload, cap40.signed-payload-signer.p28-set-options-payload-1-envelope, cap40.signed-payload-signer.p28-set-options-payload-32-envelope, cap40.signed-payload-signer.p28-set-options-payload-4-envelope, cap40.signed-payload-signer.p28-sponsored-set-options-payload-64-envelope, cap40.signed-payload-signer.p30-remove-signer-payload-1-envelope, cap40.signed-payload-signer.p30-set-options-empty-payload, cap40.signed-payload-signer.p30-set-options-payload-1-envelope, cap40.signed-payload-signer.p30-set-options-payload-32-envelope, cap40.signed-payload-signer.p30-set-options-payload-4-envelope, cap40.signed-payload-signer.p30-sponsored-set-options-payload-64-envelope, cap40.signed-payload-signer.synth-empty-payload-signer, cap40.signed-payload-signer.synth-payload-65-bytes, classic.failed-tx.p30-add-pre-auth-signer-envelope, classic.failed-tx.p30-op-bad-auth, classic.failed-tx.p30-set-options-low-reserve, classic.failed-tx.p30-tx-bad-auth-extra, classic.max-length.p30-account-20-signers, classic.max-length.p30-signer-21-too-manyop.set_options.thresholds_and_flags(4): cap15.fee-bump.p30-inner-bad-auth-extra, classic.failed-tx.p30-set-options-auth-revocable-required, classic.failed-tx.p30-set-options-cant-change, classic.failed-tx.p30-tx-bad-auth-extraop.change_trust.line(9): cap33.sponsorship.p30-sponsored-trustline-envelope, cap38.liquidity-pools.p30-change-trust-pool-byte-order-envelope, cap38.liquidity-pools.p30-change-trust-pool-strkey-order, classic.failed-tx.p12-change-trust-self-not-allowed, classic.failed-tx.p30-change-trust-cannot-delete, classic.failed-tx.p30-change-trust-invalid-limit, classic.failed-tx.p30-change-trust-low-reserve, classic.failed-tx.p30-change-trust-no-issuer, classic.failed-tx.p9-change-trust-native-internal-error-envelopeop.change_trust.line.liquidity_pool(16): cap38.liquidity-pools.p30-asset-trustline-pool-use-count, cap38.liquidity-pools.p30-change-trust-pool-byte-order-envelope, cap38.liquidity-pools.p30-change-trust-pool-strkey-order, cap38.liquidity-pools.synth-assets-code-case, cap38.liquidity-pools.synth-assets-code-padding-length, cap38.liquidity-pools.synth-assets-code-padding-prefix, cap38.liquidity-pools.synth-assets-dotnet257, cap38.liquidity-pools.synth-assets-equal, cap38.liquidity-pools.synth-assets-issuer-high-bit, cap38.liquidity-pools.synth-assets-js1766-issuers, cap38.liquidity-pools.synth-assets-py1246-testnet-pool, cap38.liquidity-pools.synth-assets-type-4-vs-12, cap38.liquidity-pools.synth-assets-type-native, cap38.liquidity-pools.synth-change-trust-strkey-order, classic.failed-tx.p30-change-trust-not-auth-maintain-liabilities, classic.failed-tx.p30-change-trust-trust-line-missingop.change_trust.limit(8): cap38.liquidity-pools.p30-change-trust-pool-byte-order-envelope, cap38.liquidity-pools.p30-change-trust-pool-strkey-order, classic.failed-tx.p12-change-trust-self-not-allowed, classic.failed-tx.p30-change-trust-cannot-delete, classic.failed-tx.p30-change-trust-invalid-limit, classic.failed-tx.p30-change-trust-low-reserve, classic.failed-tx.p30-change-trust-no-issuer, classic.failed-tx.p9-change-trust-native-internal-error-envelopeop.allow_trust(11): cap18.maintain-liabilities.p30-allow-trust-authorize-alphanum4, cap18.maintain-liabilities.p30-allow-trust-authorized-to-maintain-alphanum4, cap18.maintain-liabilities.p30-allow-trust-both-flags, cap18.maintain-liabilities.p30-allow-trust-maintain-to-revoked-alphanum4, cap18.maintain-liabilities.p30-allow-trust-unauthorized-to-maintain-alphanum12, cap18.maintain-liabilities.p30-set-flags-and-allow-trust-maintain, classic.failed-tx.p12-allow-trust-self-not-allowed, classic.failed-tx.p12-allow-trust-trust-not-required, classic.failed-tx.p30-allow-trust-cant-revoke, classic.failed-tx.p30-allow-trust-low-reserve, classic.failed-tx.p30-allow-trust-no-trust-lineop.manage_data.data_name(5): classic.failed-tx.p1-manage-data-not-supported-yet, classic.failed-tx.p30-manage-data-low-reserve, classic.failed-tx.p30-manage-data-name-not-found, classic.failed-tx.p30-manage-data-removed, classic.max-length.p30-data-name-value-64-envelopeop.manage_data.data_value(6): classic.failed-tx.p1-manage-data-not-supported-yet, classic.failed-tx.p30-manage-data-low-reserve, classic.failed-tx.p30-manage-data-name-not-found, classic.failed-tx.p30-manage-data-removed, classic.max-length.p30-data-name-value-64-envelope, classic.max-length.synth-data-value-65-bytesop.bump_sequence.bump_to(9): cap01.bump-sequence.p30-bump-behind, cap01.bump-sequence.p30-bump-forward, cap01.bump-sequence.p30-bump-negative, cap01.bump-sequence.p30-bump-past-starting-sequence, cap01.bump-sequence.p30-bump-then-merge-seqnum-too-far-envelope, cap01.bump-sequence.p30-bump-to-i64-max, cap15.fee-bump.p30-inner-bad-min-seq-gap, cap15.fee-bump.p30-inner-bad-seq, classic.failed-tx.p30-tx-bad-min-seq-gapop.create_claimable_balance.claimants.destination(8): cap23.claimable-balances.p30-create-ten-claimants-depth-4-envelope, cap23.claimable-balances.p30-entry-ten-claimants-depth-4, cap23.claimable-balances.synth-claimants-11, cap27.muxed-accounts.p28-claimable-balance-tx-source-id-1, cap27.muxed-accounts.p30-claimable-balance-tx-source-id-1, classic.failed-tx.p30-create-claimable-balance-low-reserve, classic.failed-tx.p30-create-claimable-balance-not-authorized, classic.failed-tx.p30-create-claimable-balance-underfundedop.create_claimable_balance.claimants.predicate(3): cap23.claimable-balances.p30-create-predicate-depth-5, cap23.claimable-balances.p30-create-ten-claimants-depth-4-envelope, cap23.claimable-balances.p30-entry-ten-claimants-depth-4op.create_claimable_balance.asset_amount(11): cap23.claimable-balances.p30-create-ten-claimants-depth-4-envelope, cap27.muxed-accounts.p28-claimable-balance-tx-source-id-1, cap27.muxed-accounts.p30-claimable-balance-tx-source-id-1, cap33.sponsorship.p30-sponsored-claimable-balance-envelope, cap35.clawback.p30-create-clawback-enabled-balance, cap67.unified-events.p22-backfill-create-claimable-balance, cap67.unified-events.p22-create-claimable-balance, cap67.unified-events.p30-create-claimable-balance, classic.failed-tx.p30-create-claimable-balance-low-reserve, classic.failed-tx.p30-create-claimable-balance-not-authorized, classic.failed-tx.p30-create-claimable-balance-underfundedop.claim_claimable_balance.balance_id(8): cap23.claimable-balances.p30-claim-through-depth-4-envelope, cap67.unified-events.p22-backfill-claim-claimable-balance, cap67.unified-events.p22-claim-claimable-balance, cap67.unified-events.p30-claim-claimable-balance, classic.failed-tx.p30-claim-does-not-exist, classic.failed-tx.p30-claim-line-full, classic.failed-tx.p30-claim-no-trust, classic.failed-tx.p30-claim-not-authorizedop.clawback.from(9): cap27.muxed-accounts.p28-clawback-from-id-2p64-1, cap27.muxed-accounts.p30-clawback-from-id-2p64-1, cap35.clawback.p30-clawback, cap35.clawback.p30-clawback-not-enabled, cap67.unified-events.p22-backfill-clawback, cap67.unified-events.p22-clawback, cap67.unified-events.p30-clawback, classic.failed-tx.p30-clawback-no-trust, classic.failed-tx.p30-clawback-underfundedop.clawback.from.mux_id(2): cap27.muxed-accounts.p28-clawback-from-id-2p64-1, cap27.muxed-accounts.p30-clawback-from-id-2p64-1op.clawback.asset_amount(7): cap35.clawback.p30-clawback, cap35.clawback.p30-clawback-not-enabled, cap67.unified-events.p22-backfill-clawback, cap67.unified-events.p22-clawback, cap67.unified-events.p30-clawback, classic.failed-tx.p30-clawback-no-trust, classic.failed-tx.p30-clawback-underfundedop.clawback_claimable_balance.balance_id(7): cap35.clawback.p30-clawback-claimable-balance-envelope, cap67.unified-events.p22-backfill-clawback-claimable-balance, cap67.unified-events.p22-clawback-claimable-balance, cap67.unified-events.p30-clawback-claimable-balance, classic.failed-tx.p30-clawback-claimable-balance-does-not-exist, classic.failed-tx.p30-clawback-claimable-balance-not-clawback-enabled, classic.failed-tx.p30-clawback-claimable-balance-not-issuerop.set_trust_line_flags(15): cap18.maintain-liabilities.p30-set-flags-and-allow-trust-maintain, cap35.clawback.p30-set-flags-authorized-to-maintain, cap35.clawback.p30-set-flags-clawback-enabled, cap35.clawback.p30-set-flags-reauthorize-clear-clawback, cap38.liquidity-pools.p30-revoke-redeems-pool-shares, cap67.unified-events.p22-backfill-set-authorized-false, cap67.unified-events.p22-backfill-set-authorized-true, cap67.unified-events.p22-set-authorized-false, cap67.unified-events.p22-set-authorized-true, cap67.unified-events.p30-set-authorized-false, cap67.unified-events.p30-set-authorized-true, classic.failed-tx.p30-set-trust-line-flags-cant-revoke, classic.failed-tx.p30-set-trust-line-flags-invalid-state, classic.failed-tx.p30-set-trust-line-flags-low-reserve, classic.failed-tx.p30-set-trust-line-flags-no-trust-lineop.begin_sponsoring.sponsored_id(5): cap15.fee-bump.p30-inner-bad-sponsorship, cap33.sponsorship.p30-sponsored-account-envelope, cap33.sponsorship.p30-sponsored-claimable-balance-envelope, cap33.sponsorship.p30-sponsored-signer-envelope, cap33.sponsorship.p30-sponsored-trustline-envelopeop.revoke_sponsorship(9): cap33.sponsorship.p30-revoke-hash-x-signer-sponsorship-envelope, cap33.sponsorship.p30-revoke-signer-sponsorship-envelope, cap33.sponsorship.p30-revoke-trustline-sponsorship-envelope, cap40.signed-payload-signer.p28-revoke-sponsorship-payload-64-envelope, cap40.signed-payload-signer.p30-revoke-sponsorship-payload-64-envelope, classic.failed-tx.p30-revoke-does-not-exist, classic.failed-tx.p30-revoke-low-reserve, classic.failed-tx.p30-revoke-not-sponsor, classic.failed-tx.p30-revoke-only-transferableop.account_merge.destination(12): cap01.bump-sequence.p30-bump-then-merge-seqnum-too-far-envelope, cap01.bump-sequence.p30-merge-seqnum-too-far, cap03.offer-liabilities.p30-merge-dest-full, cap27.muxed-accounts.p28-account-merge-destination-id-2p53, cap27.muxed-accounts.p30-account-merge-destination-id-2p53, cap67.unified-events.p22-account-merge-muxed-destination, cap67.unified-events.p22-backfill-account-merge-muxed-destination, cap67.unified-events.p30-account-merge-muxed-destination, classic.failed-tx.p30-merge-has-sub-entries, classic.failed-tx.p30-merge-immutable-set, classic.failed-tx.p30-merge-is-sponsor, classic.failed-tx.p30-merge-no-accountop.liquidity_pool_deposit(10): cap38.liquidity-pools.p30-deposit-envelope, cap67.unified-events.p22-backfill-liquidity-pool-deposit, cap67.unified-events.p22-liquidity-pool-deposit, cap67.unified-events.p30-liquidity-pool-deposit, classic.failed-tx.p30-deposit-bad-price, classic.failed-tx.p30-deposit-line-full, classic.failed-tx.p30-deposit-no-trust, classic.failed-tx.p30-deposit-not-authorized, classic.failed-tx.p30-deposit-pool-full, classic.failed-tx.p30-deposit-underfundedop.liquidity_pool_withdraw(5): cap38.liquidity-pools.p30-withdraw-envelope, classic.failed-tx.p30-withdraw-line-full, classic.failed-tx.p30-withdraw-no-trust, classic.failed-tx.p30-withdraw-under-minimum, classic.failed-tx.p30-withdraw-underfundedop.invoke_host_function.invoke_contract.contract_address(21): cap73.sac-trust.p28-trust-again, cap73.sac-trust.p28-trust-envelope, cap73.sac-trust.p28-xlm-transfer-creates-account-envelope, cap73.sac-trust.p30-trust-again, cap73.sac-trust.p30-trust-envelope, cap73.sac-trust.p30-xlm-transfer-creates-account-envelope, cap85.executable-tag.p30-contract-deploys-external-ref-envelope, cap85.executable-tag.p30-echo-executable-tag-value-envelope, cap85.executable-tag.p30-publish-executable-tag, cap85.executable-tag.p30-update-to-external-ref-envelope, sep41.muxed-addresses.p28-credit-mint-to-muxed, sep41.muxed-addresses.p28-credit-transfer-to-muxed, sep41.muxed-addresses.p28-xlm-transfer-to-muxed, sep41.muxed-addresses.p30-credit-mint-to-muxed, sep41.muxed-addresses.p30-credit-transfer-to-muxed, sep41.muxed-addresses.p30-xlm-transfer-to-muxed, soroban.invoke-basics.p30-contract-deploys-with-constructor-envelope, soroban.invoke-basics.p30-failed-events-discarded-envelope, soroban.invoke-basics.p30-failed-trapped-envelope, soroban.invoke-basics.p30-invoke-restored-contract-envelope, soroban.invoke-basics.p30-invoke-temporary-entry-envelopeop.invoke_host_function.invoke_contract.function_name(21): cap73.sac-trust.p28-trust-again, cap73.sac-trust.p28-trust-envelope, cap73.sac-trust.p28-xlm-transfer-creates-account-envelope, cap73.sac-trust.p30-trust-again, cap73.sac-trust.p30-trust-envelope, cap73.sac-trust.p30-xlm-transfer-creates-account-envelope, cap85.executable-tag.p30-contract-deploys-external-ref-envelope, cap85.executable-tag.p30-echo-executable-tag-value-envelope, cap85.executable-tag.p30-publish-executable-tag, cap85.executable-tag.p30-update-to-external-ref-envelope, sep41.muxed-addresses.p28-credit-mint-to-muxed, sep41.muxed-addresses.p28-credit-transfer-to-muxed, sep41.muxed-addresses.p28-xlm-transfer-to-muxed, sep41.muxed-addresses.p30-credit-mint-to-muxed, sep41.muxed-addresses.p30-credit-transfer-to-muxed, sep41.muxed-addresses.p30-xlm-transfer-to-muxed, soroban.invoke-basics.p30-contract-deploys-with-constructor-envelope, soroban.invoke-basics.p30-failed-events-discarded-envelope, soroban.invoke-basics.p30-failed-trapped-envelope, soroban.invoke-basics.p30-invoke-restored-contract-envelope, soroban.invoke-basics.p30-invoke-temporary-entry-envelopeop.invoke_host_function.invoke_contract.args(59): cap67.unified-events.p30-sac-issuer-transfer-to-muxed-contract, cap73.sac-trust.p28-trust-again, cap73.sac-trust.p28-trust-envelope, cap73.sac-trust.p28-xlm-transfer-creates-account-envelope, cap73.sac-trust.p30-trust-again, cap73.sac-trust.p30-trust-envelope, cap73.sac-trust.p30-xlm-transfer-creates-account-envelope, cap84.muxed-contract.p30-issuer-transfer-to-muxed-contract, cap84.muxed-contract.p30-mint-to-muxed-contract-refused, cap84.muxed-contract.p30-xlm-transfer-to-muxed-contract, cap85.executable-tag.p30-contract-deploys-external-ref-envelope, cap85.executable-tag.p30-echo-executable-tag-value-envelope, cap85.executable-tag.p30-publish-executable-tag, cap85.executable-tag.p30-update-to-external-ref-envelope, sep41.muxed-addresses.p28-credit-mint-to-muxed, sep41.muxed-addresses.p28-credit-transfer-to-muxed, sep41.muxed-addresses.p28-xlm-transfer-to-muxed, sep41.muxed-addresses.p30-credit-mint-to-muxed, sep41.muxed-addresses.p30-credit-transfer-to-muxed, sep41.muxed-addresses.p30-xlm-transfer-to-muxed, soroban.events-max.p30-echo-bytes-at-limit, soroban.events-max.p30-echo-bytes-at-limit-over, soroban.events-max.p30-emit-topics-bytes-at-limit, soroban.events-max.p30-emit-topics-bytes-at-limit-over, soroban.invoke-basics.p30-contract-deploys-with-constructor-envelope, soroban.invoke-basics.p30-failed-events-discarded-envelope, soroban.invoke-basics.p30-failed-trapped-envelope, soroban.invoke-basics.p30-invoke-restored-contract-envelope, soroban.invoke-basics.p30-invoke-temporary-entry-envelope, soroban.scval-shapes.p30-errors-auth-crypto-events-envelope, soroban.scval-shapes.p30-integer-extremes-envelope, soroban.scval-shapes.p30-map-depth-max-envelope, soroban.scval-shapes.p30-map-depth-over, soroban.scval-shapes.p30-map-keys-collide-native-envelope, soroban.scval-shapes.p30-map-mixed-keys-sorted-envelope, soroban.scval-shapes.p30-map-mixed-keys-unsorted, soroban.scval-shapes.p30-string-not-utf8-envelope, soroban.scval-shapes.p30-symbol-not-utf8, soroban.scval-shapes.p30-vec-depth-max-envelope, soroban.scval-shapes.p30-vec-depth-over, soroban.scval-shapes.synth-map-address-and-string, soroban.scval-shapes.synth-map-bool-and-text, soroban.scval-shapes.synth-map-bytes-and-string, soroban.scval-shapes.synth-map-js1789-u32-symbol, soroban.scval-shapes.synth-map-keys-addresses, soroban.scval-shapes.synth-map-keys-bytes, soroban.scval-shapes.synth-map-keys-i128, soroban.scval-shapes.synth-map-keys-mixed-types, soroban.scval-shapes.synth-map-keys-symbols, soroban.scval-shapes.synth-map-keys-u64-small-and-object, soroban.scval-shapes.synth-map-keys-vecs, soroban.scval-shapes.synth-map-numeric-types, soroban.scval-shapes.synth-map-u32-string-symbol, soroban.scval-shapes.synth-map-vec-and-string, soroban.scval-shapes.synth-map-void-and-text, soroban.scval-shapes.synth-scmap-depth-197-deepest-accepted, soroban.scval-shapes.synth-scmap-depth-198-over-cap, soroban.scval-shapes.synth-scvec-depth-246-deepest-accepted, soroban.scval-shapes.synth-scvec-depth-247-over-capop.invoke_host_function.upload_wasm(1): soroban.invoke-basics.p30-upload-wasmop.invoke_host_function.create_contract.preimage(8): cap73.sac-trust.p28-deploy-credit-sac-envelope, cap73.sac-trust.p28-deploy-xlm-sac-envelope, cap73.sac-trust.p30-deploy-credit-sac-envelope, cap73.sac-trust.p30-deploy-xlm-sac-envelope, cap85.executable-tag.p30-create-external-ref-envelope, cap85.executable-tag.p30-create-external-ref-missing-tag, soroban.invoke-basics.p30-create-contract-v1-envelope, soroban.invoke-basics.p30-create-contract-v2-constructor-envelopeop.invoke_host_function.create_contract_v2.constructor_args(1): soroban.invoke-basics.p30-create-contract-v2-constructor-envelopeop.invoke_host_function.auth(22): cap71.credentials.p30-address-v2, cap71.credentials.p30-with-delegates-nested, cap71.credentials.p30-with-delegates-unsorted, cap84.muxed-contract.p30-issuer-transfer-to-muxed-contract, cap84.muxed-contract.p30-mint-to-muxed-contract-refused, cap84.muxed-contract.p30-xlm-transfer-to-muxed-contract, soroban.auth-trees.p30-address-credentials, soroban.auth-trees.p30-declared-depth-245, soroban.auth-trees.p30-declared-depth-246, soroban.auth-trees.p30-declared-depth-492, soroban.auth-trees.p30-declared-depth-493, soroban.auth-trees.p30-failed-carries-auth, soroban.auth-trees.p30-fanout-330, soroban.auth-trees.p30-fanout-331-fails, soroban.auth-trees.p30-matched-depth-31, soroban.auth-trees.p30-matched-depth-32-fails, soroban.auth-trees.p30-source-account-credentials, soroban.auth-trees.p30-unmatched-create-claimable-balance-deployer, soroban.auth-trees.p30-unmatched-create-failed-tx, soroban.auth-trees.p30-unmatched-create-success, soroban.auth-trees.synth-auth-depth-493-deepest-accepted, soroban.auth-trees.synth-auth-depth-494-over-capauth.credentials.source_account(4): soroban.auth-trees.p30-source-account-credentials, soroban.auth-trees.p30-unmatched-create-claimable-balance-deployer, soroban.auth-trees.p30-unmatched-create-failed-tx, soroban.auth-trees.p30-unmatched-create-successauth.credentials.address.address(14): cap71.credentials.p30-address-v2, cap71.credentials.p30-with-delegates-nested, cap71.credentials.p30-with-delegates-unsorted, soroban.auth-trees.p30-address-credentials, soroban.auth-trees.p30-declared-depth-245, soroban.auth-trees.p30-declared-depth-246, soroban.auth-trees.p30-declared-depth-492, soroban.auth-trees.p30-declared-depth-493, soroban.auth-trees.p30-failed-carries-auth, soroban.auth-trees.p30-fanout-330, soroban.auth-trees.p30-fanout-331-fails, soroban.auth-trees.p30-matched-depth-31, soroban.auth-trees.p30-matched-depth-32-fails, soroban.auth-trees.p30-unmatched-create-successauth.credentials.address.nonce(14): cap71.credentials.p30-address-v2, cap71.credentials.p30-with-delegates-nested, cap71.credentials.p30-with-delegates-unsorted, soroban.auth-trees.p30-address-credentials, soroban.auth-trees.p30-declared-depth-245, soroban.auth-trees.p30-declared-depth-246, soroban.auth-trees.p30-declared-depth-492, soroban.auth-trees.p30-declared-depth-493, soroban.auth-trees.p30-failed-carries-auth, soroban.auth-trees.p30-fanout-330, soroban.auth-trees.p30-fanout-331-fails, soroban.auth-trees.p30-matched-depth-31, soroban.auth-trees.p30-matched-depth-32-fails, soroban.auth-trees.p30-unmatched-create-successauth.credentials.address.signature_expiration_ledger(14): cap71.credentials.p30-address-v2, cap71.credentials.p30-with-delegates-nested, cap71.credentials.p30-with-delegates-unsorted, soroban.auth-trees.p30-address-credentials, soroban.auth-trees.p30-declared-depth-245, soroban.auth-trees.p30-declared-depth-246, soroban.auth-trees.p30-declared-depth-492, soroban.auth-trees.p30-declared-depth-493, soroban.auth-trees.p30-failed-carries-auth, soroban.auth-trees.p30-fanout-330, soroban.auth-trees.p30-fanout-331-fails, soroban.auth-trees.p30-matched-depth-31, soroban.auth-trees.p30-matched-depth-32-fails, soroban.auth-trees.p30-unmatched-create-successauth.credentials.address.signature(14): cap71.credentials.p30-address-v2, cap71.credentials.p30-with-delegates-nested, cap71.credentials.p30-with-delegates-unsorted, soroban.auth-trees.p30-address-credentials, soroban.auth-trees.p30-declared-depth-245, soroban.auth-trees.p30-declared-depth-246, soroban.auth-trees.p30-declared-depth-492, soroban.auth-trees.p30-declared-depth-493, soroban.auth-trees.p30-failed-carries-auth, soroban.auth-trees.p30-fanout-330, soroban.auth-trees.p30-fanout-331-fails, soroban.auth-trees.p30-matched-depth-31, soroban.auth-trees.p30-matched-depth-32-fails, soroban.auth-trees.p30-unmatched-create-successauth.credentials.address_with_delegates.delegates(2): cap71.credentials.p30-with-delegates-nested, cap71.credentials.p30-with-delegates-unsortedauth.root_invocation(18): cap71.credentials.p30-address-v2, cap71.credentials.p30-with-delegates-nested, soroban.auth-trees.p30-address-credentials, soroban.auth-trees.p30-declared-depth-245, soroban.auth-trees.p30-declared-depth-246, soroban.auth-trees.p30-declared-depth-492, soroban.auth-trees.p30-declared-depth-493, soroban.auth-trees.p30-failed-carries-auth, soroban.auth-trees.p30-fanout-330, soroban.auth-trees.p30-fanout-331-fails, soroban.auth-trees.p30-matched-depth-31, soroban.auth-trees.p30-matched-depth-32-fails, soroban.auth-trees.p30-source-account-credentials, soroban.auth-trees.p30-unmatched-create-claimable-balance-deployer, soroban.auth-trees.p30-unmatched-create-failed-tx, soroban.auth-trees.p30-unmatched-create-success, soroban.auth-trees.synth-auth-depth-493-deepest-accepted, soroban.auth-trees.synth-auth-depth-494-over-capop.extend_footprint_ttl.extend_to(4): soroban.invoke-basics.p30-extend-ttl-envelope, soroban.muxed-source.p28-muxed-and-base-source-one-ledger, soroban.muxed-source.p30-extend-ttl-muxed-source, soroban.muxed-source.p30-extend-ttl-noop-muxed-sourceop.restore_footprint(5): cap66.archival.p30-restore-footprint, soroban.invoke-basics.p30-restore-archived-instance-and-code-envelope, soroban.muxed-source.p28-restore-muxed-source, soroban.muxed-source.p30-restore-muxed-source, soroban.muxed-source.p30-restore-noop-muxed-source
Recommended caps
Each cap below is a bound the network itself guarantees for the data in its "Applies to" column, so applying it to that data never refuses anything core could have put in a ledger. Two caps are exceptions: state_changes.per_tx.query is a serving limit, and xdr.meta.len is a decoder ceiling on one LedgerCloseMeta, whose size no network setting bounds. Apply each cap only to that data: scval.depth covers values in transaction meta, and arguments in an envelope have their own, larger cap, scval.depth.envelope. A value above a cap is malformed or hostile input, unless the cap is marked "network setting" and validators have since changed that setting.
The bounds that matter most:
- Envelope depth. From protocol 28 core rejects with
txMALFORMEDany envelope that its Rust XDR parser cannot read at depth 1000. Before protocol 28 it used a depth check of 500 in its C++ XDR library (validateXDRForProtocol). - ScVal depth. The Soroban host does not produce values nested deeper than
DEFAULT_HOST_DEPTH_LIMIT, 100 (limits.rs). Arguments in an envelope are bounded only by the envelope depth, so a failed transaction can carry deeper ones. - Authorization trees. The host converts declared invocation trees without a depth limit (
AuthorizedInvocation::from_xdr). Only the envelope depth and size bound them, which allows a single chain of 493 levels and up to 2540 invocation nodes in one transaction (auth.invocation.depthandauth.invocation.nodesbelow). - Unbounded XDR vectors.
SCVec,SCMap,SCBytes,SCString, authorization entry lists and sub-invocation lists have no XDR length bound (Stellar-contract.x, Stellar-transaction.x). Their caps below are derived from the transaction size limit.
Decoders differ in what they do by default. rs-stellar-xdr decodes with the Limits the caller passes, and Limits::none() turns off both the depth and the length limit (generated.rs). go-xdr, which go-stellar-sdk uses, defaults to a depth limit of 1500 and caps slice preallocation at 256 elements (decode.go). Whatever the language, pass the caps below explicitly.
Caps marked "network setting" come from CONFIG_SETTING ledger entries that validators can change by vote. The values shown were read from testnet and mainnet on the date listed; read the current values from the network rather than hardcoding them.
When a value is refused
A decoder can refuse a value that is in a ledger, and so can a cap that is applied to the wrong data or that comes from a network setting validators have raised. SDKs add refusals as they fix bugs: from version 17.3.0, js-stellar-sdk's scValToNative() throws a TypeError when two keys of an scvMap convert to the same object property, and its release notes say that humanizeEvents() and contract-client decoding can now throw on data read from the network, because any contract can emit such a map (v17.3.0 release notes, js-stellar-sdk#1789).
Without a plan for refusals, one value can halt an indexer. In wallet-backend, a SetOptions operation that added a signed-payload signer made the database copy fail, the persist rolled back together with the cursor, and ingestion retried the same ledger forever (wallet-backend#729). A muxed Soroban source and its base account produced a duplicate key that stopped ingestion at that ledger after every restart (wallet-backend#753). A muxed contract address failed the whole ledger persist (wallet-backend#792). stellar-etl has an open request for a documented policy for non-conforming events (stellar-etl#467).
Decide the policy before it is needed, and test it:
- Skip and count a single value that exceeds a cap or that a decoder refuses: store the rest of the transaction, record what was skipped and why, and expose the count as a metric.
- Quarantine and continue a transaction that cannot be stored: write it, with the error, to a quarantine table, store the rest of the ledger, advance the cursor, and alert. Reprocess quarantined transactions after a fix.
- Halt only when the ledger itself cannot be read, for example when a
LedgerCloseMetafails to decode within the caps, because skipping it would leave a silent gap.
Caps table
xdr.envelope.depthxdr.envelope.lennetwork setting
CONFIG_SETTING_CONTRACT_BANDWIDTH_V0.txMaxSizeBytes = 132096 on testnet, read 2026-11-12 at ledger 5694341CONFIG_SETTING_CONTRACT_BANDWIDTH_V0.txMaxSizeBytes = 132096 on mainnet, read 2026-11-12 at ledger 65441861TransactionFrame::checkSorobanResources (getSize() > txMaxSizeBytes) = txMaxSizeBytesMAX_CLASSIC_TX_SIZE_BYTES = 102400xdr.meta.depthvalidateXDRForProtocol (rustDepthLimit) = 1000LedgerCloseMeta::V2 -> GeneralizedTransactionSet -> TransactionPhase::V1 -> ParallelTxsComponent -> DependentTxCluster -> TransactionEnvelope = 12 levels above the envelope, measured: depthprobe: deepest valid envelope (997) decodes alone at 997 and inside LedgerCloseMeta V2 at 1009DEFAULT_HOST_DEPTH_LIMIT = 100xdr.meta.lenDEFAULT_XDR_RW_LIMITS.len = 32 * 1024 * 1024scval.depthDEFAULT_HOST_DEPTH_LIMIT = 100Host::from_host_val and Host::to_host_val (with_limited_depth per nested Val) = one level per ScValscval.depth.envelopevalidateXDRForProtocol (rustDepthLimit) = 1000ReadXdr for ScVal, Option<ScVec>, ScVec, VecM (one with_limited_depth each) = 4 levels per ScVec nesting, 5 per ScMap nesting, measured: depthprobe: largest ScVec nesting in an InvokeContract argument that decodes at depth 1000scval.vec.lennetwork setting
CONFIG_SETTING_CONTRACT_BANDWIDTH_V0.txMaxSizeBytes = 132096 on mainnet, read 2026-11-12 at ledger 65441861ScVal::Void encoding = 4 bytes, measured: depthprobe: ScVal::Void.to_xdr()typedef SCVal SCVec<> = unboundedscval.map.lennetwork setting
CONFIG_SETTING_CONTRACT_BANDWIDTH_V0.txMaxSizeBytes = 132096 on mainnet, read 2026-11-12 at ledger 65441861ScMapEntry { key: Void, val: Void } encoding = 8 bytes, measured: depthprobe: ScMapEntry.to_xdr()typedef SCMapEntry SCMap<> = unboundedscval.bytes.lennetwork setting
CONFIG_SETTING_CONTRACT_BANDWIDTH_V0.txMaxSizeBytes = 132096 on mainnet, read 2026-11-12 at ledger 65441861CONFIG_SETTING_CONTRACT_DATA_ENTRY_SIZE_BYTES = 65536 on mainnet, read 2026-11-12 at ledger 65441861CONFIG_SETTING_CONTRACT_EVENTS_V0.txMaxContractEventsSizeBytes = 16384 on mainnet, read 2026-11-12 at ledger 65441861typedef opaque SCBytes<>; typedef string SCString<> = unboundedscval.symbol.lenSCSYMBOL_LIMIT = 32auth.invocation.depthvalidateXDRForProtocol (rustDepthLimit) = 1000ReadXdr for SorobanAuthorizedInvocation and VecM (one with_limited_depth each) = 2 levels per invocation, measured: depthprobe: deepest single-chain invocation tree in an InvokeHostFunction auth entry that decodes at depth 1000AuthorizedInvocation::from_xdr (recursion without a depth limiter) = no host depth checkwith_frame_and_initial_mem_charge (context stack >= DEFAULT_HOST_DEPTH_LIMIT) = 100auth.invocation.nodesnetwork setting
CONFIG_SETTING_CONTRACT_BANDWIDTH_V0.txMaxSizeBytes = 132096 on mainnet, read 2026-11-12 at ledger 65441861minimal node: ContractFn, ScAddress::Contract, empty symbol, no args, no children = 52 bytes, measured: depthprobe: encoded size difference per added node is 56 bytes with a 1-byte symbol (4 bytes of padded name), so 52 with an empty symboltypedef SorobanAuthorizationEntry SorobanAuthorizationEntries<>; SorobanAuthorizedInvocation subInvocations<> = unboundedevents.contract.bytes_per_txnetwork setting
CONFIG_SETTING_CONTRACT_EVENTS_V0.txMaxContractEventsSizeBytes = 16384 on testnet, read 2026-11-12 at ledger 5694341CONFIG_SETTING_CONTRACT_EVENTS_V0.txMaxContractEventsSizeBytes = 16384 on mainnet, read 2026-11-12 at ledger 65441861InvokeHostFunctionApplyHelper (mEmitEventByte > txMaxContractEventsSizeBytes) = INVOKE_HOST_FUNCTION_RESOURCE_LIMIT_EXCEEDEDevents.contract.per_txnetwork setting
CONFIG_SETTING_CONTRACT_EVENTS_V0.txMaxContractEventsSizeBytes = 16384 on mainnet, read 2026-11-12 at ledger 65441861minimal ContractEvent (no contract id, no topics, void data) = 24 bytes, measured: depthprobe: ContractEvent.to_xdr()events.contract.per_ledgernetwork setting
CONFIG_SETTING_CONTRACT_EXECUTION_LANES.ledgerMaxTxCount = 2000 on mainnet, read 2026-11-12 at ledger 65441861CONFIG_SETTING_CONTRACT_EXECUTION_LANES.ledgerMaxTxCount = 2000 on testnet, read 2026-11-12 at ledger 5694341events.contract.bytes_per_ledgernetwork setting
CONFIG_SETTING_CONTRACT_EXECUTION_LANES.ledgerMaxTxCount = 2000 on mainnet, read 2026-11-12 at ledger 65441861CONFIG_SETTING_CONTRACT_EVENTS_V0.txMaxContractEventsSizeBytes = 16384 on mainnet, read 2026-11-12 at ledger 65441861soroban.footprint.entriesnetwork setting
protocol 23 and later
CONFIG_SETTING_CONTRACT_LEDGER_COST_EXT_V0.txMaxFootprintEntries = 400 on testnet, read 2026-11-12 at ledger 5694341CONFIG_SETTING_CONTRACT_LEDGER_COST_EXT_V0.txMaxFootprintEntries = 400 on mainnet, read 2026-11-12 at ledger 65441861TransactionFrame::checkSorobanResources (totalReads > txMaxFootprintEntries from protocol 23) = txMaxFootprintEntriessoroban.footprint.write_entriesnetwork setting
CONFIG_SETTING_CONTRACT_LEDGER_COST_V0.txMaxWriteLedgerEntries = 200 on mainnet, read 2026-11-12 at ledger 65441861TransactionFrame::checkSorobanResources (writeEntries.size() > txMaxWriteLedgerEntries) = txMaxWriteLedgerEntriessoroban.contract_data.entry_bytesnetwork setting
CONFIG_SETTING_CONTRACT_DATA_ENTRY_SIZE_BYTES = 65536 on testnet, read 2026-11-12 at ledger 5694341CONFIG_SETTING_CONTRACT_DATA_ENTRY_SIZE_BYTES = 65536 on mainnet, read 2026-11-12 at ledger 65441861validateContractLedgerEntry (maxContractDataEntrySizeBytes < entrySize) = maxContractDataEntrySizeBytessoroban.contract_data.key_bytesnetwork setting
CONFIG_SETTING_CONTRACT_DATA_KEY_SIZE_BYTES = 250 on mainnet, read 2026-11-12 at ledger 65441861TransactionFrame::checkSorobanResources (xdr_size(key) > maxContractDataKeySizeBytes) = maxContractDataKeySizeBytessoroban.contract_code.bytesnetwork setting
CONFIG_SETTING_CONTRACT_MAX_SIZE_BYTES = 131072 on testnet, read 2026-11-12 at ledger 5694341CONFIG_SETTING_CONTRACT_MAX_SIZE_BYTES = 131072 on mainnet, read 2026-11-12 at ledger 65441861validateContractLedgerEntry (maxContractSizeBytes < entrySize) = maxContractSizeBytessoroban.txs.per_ledgernetwork setting
CONFIG_SETTING_CONTRACT_EXECUTION_LANES.ledgerMaxTxCount = 2000 on testnet, read 2026-11-12 at ledger 5694341CONFIG_SETTING_CONTRACT_EXECUTION_LANES.ledgerMaxTxCount = 2000 on mainnet, read 2026-11-12 at ledger 65441861state_changes.per_tx.queryclaim_predicate.depthclaimants.per_balancepath.lenoffers.crossed.per_opprotocol 11 and later
MAX_OFFERS_TO_CROSS = 1000maxOffersToCross (one budget for the whole operation, decremented per hop) = 1000convertWithOffers (maxOffersToCross == INT64_MAX before protocol version 11) = unbounded before protocol 11tx.operationsMAX_OPS_PER_TX = 100tx.signaturestx.extra_signerstx.memo_text.lenMemo text<28> = 28signer.signed_payload.lenaccount.signersMAX_SIGNERS = 20account.subentriesprotocol 11 and later
ledger.upgradesStellarValue upgrades<6>; typedef opaque UpgradeType<128> = 6 entries of at most 128 bytesParticipants from meta, not from the envelope
The envelope names who a transaction meant to involve. Transaction meta records which ledger entries actually changed. A participant set built from the envelope goes wrong in four ways:
- It includes accounts that were never touched. A failed transaction is still in the ledger with every account its envelope names. Claimants of a claimable balance need not exist (
CreateClaimableBalanceOpFrame::doCheckValid), footprint keys need not exist, and a declared authorization entry that no call matched was never checked (see the field table). - It misses accounts that were touched. The Stellar Asset Contract's
trustfunction creates a trustline without emitting an event, and an XLM transfer through it can create an account (CAP-73). Contract calls change balances and data of accounts and contracts that no envelope field names. - It names the same account twice. A muxed source and its base
Gaccount are one account (toAccountID). Keeping both as participants produced the duplicate key in wallet-backend#753. - It treats declared intent as a fact. wallet-backend emitted contract-creation state changes from declared authorization entries whether or not the deployment ran (wallet-backend#746), and later moved Soroban participants to executed meta (commit 9538b3c).
Every ledger change a transaction makes is in one of these places (Stellar-ledger.x):
feeProcessingin each transaction's result meta: the fee charge, which happens even when the transaction fails.txChangesBefore, the changes of each operation, andtxChangesAfterinTransactionMeta.postTxApplyFeeProcessinginTransactionResultMetaV1: Soroban fee refunds from protocol 23.- Events: contract events, and from
TransactionMetaV4(protocol 23) the per-operation events and the transaction-level fee events of CAP-67.
Read all of them. In go-stellar-sdk, LedgerTransaction.GetChanges() returns the transaction and operation changes but not the fee changes, which come from GetFeeChanges() and GetPostApplyFeeChanges() (ledger_transaction.go).
To build a transaction's participant set:
- Take the owner of every ledger entry that changed in the places above, keyed by base account (
G), contract (C), liquidity pool (L) or claimable balance (B). - Add the addresses in event topics and data, reduced to their base account or contract, with mux ids recorded separately.
- Keep envelope accounts that do not appear in meta, if you need them, in a separate "declared" set, and never merge the two.
Muxed and signed-payload addresses
Strkey forms
SEP-23 defines ten strkey forms. The first character is set by the top 5 bits of the version byte; the low 3 bits select the algorithm, ed25519 or SHA-256, both 0 today. The binary form is the version byte, the payload, and a 2-byte CRC16 checksum, encoded as base32 without padding.
| Prefix | SEP-23 type | Version byte | Payload | Where it appears in ledger data | How to store it |
|---|---|---|---|---|---|
G | STRKEY_PUBKEY | 6 << 3 | 32-byte ed25519 public key | AccountID, the plain arm of MuxedAccount, ed25519 signer keys, account ScAddress | 32 key bytes with the key type |
M | STRKEY_MUXED | 12 << 3 | 32-byte ed25519 key, then 8-byte id, most significant byte first | MuxedAccount (CAP-27, protocol 13), muxed account ScAddress (CAP-67, protocol 23) | base G key, and the id as an unsigned 64-bit value in its own column |
S | STRKEY_PRIVKEY | 18 << 3 | 32-byte ed25519 secret seed | a secret key, used to sign | never store; treat one in ledger-derived data as a bug |
T | STRKEY_PRE_AUTH_TX | 19 << 3 | 32-byte transaction hash | pre-authorized transaction signer keys | signer column, with the key type |
X | STRKEY_HASH_X | 23 << 3 | 32-byte SHA-256 hash | hash-x signer keys | signer column, with the key type |
P | STRKEY_SIGNED_PAYLOAD | 15 << 3 | 32-byte ed25519 key, 4-byte payload length, 1 to 64 payload bytes, zero padding to a multiple of 4 | signed-payload signer keys (CAP-40, protocol 19) | signer column wide enough for the whole payload |
C | STRKEY_CONTRACT | 2 << 3 | 32-byte contract id | contract ScAddress, ContractID | 32 bytes with the address type |
L | STRKEY_LIQUIDITY_POOL | 11 << 3 | 32-byte pool id | PoolID, liquidity pool ScAddress (CAP-67) | 32 bytes with the address type |
B | STRKEY_CLAIMABLE_BALANCE | 1 << 3 | 1-byte balance id type (0 for V0), then 32-byte hash | ClaimableBalanceID, claimable balance ScAddress (CAP-67) | 33 bytes, type byte included |
W | STRKEY_MUXED_CONTRACT | 22 << 3 | 32-byte contract id, then 8-byte id, most significant byte first | muxed contract ScAddress (CAP-84, protocol 30) | contract C id, and the id as an unsigned 64-bit value in its own column |
The XDR types behind these forms are MuxedAccount (Stellar-transaction.x), SignerKey (Stellar-types.x), PoolID and ClaimableBalanceID (Stellar-types.x) and SCAddress with its six address types (Stellar-contract.x).
SEP-23 requires decoders to reject a strkey that does not re-encode to the same string, including lengths congruent to 1, 3 or 6 mod 8, nonzero unused bits and padding characters. SEP-23 names Go's base32.StdEncoding.WithPadding(base32.NoPadding) as a base32 decoder that accepts those inputs, so check them yourself or round-trip every decoded strkey.
Storing muxed addresses
Store the base account and the mux id separately. Core never validates or stores a mux id (see Fields core never checks), so the account that exists on the ledger is the G key. Key balances, trustlines and participants by the base key, and keep the id in a separate column. The id is an unsigned 64-bit value: the SEP-23 test vectors include id 9223372036854775808, above the largest signed 64-bit integer. Store it as an unsigned 64-bit integer or a decimal string. wallet-backend stores it as a decimal string so that ids above 2^63-1 round-trip (toMuxedIDValue).
Never truncate. An M or W payload is 40 bytes. Fitting it into a 32-byte column either fails the write or silently produces rows that do not decode back (wallet-backend#716). wallet-backend now reduces M and W addresses to their 32-byte base key and rejects any other payload length rather than truncating it (AddressBytea.Value).
Build strkeys from parsed fields, not from XDR bytes. XDR puts the id first: MuxedAccount has { id, ed25519 } and MuxedContract has { id, contractId }. The strkey payload puts the key first and the id last. Copying the XDR bytes into a strkey yields a valid-looking address for the wrong key.
Read the destination id of a transfer from its event. From protocol 23 classic and Stellar Asset Contract transfer and mint events carry the destination's id in a to_muxed_id field of the event data (CAP-67), and from protocol 30 a transfer to a W address carries the contract as the destination and the id in to_muxed_id (CAP-84). For a classic payment to a plain G account the same field holds the transaction memo instead, as a string, a u64 or bytes (makeClassicMemoSCVal), so check its type before treating it as an id.
Storing signed-payload signers
Store the full payload with its length. In strkey form a signed-payload key is a 32-byte ed25519 key, a 4-byte length and 1 to 64 payload bytes padded to a multiple of 4, 40 to 100 bytes in all, so it does not fit an account column. wallet-backend stores signer keys as the version byte plus the full payload, 33 bytes for G, T and X keys and up to 101 bytes for P keys, and rejects any other key type in a signer column (SignerKeyBytea, wallet-backend#729). Two P signers over the same ed25519 key with different payloads are different signers, and both differ from the plain G signer of that key.
Do not treat a signed-payload signature as transaction-specific. It signs only the payload (see Signatures and hints), so the same signature can authorize transactions on any network.
Take signer sets from meta. A SetOptions signer and a revoked signer sponsorship are requests that can fail, and an extra signer in preconditions never becomes an account signer. The account entry in meta shows the signers an account has.
Self-audit checklist
Use this list to review an indexer in any language. The first three items are the rules of indexerlint, the shapekit analyzer for Go indexers built on go-stellar-sdk, with the rule IDs and wording it prints.
-
IDX001unvalidated-field-trusted: a transaction field that stellar-core does not validate is trusted without a check. Before you store, key, display or convert to text any field listed as not validated in the field table, validate it yourself (length, encoding, range) or confirm it against what the transaction meta and events say actually happened. -
IDX002missing-depth-or-size-cap: a recursive or length-prefixed xdr structure is walked or decoded without a depth or size cap. Decode external XDR with an explicit depth limit and a length limit no larger than the input buffer, carry a depth counter through every recursive walk of ScVal, auth invocation and claim predicate trees, and check each decoded length against the cap in the caps table before allocating or iterating. -
IDX003participants-from-envelope: participants are derived from the transaction envelope instead of meta changes or events. Build each transaction's participant set from the ledger entry changes (fee changes included) and events in its meta, and treat accounts named only in the envelope as declared intent, not participation. - Muxed accounts are stored as a base account plus an id. Every M address is reduced to its 32-byte G key for account identity, and its 64-bit id is kept in a separate unsigned 64-bit column or as a decimal string. No column truncates an M address to 32 bytes. Fields:
tx.source_account.mux_id,op.source_account.mux_id,feebump.fee_source.mux_id,op.payment.destination.mux_id,op.path_payment.destination.mux_id,op.clawback.from.mux_id. Sources: SEP-23, wallet-backend#716. - Muxed contract (W) addresses are handled. From protocol 30 an ScAddress can be a muxed contract. Its contract id (C) and its 64-bit id are stored separately, and a W address anywhere in events or arguments does not fail the ledger. Sources: CAP-84, wallet-backend#792.
- Signer keys keep their type and full payload. Signer columns store the key type with the key, and are wide enough for a signed-payload (P) key with a 64-byte payload. Signers are never stored in an account column. Fields:
signer_key.signed_payload.payload,op.set_options.signer,tx.cond.extra_signers,op.revoke_sponsorship. Caps:signer.signed_payload.len. Sources: wallet-backend#729. - Strkeys and textual ids are decoded strictly. Strkey decoding rejects every form SEP-23 lists as invalid, and a textual mux id or offer id is accepted only in its canonical decimal form. Fields:
tx.source_account.mux_id,op.manage_offer.offer_id. Sources: SEP-23, js-stellar-sdk#1785. - 64-bit ids stay exact. Mux ids and memo ids are unsigned 64-bit values and can exceed 2^63-1. They are not stored in signed 64-bit columns or converted to floating point numbers, and amounts are never stored as floats. Fields:
tx.memo.id,tx.source_account.mux_id,op.manage_offer.offer_id,op.payment.amount. - Memo text is stored as bytes. MEMO_TEXT is kept as its raw bytes (at most 28). If a text form is needed, UTF-8 is validated explicitly and the raw bytes are kept alongside it. Fields:
tx.memo.text. Caps:tx.memo_text.len. Sources: js-stellar-sdk#1823. - Ordering follows the network's rules. Liquidity pool assets are ordered by asset type, raw code bytes and raw issuer key bytes, never by strkey text. Code that sorts or checks ScMap keys uses the Soroban host's ScVal comparison, not string order and not XDR byte order. Fields:
op.change_trust.line.liquidity_pool,op.invoke_host_function.invoke_contract.args. Sources: js-stellar-sdk#1766. - Failed transactions are not treated as effects. An envelope value is only treated as having taken effect when the transaction result and the operation result are successes. For a failed transaction only the fee changes in meta are recorded as effects. Fields:
tx.signatures,op.payment.destination,op.invoke_host_function.invoke_contract.contract_address. - Caps are applied when decoding. Every XDR decode of external input sets an explicit depth limit and a length limit no larger than the input buffer, using the caps in the table. A decoder is never run with its limits turned off. Caps:
xdr.envelope.depth,xdr.envelope.len,xdr.meta.depth,xdr.meta.len. - Serving limits stay at query time. Limits that protect an API, such as rows per transaction on a history page, are applied when serving. Ingestion stores every row. Caps:
state_changes.per_tx.query. - Caps that come from network settings are re-read. Caps marked as network settings are read from the CONFIG_SETTING ledger entries the network currently uses, not hardcoded, because validators can change them by vote. Caps:
xdr.envelope.len,soroban.footprint.entries,soroban.contract_data.entry_bytes,events.contract.bytes_per_tx. - There is a written refusal policy. For every place a decoder can throw or a value can exceed a cap, the indexer has a tested, documented choice: skip the value and count it, quarantine the transaction, or halt. Nothing is dropped without being counted, and SDK upgrades are checked for new refusals. Sources: js-stellar-sdk 17.3.0 release notes, stellar-etl#467.
- One poison transaction cannot stop ingestion. When a single transaction cannot be stored, the indexer records it in a quarantine with the error, stores the rest of the ledger, advances the cursor and alerts, instead of retrying the same ledger forever. Sources: wallet-backend#729, wallet-backend#753.
- Soroban invocations before protocol 25 can carry a memo or a muxed source. Code that handles INVOKE_HOST_FUNCTION transactions accepts a memo and muxed source accounts in ledgers before protocol 25, where the rule was only a transaction queue policy. Fields:
tx.memo.type,tx.source_account.mux_id,op.source_account.mux_id.
Generated from docs/guide/indexer-hardening.mdx
Edit on GitHub