Wrong interface while using 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”
});

1 Like