# isERC721Deposit

Checks if a request is a ERC-721 deposit coming from the `ERC721Portal` smart contract.

## Usage

```ts twoslash
import { createApp } from "@deroll/app";
import { isERC721Deposit, parseERC721Deposit } from "@deroll/wallet";

// create app
const app = createApp();

app.addAdvanceHandler(async (data) => {
    if (isERC721Deposit(data)) { // [!code focus]
        const deposit = parseERC721Deposit(data.payload);
// @noErrors
        deposit.
//              ^|
    }
    return "accept";
});
```

## Returns

Type: `boolean`

True if request is a ERC-721 deposit from the `ERC721Portal` smart contract.

## Parameters

Type: `AdvanceRequestData`
