# ERC721 get APPROVE of many ERC20

**URL:** <https://forum.openzeppelin.com/t/erc721-get-approve-of-many-erc20/10790>\
**Category:** General\
**Tags:** erc20, erc721\
**Created:** [June 17, 2021, 4:01pm UTC](https://forum.openzeppelin.com/t/erc721-get-approve-of-many-erc20/10790 "2021-06-17T16:01:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cryptomanol](https://avatars.discourse-cdn.com/v4/letter/c/a4c791/32.png) [@cryptomanol](https://forum.openzeppelin.com/u/cryptomanol)\
**Post date:** [June 17, 2021, 4:01pm UTC](https://forum.openzeppelin.com/t/erc721-get-approve-of-many-erc20/10790/1 "2021-06-17T16:01:13Z")

</div>

Hi , i try to develop smart contract that allow ERC721 to transfert many ERC20 i did :

```auto
function approveFromOtherContract(TokenERC20 token, address erc721_contract , uint256 amount) public returns (bool)
{
     token.approve(erc721_contract, amount);
     return true;
     
     
}

```

but its not working , is not showing the right view to metamask with approval …

Thank for your help

---

<div class="post-metadata">

**Author:** ![frangio](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/frangio/32/15251_2.png) [@frangio](https://forum.openzeppelin.com/u/frangio)\
**Post date:** [June 18, 2021, 11:39pm UTC](https://forum.openzeppelin.com/t/erc721-get-approve-of-many-erc20/10790/2 "2021-06-18T23:39:50Z")

</div>

There’s a lot of context missing from your question, but from the name of the function (“approve from other contract”) I’ll say that the user needs to call `approve` itself, any indirection stops that from working.
