> ## Documentation Index
> Fetch the complete documentation index at: https://docs.polygon.technology/llms.txt
> Use this file to discover all available pages before exploring further.

# deposit

> The deposit method can be used to deposit a token from ethereum to polygon chain.

The `deposit` method can be used to deposit a token from ethereum to polygon chain.

```js theme={null}
const erc721RootToken = posClient.erc721(<root token address>, true);

const result = await erc721RootToken.deposit(<token id>, <user address>);

const txHash = await result.getTransactionHash();

const txReceipt = await result.getReceipt();

```
