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 buy 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 buy offers for the token. Each hasamount(drops of XRP as a string, or a token amount object),flags,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_buy_offers","nft_id":"0008170207397A8AA414511E6E0649C9980E185E1C19D74010CEAF0005E46EE3","ledger_index":"validated","limit":50} to wss://mainnet.xrpl.validationcloud.io/v1/<YOUR_API_KEY_HERE>.
If the token has no buy offers the response is anobjectNotFounderror (HTTP 200 with"status": "error"), not an empty list.