40 Compute Units.
Reference: Here
Parameters
nft_id(string, required) The unique identifier of an NFToken object.ledger_hash(string, optional) The unique hash of the ledger version to use.ledger_index(number or string, optional) The ledger index of the ledger to use, or a shortcut string such asvalidated,closedorcurrent.limit(integer, optional) Limit the number of NFT sell offers to retrieve. Cannot be lower than 50 or more than 500. The default is 250.marker(marker, optional) Value from a previous paginated response. Resume retrieving data where that response left off.
Returns
nft_id(string) The NFToken these offers are for, as specified in the request.offers(array) A list of sell offers for the token. Each hasamount(drops of XRP as a string, or a token amount object),flags(1 = sell offer),nft_offer_index,ownerand optionallydestinationandexpiration.limit(number, may be omitted) Thelimitfrom the request. Our endpoint did not return it in the example below.marker(marker) Server-defined value indicating the response is paginated. Omitted when there are no more pages.validated(boolean) Iftrue, the information comes from a validated ledger version.
{"id":1,"command":"nft_sell_offers","nft_id":"000817021F9C508EF46557C32AA0584349602955B640D72F71DCDBD0052B8D35","ledger_index":"validated","limit":50} to wss://mainnet.xrpl.validationcloud.io/v1/<YOUR_API_KEY_HERE>.
If the token has no sell offers the response is anobjectNotFounderror (HTTP 200 with"status": "error"), not an empty list.