Get Offer
Get offer details given an offer ID.
Request:
- requestType is getOffer
- offer is the offer ID
- requireBlock is the block ID of a block that must be present in the blockchain during execution (optional)
- requireLastBlock is the block ID of a block that must be last in the blockchain during execution (optional)
Response:
- sellOffer and buyOffer (O) are objects with the following fields:
- offer (S) is the offer ID
- expirationHeight (N) is the blockchain height of offer expiration
- accountRS (S) is the Reed-Solomon address of the offering account
- limit (S) is the cumulative limit of currency buys or sells
- currency (S) is the currency ID
- supply (S) is the current currency supply
- account (S) is the offering account number
- height (N) is the blockchain height of offer creation
- rateTQT (S) is the currency exchange rate (in TQT per QNT)
- lastBlock (S) is the last block ID on the blockchain (applies if requireBlock is provided but not requireLastBlock)
- requestProcessingTime (N) is the API request processing time (in millisec)