02Sheet 02.03.139 · Entries

CLAIM_CLAIMABLE_BALANCE fails with CLAIM_CLAIMABLE_BALANCE_CANNOT_CLAIM

A transaction whose CLAIM_CLAIMABLE_BALANCE operation fails at apply is still written into the closed ledger: its fee is charged, its sequence number is consumed, and none of its operations change state.

FIG. · Where it sits · inside LedgerCloseMetaCAP-0023 · H-C1
OperationResult.claim_claimable_balance.cannot_claim in a closed ledger

The shape

A transaction whose CLAIM_CLAIMABLE_BALANCE operation fails at apply is still written into the closed ledger: its fee is charged, its sequence number is consumed, and none of its operations change state. The result carries the operation's result code (cannot_claim). Readers that skip failed transactions lose the fee and sequence change; readers that assume a failed transaction changed something record effects that never happened.

Variants

VariantProtocolNetworkSourceSizesha256
p30-mainnet-generatedP30mainnet passphrasegenerated by stellar-core v30.0.015,640 B820df22c8284…
p30-testnet-generatedP30testnet passphrasegenerated by stellar-core v30.0.015,640 Bca7d8dc009b7…

What a correct reader returns

A correct reader findsValueBacked by
The operation fails with cannot_claim.
p30-mainnet-generated
cannot_claimconstructionsnapshotcorewalker
The operation fails with cannot_claim.
p30-testnet-generated
cannot_claimconstructionsnapshotcorewalker
No operation changed state: the operation meta is empty.
p30-mainnet-generated
length 0snapshot
No operation changed state: the operation meta is empty.
p30-testnet-generated
length 0snapshot
The sequence number is still consumed: the source account changes before apply (state, updated).
p30-mainnet-generated
length 2snapshot
The sequence number is still consumed: the source account changes before apply (state, updated).
p30-testnet-generated
length 2snapshot
The fee is still charged: the fee source changes in fee processing.
p30-mainnet-generated
length 2snapshot
The fee is still charged: the fee source changes in fee processing.
p30-testnet-generated
length 2snapshot

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 failure.claim-claimable-balance.cannot-claim · compiled from catalog/failure.claim-claimable-balance.cannot-claim.json · entry.json

On this page