Skip to content

Commit 8c3d0f2

Browse files
committed
fix(types): Add limit, marker to NFTSellOffersRequest and NFTSellOffersResponse
1 parent cbfa92b commit 8c3d0f2

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

packages/xrpl/src/models/methods/nftSellOffers.ts

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,23 @@ import { BaseRequest, BaseResponse, LookupByLedgerRequest } from './baseMethod'
99
* @category Requests
1010
*/
1111
export interface NFTSellOffersRequest
12-
extends BaseRequest, LookupByLedgerRequest {
12+
extends BaseRequest,
13+
LookupByLedgerRequest {
1314
command: 'nft_sell_offers'
1415
/**
1516
* The unique identifier of an NFToken. The request returns sell offers for this NFToken.
1617
*/
1718
nft_id: string
19+
/**
20+
* Limit the number of NFT sell offers to retrieve. The server may return
21+
* fewer results. Valid values are within 50-500. The default is 250.
22+
*/
23+
limit?: number
24+
/**
25+
* Value from a previous paginated response. Resume retrieving data where
26+
* that response left off.
27+
*/
28+
marker?: unknown
1829
}
1930

2031
/**
@@ -32,5 +43,14 @@ export interface NFTSellOffersResponse extends BaseResponse {
3243
* The token ID of the NFToken to which these offers pertain.
3344
*/
3445
nft_id: string
46+
/**
47+
* The limit value used in the request.
48+
*/
49+
limit?: number
50+
/**
51+
* Server-defined value indicating the response is paginated. Pass this to
52+
* the next call to resume where this call left off.
53+
*/
54+
marker?: unknown
3555
}
3656
}

0 commit comments

Comments
 (0)