CREATE_PASSIVE_SELL_OFFER returns a MANAGE_SELL_OFFER result
The operation is create_passive_sell_offer, but core turns it into a manage-sell-offer internally (CreatePassiveSellOfferOpFrame.cpp:13), so the result arm is manage_sell_offer.
The shape
The operation is create_passive_sell_offer, but core turns it into a manage-sell-offer internally (CreatePassiveSellOfferOpFrame.cpp:13), so the result arm is manage_sell_offer. Readers that pair results with operations by type break on every passive offer.
Variants
| Variant | Protocol | Network | Source | Size | sha256 |
|---|---|---|---|---|---|
p30-mainnet-generated | P30 | mainnet passphrase | generated by stellar-core v30.0.0 change order varies: 5 orderings in 20 runs | 14,268 B | 06ee8ae31b00… |
p30-testnet-generated | P30 | testnet passphrase | generated by stellar-core v30.0.0 change order varies: 2 orderings in 2 runs | 14,268 B | 422cec0f73f1… |
What a correct reader returns
| A correct reader finds | Value | Backed by |
|---|---|---|
| The operation body is create_passive_sell_offer. p30-mainnet-generated | 100000000 | constructionsnapshotcorewalker |
| The operation body is create_passive_sell_offer. p30-testnet-generated | 100000000 | constructionsnapshotcorewalker |
| The result arm is manage_sell_offer, and the offer is created. p30-mainnet-generated | length 0 | snapshot |
| The result arm is manage_sell_offer, and the offer is created. p30-testnet-generated | length 0 | snapshot |
Check it yourself
make verify # schema, hashes, the byte-for-byte round trip and every fact above
make oracle # the facts' values, re-read by stellar-core and the schema walkerEntry id result.passive-offer-returns-manage-sell-offer · compiled from catalog/result.passive-offer-returns-manage-sell-offer.json · entry.json
An operation whose source account was merged earlier in the ledger fails opNO_ACCOUNT
Core applies a ledger's classic phase before its Soroban phase and re-checks the source account, sequence number, signatures and sequence-age preconditions at apply (TransactionFrame::commonValid;…
CREATE_ACCOUNT: the new account appears as a CREATED entry and as a CAP-0067 transfer event
Two CREATE_ACCOUNT operations in one transaction, each funding a new account with 1000 XLM.