get https://deep-index.moralis.io/api/v2/nft///transfers
Get transfers of an NFT given a contract address and token ID.
Log in to see full request history
Response
Get transfers of an NFT given a contract address and token ID.
xxxxxxxxxx
26import Moralis from 'moralis';
import { EvmChain } from '@moralisweb3/evm-utils';
​
try {
const chain = EvmChain.ETHEREUM;
​
const address = '0x1234567890123456789012345678901234567890';
​
const tokenId = 1;
​
await Moralis.start({
apiKey: 'YOUR_API_KEY',
// ...and any other configuration
});
​
const response = await Moralis.EvmApi.nft.getNFTTransfers({
address,
chain,
tokenId,
});
​
console.log(response?.result);
} catch (e) {
console.error(e);
}
Try It!
to start a request and see the response here! Or choose an example: