Skip to content

Commit

Permalink
feat: add input params sort_direction, sort_field to `queryAssets…
Browse files Browse the repository at this point in the history
…ByAttributes` interface
  • Loading branch information
yohuohuohuo committed Aug 8, 2023
1 parent d86aa9b commit eec8456
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/types/evm/asset/request-params.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,14 @@ export interface QueryAssetsByAttributesParams extends CommonAssetParams {
* The NFT contract address for the assets
*/
contract_address: string;

/**
* Can be asc or desc
*/
sort_direction?: SortDirection;

/**
* Note: `rarity_rank` only serve for erc721 NFTs
*/
sort_field: string;
}

0 comments on commit eec8456

Please sign in to comment.