Skip to main content
Public namespace claims pay a fee upfront into the Allocator. This fee applies to a namespace such as yourbrand. Prices for names beneath it, such as alice.yourbrand, use the separate native claim interface. Read the quote before preparing an announcement. After settlement, use the receipt and credit routes to check the outcome. All claim-fee routes use Cache-Control: no-store.

Quote

Reads the Allocator’s current claim_fee_policy and checks its token against the API deployment’s accepted configuration. The current testnet policy uses native XLM. Other deployments can explicitly configure a different accepted token; an unexpected token fails the read. One XLM is 10,000,000 base units. The response’s refundBps object gives each outcome’s refund rate: See claim outcomes for what each outcome means. Verify the policy independently on chain before signing a payment authorization.

Prepare a paid announcement

This route requires an authenticated wallet session:
Replace every uppercase placeholder with the corresponding quote value. basis is an array of up to 16 nonempty strings, each at most 120 characters. Omitting it uses an empty array. The response contains ok, unsigned xdr, claimant, fee and network. The claimant is the authenticated wallet. Preparing the transaction does not submit the announcement or collect the fee. Before signing, independently verify the network, Allocator, claimant, label, evidence, exact quoted-token transfer and accepted network-fee ceiling. The API checks that expectedFee matches the current quote, but that check does not replace your wallet’s transaction review.

Receipt

Returns label, current policy and a nullable receipt. A receipt contains: All amounts are decimal strings. Entitlements do not prove that every transfer was delivered; check available credit when a payout is undelivered. A new claim for the same label can replace the current receipt. Use archived fee events for earlier claims. Invalid labels return 400 bad_label.

Recover an undelivered payout

Read available credit

Returns address, available amount in decimal-string base units and current policy. Use the G or C payee address recorded by the contract.

Prepare recovery

Replace the placeholder with a funded G transaction-source account. A successful response adds source, unsigned xdr and network to the credit result. The transaction calls claim_fee_credit(address) and always pays the recorded payee, even when the transaction source differs. Review and sign the transaction with a network-fee ceiling. Invalid sources return 400 wallet_required; zero available credit returns 409 no_credit. The contract also exposes fee_credit, claim_fee_credit and touch_fee_credit directly. Objection bond credit uses separate accounting. Reserved direct Registry claims are exempt from this fee and do not create paid Allocator receipts.

Unavailable fee reads

An unconfigured fee policy returns 409 claim_fee_not_configured. Failed reads, invalid responses and token mismatches return 503 with an error code. A failed read does not establish a zero fee or zero credit.