Wrong interface while using NFT API GetWalletTokenTransfersRequest

interface GetWalletTokenTransfersRequest extends Camelize<Omit<RequestParams$5, ‘chain’ | ‘address’ | ‘from_date’ | ‘to_date’>> {

chain?: EvmChainish;
address: EvmAddressish;
fromDate?: DateInput;
toDate?: DateInput;
}

Hello. I’m trying to use GetWalletTokenTransfersRequest as showd on the docs but it’s not possible. My version: “@moralisweb3/common-evm-utils”: “^2.24.2”,
And as i showed above the interface that i found on “index.d.ts” is differente from the one on official docs. I need to use “contractAddresses” and “order” parameters as showed in the example.
How can i acomplish that? I’m using TypeScript.

Example showed on docs:

const response = await Moralis.EvmApi.nft.getWalletNFTTransfers({
“chain”: “0x38”,
“format”: “decimal”,
“order”: “DESC”,
“contractAddresses”: [
“0x100000000000000000000000000000000”
],
“address”: “0x1f9090aaE28b8a3dCeaDf281B0F12828e676c326”
});

Hi @EvandroAK

Order param was a recent addition to the API. SDK was not yet updated to support the Order param. It will be updated in the coming weeks. You can subscribe to notification on our github repo.

For using Order param now, you will have to use the REST API endpoint directly.

The same is valid for “contractAddresses”?

Seems like that is the case for getWalletNFTTransfers. I have passed it to the SDK team.