> For the complete documentation index, see [llms.txt](https://docs.carbondefi.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.carbondefi.xyz/contracts-and-functions/carboncontroller-functions/write-functions/transaction-prerequisites/approve-allowance.md).

# approve() / allowance()

### approve() / allowance()

Allowance functions give permission to a contract to withdraw tokens directly from your wallet.&#x20;

Approval or allowance must be executed prior to any other transaction on Carbon DeFi.&#x20;

[Read more about the approve and allowance functionality ](https://eips.ethereum.org/EIPS/eip-2612)
