read_swap_offer
Reads a swap offer's terms directly from its transaction—gives, wants, carried coins, and bound status—and rejects non-plain swap halves so you can verify terms before taking the offer.
Instructions
A swap settles two shielded tokens between two wallets without a contract: each side builds one half (it spends the coin it gives and creates the coin it wants), the two mirrored halves merge into one transaction, and a sponsor pays the fee. This reads what an offer gives and wants FROM THE TRANSACTION it carries, never from what its maker says: gives / wants (token type and amount, from the maker's side), the coins it carries, and whether it is bound. Refuses anything that is not a plain swap half (a contract call, unshielded value, more than one token type given or wanted). Needs no wallet and no network. Check the terms here before take_swap_offer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offer | Yes | The offer: offer file text (swapoffer1...) or base64 of the serialized, proven transaction |