> For the complete documentation index, see [llms.txt](https://docs.leapwallet.io/evm-js-sdk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.leapwallet.io/evm-js-sdk/leap-evm-javascript-sdk/transfer-erc721-tokens.md).

# Transfer ERC721 Tokens

As a game developer, you may need to transfer ERC721 tokens (also known as NFTs) between players or from a player's wallet to a game wallet. The Leap Wallet SDK provides the necessary methods for this.

<figure><img src="https://2852400377-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fdk8Q37mAlPTSHH0G3rOI%2Fuploads%2FTJP7YDnWbH5tanEWHkte%2FScreenshot_2022-09-14_at_3.24.41_PM.png?alt=media&amp;token=d2843f05-75f4-4adf-9bc5-40f23c77ef2b" alt=""><figcaption></figcaption></figure>

To transfer an ERC721 token, use the following code:

```jsx
const txApi = new Tx(wallet, provider);

// Native Transactions
const nativeTx = await txApi.createNativeTx(wallet.address, receiver_wallet_address, amount);
const txHash = await txApi.signAndBroadcastTx(nativeTx);

// ERC721 Transactions
const nativeTx = await txApi.createERC20Tx(
      wallet.address,
      receiver_wallet_address,
      amount,
      erc721_token_contract_address,
);
const txHash = await txApi.signAndBroadcastTx(nativeTx);
```
