02Sheet 02.03.155 · Entries

MANAGE_BUY_OFFER fails with BUY_NOT_AUTHORIZED (protocol 22, mainnet)

The offer would buy an asset whose issuer has not authorized the account's trustline: buy_not_authorized.

FIG. · Where it sits · inside LedgerCloseMetapre-cap · H-C1 · H-C10
ManageBuyOfferResult.MANAGE_BUY_OFFER_BUY_NOT_AUTHORIZED on mainnet
an offer refused because the buying trustline is not authorized

The shape

The offer would buy an asset whose issuer has not authorized the account's trustline: buy_not_authorized. Readers that assume a trustline is usable once it exists miss the authorization flags.

Variants

VariantProtocolNetworkSourceSizesha256
p22-mainnet-mined-l56085459P22mainnet passphrasemined from history1,713,432 Bba8961760204…

What a correct reader returns

A correct reader findsValueBacked by
The operation fails with buy_not_authorized.buy_not_authorizedsnapshotcorewalker

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.manage-buy-offer.buy-not-authorized-p22 · compiled from catalog/failure.manage-buy-offer.buy-not-authorized-p22.json · entry.json

On this page