02Sheet 02.03.126 · Entries

A classic payment emits a transfer event (CAP-0067)

Since CAP-0067, classic operations emit the same events as the Stellar Asset Contract: a native payment emits transfer with from, to and the asset.

FIG. · Where it sits · inside LedgerCloseMetaCAP-0067 · H-E1
PaymentOp emits a CAP-0067 transfer event

The shape

Since CAP-0067, classic operations emit the same events as the Stellar Asset Contract: a native payment emits transfer with from, to and the asset. Readers that take payments only from operations, or only from Soroban events, double-count or miss them.

Variants

VariantProtocolNetworkSourceSizesha256
p30-mainnet-generatedP30mainnet passphrasegenerated by stellar-core v30.0.02,180 B7436cc49fd42…
p30-testnet-generatedP30testnet passphrasegenerated by stellar-core v30.0.02,180 Bc3e1a359435c…

What a correct reader returns

A correct reader findsValueBacked by
The operation emits a transfer event from alice to bob in native.some change where 4 fields matchsnapshotcorewalker
The amount is 1 XLM (10,000,000 stroops) as an i128.some change where 1 fields matchconstructionsnapshotcorewalker
The transaction-level events carry the fee charge.some change where 1 fields matchsnapshotcorewalker

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 walker

Entry id event.classic.payment-transfer · compiled from catalog/event.classic.payment-transfer.json · entry.json

On this page