Method: POST book_offers
The book_offers method retrieves a list of offers, also known as the order book , between two currencies.
ledger_hash - String
(Optional) A 20-byte hex string for the ledger version to use.
ledger_index - String or Unsigned Integer
(Optional) The ledger index of the ledger to use, or a shortcut string to choose a ledger automatically.
limit - Unsigned Integer
(Optional) If provided, the server does not provide more than this many offers in the results.
The total number of results returned may be fewer than the limit, because the server omits unfunded offers.
taker - String
(Optional) The Address of an account to use as a perspective. Unfunded offers placed by this account are always included in the response. (You can use this to look up your own orders to cancel them.)
taker_gets - Object
Specification of which currency the account taking the offer would receive, as an object with currency and issuer fields (omit issuer for XRP), like currency amounts.
taker_pays - Object
Specification of which currency the account taking the offer would pay, as an object with currency and issuer fields (omit issuer for XRP), like currency amounts.
Get access to 40+ blockchain nodes right now!GetBlock provides a fast and reliable API connection to full nodes from many leading blockchains.
Email is invalid