ACCOUNT has none of these entries, so each example below defines a
real Testnet address that has them.
Claimable balances
role=claimant(default) lists balances the address can claim;role=sponsorlists balances it sponsors (the reserve payer).- Each claimant has a
predicatetree in Stellar’s shape (unconditional,and,or,not,abs_before), with absolute times as both an ISO time and a Unixabs_before_epoch. The example reads “claimable after 14:39 UTC”. claimable_nowis evaluated atread_view.as_of_closed_at. On the record it answers for the requested address (role=claimantonly).- Records are sorted by
balance_id.
Offers
offer_id. price is
price_n / price_d units of buying per unit of selling, rounded to 7
places; use price_n and price_d for exact math. flags is the offer flags
bitmask (1 is passive). The amount of each offer is the selling_liabilities
shown on holdings: 162,894 CETES here.
Allowances
role=owner(default) lists allowances the address granted;role=spenderlists allowances it can use. Records are sorted bycontract_id, then by the other party.- Allowances are temporary ledger entries. An absent or expired allowance is 0.
Expired ones are listed (with
expired: trueand amount 0) only withinclude=expired. - Allowances cannot be rebuilt from events, so they come only from state.
sourceisledger_entryfor SAC (classic asset) allowances andtoken_storagefor custom tokens.verified: falsemeans the custom token’s storage layout is not recognized, so treat the amount as a best-effort reading. - An unlimited approval is the i128 maximum:
amount_raw170141183460469231731687303715884105727, which a 7-decimal token shows as17014118346046923173168730371588.4105727. Show it as “unlimited” and never add it up or convert it to a float.
Parameters
limit defaults to 50 and is lowered to 200 above that. Any other parameter or
value returns 400 invalid_request. These routes do not take as_of_ledger.
Errors
See errors.
Next
- Holdings: spendable amounts after liabilities.
- Token registry: name and flags of each asset.