{"id":6442,"date":"2023-10-25T02:02:34","date_gmt":"2023-10-25T02:02:34","guid":{"rendered":"https:\/\/de.fi\/blog\/?p=6442"},"modified":"2023-11-03T21:07:57","modified_gmt":"2023-11-03T21:07:57","slug":"what-are-token-approvals-crypto","status":"publish","type":"post","link":"https:\/\/de.fi\/blog\/what-are-token-approvals-crypto","title":{"rendered":"What Are Token Approvals in Crypto?"},"content":{"rendered":"\n<p>Users love the world of DeFi because it unlocks the potential of permissionless finance. Traditional centralized financial institutions operate in a world of walled gardens. All funds are siloed within individual banks and financial institutions, and interactions between these institutions can be time-consuming and frustrating. If you&#8217;ve ever had to wait an entire weekend to get your money from one bank to another, you know what we&#8217;re talking about.<\/p>\n\n\n\n<p>DeFi is different because instead of every service provider operating their own independent financial ledger, all transactions are conducted on the shared ledger of blockchain networks. No matter whether you&#8217;re <a href=\"https:\/\/de.fi\/explore\">yield farming<\/a> on Uniswap, sending <a href=\"https:\/\/de.fi\/explore\/cat\/stablecoin\">stablecoins<\/a> to a friend with <a href=\"https:\/\/de.fi\/blog\/is-metamask-safe-security-guide\">MetaMask<\/a>, or <a href=\"https:\/\/de.fi\/explore\/cat\/lending\">lending crypto assets<\/a> on Aave, all transactions are taking place seamlessly on the same blockchains.<\/p>\n\n\n\n<p>This is fantastic for creating seamless interactions between various dapps, smart contracts, and wallets, allowing users to explore limitless combinations of new and creative ways to utilize their financial assets.<\/p>\n\n\n\n<p>However, with great power comes great responsibility. To enable this revolutionary interoperability DeFi uses widely accepted standards that are as simple as they are powerful. Users can create a <a href=\"https:\/\/de.fi\/blog\/what-is-defi-wallet\">DeFi wallet<\/a> and start trading significant capital across different dapps with only a few clicks. But this ease of use also means that should they make a mistake, their funds can be permanently lost. <\/p>\n\n\n\n<p>DeFi applications (dapps) utilize <a href=\"https:\/\/ethereum.org\/en\/developers\/docs\/smart-contracts\/\">smart contracts<\/a> to manage their interactions with user wallets. Smart contracts, in turn, must be granted access to utilizing the funds in a user&#8217;s specific wallet before they can perform their duties. Granting this access is done via <strong>token approvals<\/strong>.<\/p>\n\n\n\n<p>In today&#8217;s blog, we&#8217;ll be discussing this simple technical concept and why an understanding of how to manage token approvals is essential to keeping your crypto assets safe.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Token approvals explained<\/h2>\n\n\n\n<p>Token approvals govern the specific crypto assets that certain smart contracts are allowed to utilize within your crypto wallet. They are granted by using your management control over the said wallet to approve a specific request generated by the smart contract you wish to interact with.<\/p>\n\n\n\n<p>In the screenshot below, you can see the process of granting a token approval for the Uniswap dapp to interact with the <a href=\"https:\/\/de.fi\/explore\/token\/usdt\">USDT stablecoin<\/a> stored within a MetaMask wallet. This token approval uses a specific custom spending cap as well:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"336\" height=\"443\" src=\"https:\/\/de.fi\/blog\/wp-content\/uploads\/2023\/10\/Screen-Shot-2023-10-23-at-12.32.55-PM.png\" alt=\"metamask token approval for uniswap\" class=\"wp-image-6478\" style=\"aspect-ratio:0.7584650112866818;width:414px;height:auto\"\/><\/figure>\n<\/div>\n\n\n<p>While token approvals are mainly used for managing ERC-20 permissions, keep in mind that <a href=\"https:\/\/de.fi\/blog\/erc-1155-vs-erc-721-nft-standards\">ERC-721 and ERC-1155<\/a> NFT token standard approvals are also common. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The technical process of token approvals<\/h2>\n\n\n\n<p>How does this work from a technical perspective? Let\u2019s say you are about to deposit <a href=\"https:\/\/de.fi\/explore\/token\/usdc\">USDC<\/a> into a vault. A typical deposit function should involve transferring the staking token from your balance to a strategy bound to the vault so that yield can be generated on the deposited amount. This is done by calling the transferFrom() function &#8211; a standard function each token based on the ERC-20 standard has.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"2062\" height=\"340\" src=\"https:\/\/de.fi\/blog\/wp-content\/uploads\/2023\/09\/token-spender-contract.png\" alt=\"transferFrom solidity code\" class=\"wp-image-5394\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-center\"><a href=\"https:\/\/github.com\/OpenZeppelin\/openzeppelin-contracts\/blob\/master\/contracts\/token \/ERC20\/ERC20.sol&nbsp;\"><em>https:\/\/github.com\/OpenZeppelin\/openzeppelin-contracts\/blob\/master\/contracts\/token \/ERC20\/ERC20.sol&nbsp;<\/em><\/a><\/p>\n\n\n\n<p>But only contracts approved by you can call a token transfer from your balance. Thus, before depositing, swapping, lending, placing buy\/sell orders, or calling any other functionality that should send your tokens to a particular target, you have to call the approve() function on the contract of the token.&nbsp;<\/p>\n\n\n\n<p><strong>See the approve() call within the Solidity code below:<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"777\" src=\"https:\/\/de.fi\/blog\/wp-content\/uploads\/2023\/09\/usdc-contract-call-approve.png\" alt=\"call approve solidity code via usdc contract\" class=\"wp-image-5395\"\/><\/figure>\n<\/div>\n\n\n<p class=\"has-text-align-center\"><a href=\"https:\/\/etherscan.io\/address\/0xa2327a938febf5fec13bacfb16ae10ecbc4cbdcf#code\"><em>https:\/\/etherscan.io\/address\/0xa2327a938febf5fec13bacfb16ae10ecbc4cbdcf#code<\/em><\/a><\/p>\n\n\n\n<p>In the image above, the owner parameter would be your address. \u201cSpender\u201d is the dapp contract that should call transferFrom() later on when deposit() is called.&nbsp;<\/p>\n\n\n\n<p>To manually check if you&#8217;ve approved a contract to spend your tokens, you can open the Read section of the ERC-20 token contract and input your address and the dapp contract address into the view function \u201callowance\u201d. It will show you the approved token amount:&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"590\" src=\"https:\/\/de.fi\/blog\/wp-content\/uploads\/2023\/09\/contract-authorization-details.png\" alt=\"contract transfer details\" class=\"wp-image-5397\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-center\"><a href=\"https:\/\/etherscan.io\/token\/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48#readProxyContract\"><em>https:\/\/etherscan.io\/token\/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48#readProxyContract<\/em><\/a><\/p>\n\n\n\n<p>Now you can see that contracts with your approvals for specific tokens have control over your balance of those tokens.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The risks of token approvals<\/h2>\n\n\n\n<p>The risks of token approvals are due to the trust assumptions that you make regarding the smart contracts you are interacting with. These two assumptions are:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">You are dealing with a trustworthy smart contract<\/h3>\n\n\n\n<p>While token approvals are a completely normal action to take within DeFi, they can be extremely dangerous in the wrong hands. This is why token approvals are the main attack vector for <a href=\"https:\/\/de.fi\/blog\/how-to-avoid-crypto-phishing-scams\">crypto phishing scams<\/a>. If you&#8217;ve approved a malicious contract to be an unlimited spender of a token, your entire balance will likely be wiped out nearly instantly after the approval is confirmed.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">The smart contract you grant approvals to will not be manipulated<\/h3>\n\n\n\n<p>There are also scenarios where, even though you have granted permissions to a legitimate smart contract, your wallet funds may be at risk of potential token approval abuse. If a contract that you&#8217;ve interacted with before has a vulnerability and is hacked, the hackers may find a way to transfer all tokens from users who have previously granted token approvals to the breached contract.&nbsp;<\/p>\n\n\n\n<p>This is especially dangerous because many dapps prefer to request these unlimited token approvals from users so that they don\u2019t have to call approve() repeatedly. While this is gas efficient, doing so leaves users exposed to a high level of risk.<\/p>\n\n\n\n<p>It&#8217;s a best practice to only keep token approvals in place as long as necessary for the transactions you need to conduct. Once the transactions are completed, consider revoking the token approvals you have in place.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to manage token approvals<\/h2>\n\n\n\n<p>As part of our De.Fi <a href=\"https:\/\/de.fi\/\">DeFi portfolio tracker<\/a> SuperApp, we make it easy to efficiently monitor and revoke the permissions your wallet may have. Our <a href=\"https:\/\/de.fi\/shield\">De.Fi Shield revoke permissions tool<\/a> is the perfect accessory for safety-conscious crypto traders.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"958\" height=\"777\" src=\"https:\/\/de.fi\/blog\/wp-content\/uploads\/2023\/10\/Screen-Shot-2023-10-23-at-6.26.29-PM.png\" alt=\"\" class=\"wp-image-6483\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-center\"><em>Sample De.Fi Shield wallet analysis<\/em><\/p>\n\n\n\n<p>To get started, simply navigate to <a href=\"https:\/\/de.fi\/shield\">https:\/\/de.fi\/shield<\/a> and connect your web3 wallet to the De.Fi app. Once connected, Shield automatically runs an analysis of 100+ security detectors for each contract, token, and NFT approval. It will then identify all high-risk tokens and smart contracts and provide a detailed description of potential risks. The whole process happens in only a few seconds.<\/p>\n\n\n\n<p>Once high-risk contracts are identified, you have the opportunity to revoke them one by one or to revoke them all at once:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1146\" height=\"388\" src=\"https:\/\/de.fi\/blog\/wp-content\/uploads\/2023\/10\/specific-contract-revoke.png\" alt=\"two specific token approvals to revoke\" class=\"wp-image-6485\"\/><\/figure>\n\n\n\n<p>Choosing to revoke will trigger a pop-up that confirms the action and provides approximate gas fee data for the task<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"411\" height=\"241\" src=\"https:\/\/de.fi\/blog\/wp-content\/uploads\/2023\/10\/Screen-Shot-2023-10-23-at-6.43.57-PM.png\" alt=\"\" class=\"wp-image-6486\"\/><\/figure>\n<\/div>\n\n\n<p>Hitting &#8220;Revoke&#8221; once again will then trigger an approval process within your web3 wallet. In this example, we&#8217;re using MetaMask:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"327\" height=\"571\" src=\"https:\/\/de.fi\/blog\/wp-content\/uploads\/2023\/10\/metamask-revoke-permissions.png\" alt=\"revoke token approval permissions in metamask\" class=\"wp-image-6487\"\/><\/figure>\n<\/div>\n\n\n<p>Once these transactions are approved, you&#8217;re all set! De.Fi Shield will update with your new and improved wallet health score free of risky token approvals:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"742\" height=\"230\" src=\"https:\/\/de.fi\/blog\/wp-content\/uploads\/2023\/10\/improved-wallet-score-after-removing-token-approvals.png\" alt=\"defi shield wallet score after removing token approvals\" class=\"wp-image-6488\"\/><\/figure>\n<\/div>\n\n\n<p>Ready to get started auditing and securing your onchain assets? Click the link below!<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-text-align-center\"><em><a href=\"https:\/\/de.fi\/shield\">TRY SHIELD NOW<\/a><\/em><\/h3>\n\n\n\n<h2 class=\"wp-block-heading\">Staying safe in web3 with De.Fi<\/h2>\n\n\n\n<p>While it is critical to monitor and maintain your wallet&#8217;s token approvals, we also recommend being vigilant and ensuring you don&#8217;t interact with risky contracts in the first place. With this in mind, we offer De.Fi Scanner, the most comprehensive <a href=\"https:\/\/de.fi\/scanner\">free smart contract scanner<\/a> in web3.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"988\" height=\"785\" src=\"https:\/\/de.fi\/blog\/wp-content\/uploads\/2023\/10\/medju_SrG7rWSH_yI4fU2fTOlLRa9IWO0svwSekH0uZe64ZeohFK8mpdqm4uDvIQn7Z_r_AjBT09FQdKQoSaZQ6i1jk_tdzcPfBWXWboge9Yl3TR3xlphe5g379j53r6O5pKpAmKDzaoYP5oUAEUn6Q.png\" alt=\"token security detector results\" class=\"wp-image-6301\"\/><\/figure>\n\n\n\n<p>DeFi users leverage Scanner to run automated audits on projects, tokens, NFTs, or even liquidity pool contract addresses. Simply enter the contract address you would like to analyze and Scanner will produce a security report in a matter of minutes highlighting any potential risk issues you should be aware of.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-text-align-center\"><em><strong><a href=\"https:\/\/de.fi\/scanner\">TRY SCANNER NOW<\/a><\/strong><\/em><\/h3>\n\n\n\n<p>Users can also freely access a treasure trove of security analysis via our&nbsp;<a href=\"https:\/\/de.fi\/audit-database\">Audit Database<\/a>. It\u2019s web3\u2019s largest database of DeFi project audits with over 9000 security reports from blockchain experts. If you\u2019re considering interacting with a DeFi protocol, chances are you can find a security report within our database.<\/p>\n\n\n\n<p>For the latest security news, don\u2019t forget to follow our&nbsp;<a href=\"https:\/\/twitter.com\/DeDotFiSecurity\">De.Fi Security X profile<\/a>. We\u2019ll keep you notified of any security incidents as they happen, giving you the time you need to respond appropriately. Educate yourself and stay safe with De.Fi!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Users love the world of DeFi because it unlocks the potential of permissionless finance. Traditional centralized financial institutions operate in a world of walled gardens.<\/p>\n","protected":false},"author":2,"featured_media":6443,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[16,24],"class_list":["post-6442","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-defi-security","tag-crypto-scam-reports","tag-ultimate-guides"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.10 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What Are Token Approvals in Crypto? - DeFi Fundamentals<\/title>\n<meta name=\"description\" content=\"Token approvals govern the crypto assets that smart contracts are allowed to utilize within your wallet. \u2713 Learn more and manage your approvals with De.Fi!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/de.fi\/blog\/what-are-token-approvals-crypto\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What Are Token Approvals in Crypto? - DeFi Fundamentals\" \/>\n<meta property=\"og:description\" content=\"Token approvals govern the crypto assets that smart contracts are allowed to utilize within your wallet. \u2713 Learn more and manage your approvals with De.Fi!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/de.fi\/blog\/what-are-token-approvals-crypto\" \/>\n<meta property=\"og:site_name\" content=\"De.Fi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-10-25T02:02:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-03T21:07:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/de.fi\/blog\/wp-content\/uploads\/2023\/10\/what-are-token-approvals.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1500\" \/>\n\t<meta property=\"og:image:height\" content=\"787\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"De.Fi Security\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dedotfi\" \/>\n<meta name=\"twitter:site\" content=\"@dedotfi\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"De.Fi Security\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/de.fi\/blog\/what-are-token-approvals-crypto#article\",\"isPartOf\":{\"@id\":\"https:\/\/de.fi\/blog\/what-are-token-approvals-crypto\"},\"author\":{\"name\":\"De.Fi Security\",\"@id\":\"https:\/\/de.fi\/blog\/#\/schema\/person\/bc7c94cb5e037c8978c6059885825591\"},\"headline\":\"What Are Token Approvals in Crypto?\",\"datePublished\":\"2023-10-25T02:02:34+00:00\",\"dateModified\":\"2023-11-03T21:07:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/de.fi\/blog\/what-are-token-approvals-crypto\"},\"wordCount\":1381,\"publisher\":{\"@id\":\"https:\/\/de.fi\/blog\/#organization\"},\"keywords\":[\"Crypto Scam Reports\",\"Ultimate Guides\"],\"articleSection\":[\"De.Fi Security\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/de.fi\/blog\/what-are-token-approvals-crypto\",\"url\":\"https:\/\/de.fi\/blog\/what-are-token-approvals-crypto\",\"name\":\"What Are Token Approvals in Crypto? - DeFi Fundamentals\",\"isPartOf\":{\"@id\":\"https:\/\/de.fi\/blog\/#website\"},\"datePublished\":\"2023-10-25T02:02:34+00:00\",\"dateModified\":\"2023-11-03T21:07:57+00:00\",\"description\":\"Token approvals govern the crypto assets that smart contracts are allowed to utilize within your wallet. \u2713 Learn more and manage your approvals with De.Fi!\",\"breadcrumb\":{\"@id\":\"https:\/\/de.fi\/blog\/what-are-token-approvals-crypto#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/de.fi\/blog\/what-are-token-approvals-crypto\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/de.fi\/blog\/what-are-token-approvals-crypto#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/de.fi\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What Are Token Approvals in Crypto?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/de.fi\/blog\/#website\",\"url\":\"https:\/\/de.fi\/blog\/\",\"name\":\"De.Fi Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/de.fi\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/de.fi\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/de.fi\/blog\/#organization\",\"name\":\"De.Fi\",\"url\":\"https:\/\/de.fi\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/de.fi\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/de.fi\/blog\/wp-content\/uploads\/2023\/06\/spaces_XOyvZ43P03BZ8mN6KNWT_icon_1hV2Waqet2YS2jtkV0f3_Logo.webp\",\"contentUrl\":\"https:\/\/de.fi\/blog\/wp-content\/uploads\/2023\/06\/spaces_XOyvZ43P03BZ8mN6KNWT_icon_1hV2Waqet2YS2jtkV0f3_Logo.webp\",\"width\":223,\"height\":234,\"caption\":\"De.Fi\"},\"image\":{\"@id\":\"https:\/\/de.fi\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/twitter.com\/dedotfi\",\"https:\/\/t.me\/dedotfi\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/de.fi\/blog\/#\/schema\/person\/bc7c94cb5e037c8978c6059885825591\",\"name\":\"De.Fi Security\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/de.fi\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6f2f941b8d00bf81e01f135977bd5284977931ec40bfd2c06000150d2a6d661d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6f2f941b8d00bf81e01f135977bd5284977931ec40bfd2c06000150d2a6d661d?s=96&d=mm&r=g\",\"caption\":\"De.Fi Security\"},\"url\":\"https:\/\/de.fi\/blog\/author\/defisecurity\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What Are Token Approvals in Crypto? - DeFi Fundamentals","description":"Token approvals govern the crypto assets that smart contracts are allowed to utilize within your wallet. \u2713 Learn more and manage your approvals with De.Fi!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/de.fi\/blog\/what-are-token-approvals-crypto","og_locale":"en_US","og_type":"article","og_title":"What Are Token Approvals in Crypto? - DeFi Fundamentals","og_description":"Token approvals govern the crypto assets that smart contracts are allowed to utilize within your wallet. \u2713 Learn more and manage your approvals with De.Fi!","og_url":"https:\/\/de.fi\/blog\/what-are-token-approvals-crypto","og_site_name":"De.Fi Blog","article_published_time":"2023-10-25T02:02:34+00:00","article_modified_time":"2023-11-03T21:07:57+00:00","og_image":[{"width":1500,"height":787,"url":"https:\/\/de.fi\/blog\/wp-content\/uploads\/2023\/10\/what-are-token-approvals.png","type":"image\/png"}],"author":"De.Fi Security","twitter_card":"summary_large_image","twitter_creator":"@dedotfi","twitter_site":"@dedotfi","twitter_misc":{"Written by":"De.Fi Security","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/de.fi\/blog\/what-are-token-approvals-crypto#article","isPartOf":{"@id":"https:\/\/de.fi\/blog\/what-are-token-approvals-crypto"},"author":{"name":"De.Fi Security","@id":"https:\/\/de.fi\/blog\/#\/schema\/person\/bc7c94cb5e037c8978c6059885825591"},"headline":"What Are Token Approvals in Crypto?","datePublished":"2023-10-25T02:02:34+00:00","dateModified":"2023-11-03T21:07:57+00:00","mainEntityOfPage":{"@id":"https:\/\/de.fi\/blog\/what-are-token-approvals-crypto"},"wordCount":1381,"publisher":{"@id":"https:\/\/de.fi\/blog\/#organization"},"keywords":["Crypto Scam Reports","Ultimate Guides"],"articleSection":["De.Fi Security"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/de.fi\/blog\/what-are-token-approvals-crypto","url":"https:\/\/de.fi\/blog\/what-are-token-approvals-crypto","name":"What Are Token Approvals in Crypto? - DeFi Fundamentals","isPartOf":{"@id":"https:\/\/de.fi\/blog\/#website"},"datePublished":"2023-10-25T02:02:34+00:00","dateModified":"2023-11-03T21:07:57+00:00","description":"Token approvals govern the crypto assets that smart contracts are allowed to utilize within your wallet. \u2713 Learn more and manage your approvals with De.Fi!","breadcrumb":{"@id":"https:\/\/de.fi\/blog\/what-are-token-approvals-crypto#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/de.fi\/blog\/what-are-token-approvals-crypto"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/de.fi\/blog\/what-are-token-approvals-crypto#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/de.fi\/blog\/"},{"@type":"ListItem","position":2,"name":"What Are Token Approvals in Crypto?"}]},{"@type":"WebSite","@id":"https:\/\/de.fi\/blog\/#website","url":"https:\/\/de.fi\/blog\/","name":"De.Fi Blog","description":"","publisher":{"@id":"https:\/\/de.fi\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/de.fi\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/de.fi\/blog\/#organization","name":"De.Fi","url":"https:\/\/de.fi\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/de.fi\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/de.fi\/blog\/wp-content\/uploads\/2023\/06\/spaces_XOyvZ43P03BZ8mN6KNWT_icon_1hV2Waqet2YS2jtkV0f3_Logo.webp","contentUrl":"https:\/\/de.fi\/blog\/wp-content\/uploads\/2023\/06\/spaces_XOyvZ43P03BZ8mN6KNWT_icon_1hV2Waqet2YS2jtkV0f3_Logo.webp","width":223,"height":234,"caption":"De.Fi"},"image":{"@id":"https:\/\/de.fi\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/twitter.com\/dedotfi","https:\/\/t.me\/dedotfi"]},{"@type":"Person","@id":"https:\/\/de.fi\/blog\/#\/schema\/person\/bc7c94cb5e037c8978c6059885825591","name":"De.Fi Security","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/de.fi\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6f2f941b8d00bf81e01f135977bd5284977931ec40bfd2c06000150d2a6d661d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6f2f941b8d00bf81e01f135977bd5284977931ec40bfd2c06000150d2a6d661d?s=96&d=mm&r=g","caption":"De.Fi Security"},"url":"https:\/\/de.fi\/blog\/author\/defisecurity"}]}},"_links":{"self":[{"href":"https:\/\/de.fi\/blog\/wp-json\/wp\/v2\/posts\/6442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/de.fi\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/de.fi\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/de.fi\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/de.fi\/blog\/wp-json\/wp\/v2\/comments?post=6442"}],"version-history":[{"count":26,"href":"https:\/\/de.fi\/blog\/wp-json\/wp\/v2\/posts\/6442\/revisions"}],"predecessor-version":[{"id":6508,"href":"https:\/\/de.fi\/blog\/wp-json\/wp\/v2\/posts\/6442\/revisions\/6508"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/de.fi\/blog\/wp-json\/wp\/v2\/media\/6443"}],"wp:attachment":[{"href":"https:\/\/de.fi\/blog\/wp-json\/wp\/v2\/media?parent=6442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/de.fi\/blog\/wp-json\/wp\/v2\/categories?post=6442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/de.fi\/blog\/wp-json\/wp\/v2\/tags?post=6442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}