{"id":"mOGD2gzZJqE","title":"Near Intents 101: A New Way to Transact | Build Smarter with AI & Blockchain","description":"🤖 Near Intents 101: A New Way to Transact | Build Smarter with AI & Blockchain\n\nWelcome to Near Intents 101, your guided introduction to a transformative way of transacting on NEAR Protocol!\n\nIn this session, Josh from NearDev walks you through:\n • What Intents are and how they work\n • Why they’re different from traditional blockchain transactions\n • How Intents enable AI and user agents to act on your behalf\n • Real-world examples (DeFi swaps, pizza delivery, and beyond 🍕)\n • How to integrate Intents into your app using the OneClick API\n • Dev tools, SDKs, and live support to start building today\n\n🚀 Key Takeaways:\n • Intents shift the paradigm: You specify what you want, not how to get it.\n • Third-party solvers compete to fulfill your request with the best offer.\n • Use cases go beyond DeFi: from token swaps to service marketplaces and autonomous agents.\n • OneClick API simplifies integration for devs—just one REST call to get started.\n • Open-source SDKs available in TypeScript, Rust, and Go.\n\n🔗 Resources:\n • OneClick Docs: https://docs.near-intents.org\n • Live Example Playground: https://near-intents.org\n • Telegram Community: https://t.me/near_intents\n\nThis is the beginning of agentic commerce on NEAR. Whether you’re building a wallet, app, or marketplace—Intents unlock a whole new level of UX and composability.\n\nReady to build the future of decentralized coordination? Watch now and dive into NEAR Intents.\n\n#NEARProtocol #NEARIntents #Web3UX #AIagents #DeFi #BlockchainDev #OneClickAPI #AgenticCommerce #IntentsNotTransactions","channel_name":"NEAR DevHub","published_at":"2025-06-18T00:00:00.000Z","thumbnail_url":"https://img.youtube.com/vi/mOGD2gzZJqE/hqdefault.jpg","transcript_text":"Hey, welcome to Near Intents 101. Uh, this is an introduction to a new way of transacting. I'm Josh with Near Dev. Uh, today we're gonna be going over what are intents, how they actually work. We'll get into integrating your application with intents, and then give you some resources at the end to get started. So, what are intents? Well, simply put, they're a way to transact with others that focus on the outcomes, not the processes themselves. Um, they're a new type of transaction on Near, um, that differs from traditional transactions, as they require specific instructions. Uh, previously, transacting would be something like send, you know, 10 USDC to this specific address, or call this method, transfer NFT on a specific contract with an attached deposit of X amount of tokens. and again, these are final transactions that are created, signed, and executed by the user themselves. Intents differ, uh, in that the creator just signs a message request. It's not a final transaction yet. As an intent creator, you make a request and let others offer solutions. third parties compete to provide you the best options possible, and then once you get all those options, you make a decision and the request is securely fulfilled. So again, an intent is declaring an end result without stating how to accomplish this. Uh, a familiar example would be something like a token swap, like, I want to trade 100 USDC for Bitcoin. But what's exciting about this is it goes beyond just DeFi use cases. Uh, you could say, \"Hey, I want a ride to the airport at 3:00 PM,\" or, \"I want a pepperoni pizza for under $30.\" Um, this really just creates a marketplace of solutions for every request imaginable, uh, and really unlocks new use cases that were not previously possible with blockchain. All right, let's take a look at this real world example of delivering a pizza for under $30. Uh, today you'd have to search for pizza places that are near you. Um, then you'll compare the ratings, go over the prices, um, then try to find delivery options and compare costs and time, like how much does GrubHub and DoorDash, what are their fees, um, how soon can they get it to you, et cetera. Then you'll make the decision, enter the payment details, and pull- provide the delivery information. With intents, you basically would just create a request for a pizza. I want this pizza, and a network of pizza helpers would compete to find you the best deal. Uh, I could get you one delivered for 20 bucks in 30 minutes with a 4.5 rating. Well, I can get you one for $15 in 20 minutes, but it's a 3.5 rating. Uh, you choose which option you want, they handle everything else. If we take a look at our DeFi example, I want to swap 100 USDC for Bitcoin, today you would have to search for a DEX or decentralized exchange of your choice, uh, compare prices, calculate the best route, uh, you'll have to deposit assets, maybe use a bridging service, uh, could execute multiple transactions, and sometimes multiple accounts for different blockchain networks are required. With intents, basically you just create this request to swap USDC for Bitcoin, then a network of swapping agents compete to find you the best deal. I'll give you dot-00091 Bitcoin for that $100, or I'll give you 94 BTC for that 100 USDC. You choose which offer you want and the transaction is executed on your behalf. So, how does this actually work under the hood? there are 3 core components to this. Uh, the intent creator, it can be a user or even an AI agent that requests some sort of outcome, you have a solver network of users or agents that compete to fulfill those requests, and then you have a blockchain. This acts as the settlement layer. Uh, there's a smart contract that verifies and settles all the transactions. So, this high level intent flow, we have a user and agent that wants Bitcoin, they have some USDC. What they're gonna need to do is compose an intent. This is a signed message, it is not a final transaction. Uh, it's a JSON object that we're gonna broadcast to the Near Intents network. This is done by first interacting with what's called a message bus. This acts as a flight control center for all the messages coming in and out of the Near Intents network. You have intents coming in, the message bus receives them, and then they communicate with the solver network. Um, they go back and forth and basically provide a stream of quote requests to that solver network, uh, and then the solver network responds with signed quote offers. The message bus goes through all of these offers and then returns the quote to the user or agent, and they review it, decide whether or not they wanna execute it. If everything looks good to them, they'll send that approved re- quote back to the message bus, and at this point we go from off chain to now on chain by contacting Near protocol and the verifier's smart contract within. Uh, this verifier's smart contract now reviews all of these messages, these signatures, and verifies that everything is in order. Once it verifies everything and the state changes are correct, it'll then broadcast this transaction out to your destination network, and voila, you have now completed an intent. So, how do I get started integrating my application with intents? Well, there are 2 main ways to integrate with intents, either you're a distribution channel or a market maker. Distribution channels provide asset access and delivery. They are responsible for facilitating secure and transparent peer-to-peer transactions, uh, making it ease of u- easy to use for their end users, and they enable asset monetization. Uh, these examples are decentralized applications, wallets, or exchanges. Market makers, on the other hand, they provide the liquidity. They're responsible for the bridging of assets, uh, they're providing the quotes and ensuring the market stability. Um, they are the solvers in the solver networks themselves. So for distribution channels, you'd want to use 1-click API. This simplifies the complexities of intents significantly. Uh, they have easy to use rest endpoints, uh, and it leverages a temporary trusted agent to do things on your behalf. As a developer, using 1-click API is super simple. After your user creates their intent, you'll make an API call to 1-click's quote endpoint with the intent as a JSON object. 1-click will handle all the communication with the solver network, and then they'll return a quote for your approval with a deposit address. If everything looks good, you simply make a deposit to the provided address and the intent will be executed. Simple as can be. Currently there's only 4 endpoints for 1-click API, and the only one you actually need to use is the one we just demonstrated, the swapquote Uh, other than that, you can use an optional submit deposit transaction hash endpoint. Uh, this speeds up the process with an early deposit, uh, notifies 1-click of the deposit so they can preemptively verify the transfer. Uh, aside from that, you have the tokens endpoint that returns a list of all the currently supported tokens, uh, as well as a status endpoint to check on your intent's progress. A- and all this can be found at docs.near-intents.org. And on that note, let's dive further into some resources for you to get you started building. 1-click has these 3 SDKs available for you for easy integration. We have TypeScript, Rust, and Go. Also, there's a live example if you want to play with this and test it out for yourself. Go to near-intents.org. Uh, docs are found at docs.near-intents.org, and if you get stuck and need some live support, we also have a Telegram channel. Uh, please join the community at Near_Intents. Again, here's a link to the slideshow. If you have any questions, feel free to reach out, and, uh, yeah, hope this was helpful for you. Have a great rest of your day, and happy hacking.","transcript_synced_at":"2026-11-03T03:51:39.785Z","segments":[{"start_seconds":0,"text":"Hey, welcome to Near Intents 101. Uh, this is an introduction to a new way of transacting. I'm Josh with Near Dev.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=0s"},{"start_seconds":8,"text":"Uh, today we're gonna be going over what are intents, how they actually work.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=8s"},{"start_seconds":13,"text":"We'll get into integrating your application with intents, and then give you some resources at the end to get started. So, what are intents?","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=13s"},{"start_seconds":22,"text":"Well, simply put, they're a way to transact with others that focus on the outcomes, not the processes themselves.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=22s"},{"start_seconds":28,"text":"Um, they're a new type of transaction on Near, um, that differs from traditional transactions, as they require specific instructions.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=28s"},{"start_seconds":37,"text":"Uh, previously, transacting would be something like send, you know, 10 USDC to this specific address, or call this method, transfer NFT on a specific contract with an attached deposit of X amount of tokens.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=37s"},{"start_seconds":52,"text":"and again, these are final transactions that are created, signed, and executed by the user themselves. Intents differ, uh, in that the creator just signs a message request.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=52s"},{"start_seconds":62,"text":"It's not a final transaction yet. As an intent creator, you make a request and let others offer solutions.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=62s"},{"start_seconds":69,"text":"third parties compete to provide you the best options possible, and then once you get all those options, you make a decision and the request is securely fulfilled.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=69s"},{"start_seconds":77,"text":"So again, an intent is declaring an end result without stating how to accomplish this.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=77s"},{"start_seconds":82,"text":"Uh, a familiar example would be something like a token swap, like, I want to trade 100 USDC for Bitcoin. But what's exciting about this is it goes beyond just DeFi use cases.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=82s"},{"start_seconds":93,"text":"Uh, you could say, \"Hey, I want a ride to the airport at 3:00 PM,\" or, \"I want a pepperoni pizza for under $30.\"","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=93s"},{"start_seconds":100,"text":"Um, this really just creates a marketplace of solutions for every request imaginable, uh, and really unlocks new use cases that were not previously possible with blockchain.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=100s"},{"start_seconds":110,"text":"All right, let's take a look at this real world example of delivering a pizza for under $30. Uh, today you'd have to search for pizza places that are near you.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=110s"},{"start_seconds":119,"text":"Um, then you'll compare the ratings, go over the prices, um, then try to find delivery options and compare costs and time, like how much does GrubHub and DoorDash, what are their fees, um, how soon can they get it to you, et cetera.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=119s"},{"start_seconds":131,"text":"Then you'll make the decision, enter the payment details, and pull- provide the delivery information. With intents, you basically would just create a request for a pizza.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=131s"},{"start_seconds":140,"text":"I want this pizza, and a network of pizza helpers would compete to find you the best deal. Uh, I could get you one delivered for 20 bucks in 30 minutes with a 4.5 rating.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=140s"},{"start_seconds":150,"text":"Well, I can get you one for $15 in 20 minutes, but it's a 3.5 rating. Uh, you choose which option you want, they handle everything else.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=150s"},{"start_seconds":157,"text":"If we take a look at our DeFi example, I want to swap 100 USDC for Bitcoin, today you would have to search for a DEX or decentralized exchange of your choice, uh, compare prices, calculate the best route, uh, you'll have to deposit assets, maybe use a bridging service, uh, could execute multiple transactions, and sometimes multiple accounts for different blockchain networks are required.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=157s"},{"start_seconds":180,"text":"With intents, basically you just create this request to swap USDC for Bitcoin, then a network of swapping agents compete to find you the best deal.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=180s"},{"start_seconds":189,"text":"I'll give you dot-00091 Bitcoin for that $100, or I'll give you 94 BTC for that 100 USDC.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=189s"},{"start_seconds":197,"text":"You choose which offer you want and the transaction is executed on your behalf. So, how does this actually work under the hood?","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=197s"},{"start_seconds":206,"text":"there are 3 core components to this.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=206s"},{"start_seconds":208,"text":"Uh, the intent creator, it can be a user or even an AI agent that requests some sort of outcome, you have a solver network of users or agents that compete to fulfill those requests, and then you have a blockchain.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=208s"},{"start_seconds":220,"text":"This acts as the settlement layer. Uh, there's a smart contract that verifies and settles all the transactions.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=220s"},{"start_seconds":227,"text":"So, this high level intent flow, we have a user and agent that wants Bitcoin, they have some USDC.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=227s"},{"start_seconds":234,"text":"What they're gonna need to do is compose an intent. This is a signed message, it is not a final transaction.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=234s"},{"start_seconds":241,"text":"Uh, it's a JSON object that we're gonna broadcast to the Near Intents network. This is done by first interacting with what's called a message bus.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=241s"},{"start_seconds":251,"text":"This acts as a flight control center for all the messages coming in and out of the Near Intents network.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=251s"},{"start_seconds":256,"text":"You have intents coming in, the message bus receives them, and then they communicate with the solver network.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=256s"},{"start_seconds":264,"text":"Um, they go back and forth and basically provide a stream of quote requests to that solver network, uh, and then the solver network responds with signed quote offers.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=264s"},{"start_seconds":274,"text":"The message bus goes through all of these offers and then returns the quote to the user or agent, and they review it, decide whether or not they wanna execute it.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=274s"},{"start_seconds":285,"text":"If everything looks good to them, they'll send that approved re- quote back to the message bus, and at this point we go from off chain to now on chain by contacting Near protocol and the verifier's smart contract within.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=285s"},{"start_seconds":298,"text":"Uh, this verifier's smart contract now reviews all of these messages, these signatures, and verifies that everything is in order.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=298s"},{"start_seconds":306,"text":"Once it verifies everything and the state changes are correct, it'll then broadcast this transaction out to your destination network, and voila, you have now completed an intent.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=306s"},{"start_seconds":319,"text":"So, how do I get started integrating my application with intents? Well, there are 2 main ways to integrate with intents, either you're a distribution channel or a market maker.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=319s"},{"start_seconds":328,"text":"Distribution channels provide asset access and delivery.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=328s"},{"start_seconds":331,"text":"They are responsible for facilitating secure and transparent peer-to-peer transactions, uh, making it ease of u- easy to use for their end users, and they enable asset monetization.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=331s"},{"start_seconds":343,"text":"Uh, these examples are decentralized applications, wallets, or exchanges. Market makers, on the other hand, they provide the liquidity.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=343s"},{"start_seconds":350,"text":"They're responsible for the bridging of assets, uh, they're providing the quotes and ensuring the market stability. Um, they are the solvers in the solver networks themselves.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=350s"},{"start_seconds":360,"text":"So for distribution channels, you'd want to use 1-click API. This simplifies the complexities of intents significantly.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=360s"},{"start_seconds":368,"text":"Uh, they have easy to use rest endpoints, uh, and it leverages a temporary trusted agent to do things on your behalf.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=368s"},{"start_seconds":375,"text":"As a developer, using 1-click API is super simple. After your user creates their intent, you'll make an API call to 1-click's quote endpoint with the intent as a JSON object.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=375s"},{"start_seconds":386,"text":"1-click will handle all the communication with the solver network, and then they'll return a quote for your approval with a deposit address.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=386s"},{"start_seconds":392,"text":"If everything looks good, you simply make a deposit to the provided address and the intent will be executed. Simple as can be.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=392s"},{"start_seconds":400,"text":"Currently there's only 4 endpoints for 1-click API, and the only one you actually need to use is the one we just demonstrated, the swapquote Uh, other than that, you can use an optional submit deposit transaction hash endpoint.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=400s"},{"start_seconds":413,"text":"Uh, this speeds up the process with an early deposit, uh, notifies 1-click of the deposit so they can preemptively verify the transfer.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=413s"},{"start_seconds":421,"text":"Uh, aside from that, you have the tokens endpoint that returns a list of all the currently supported tokens, uh, as well as a status endpoint to check on your intent's progress.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=421s"},{"start_seconds":429,"text":"A- and all this can be found at docs.near-intents.org. And on that note, let's dive further into some resources for you to get you started building.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=429s"},{"start_seconds":439,"text":"1-click has these 3 SDKs available for you for easy integration. We have TypeScript, Rust, and Go.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=439s"},{"start_seconds":446,"text":"Also, there's a live example if you want to play with this and test it out for yourself. Go to near-intents.org.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=446s"},{"start_seconds":454,"text":"Uh, docs are found at docs.near-intents.org, and if you get stuck and need some live support, we also have a Telegram channel.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=454s"},{"start_seconds":461,"text":"Uh, please join the community at Near_Intents. Again, here's a link to the slideshow.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=461s"},{"start_seconds":469,"text":"If you have any questions, feel free to reach out, and, uh, yeah, hope this was helpful for you. Have a great rest of your day, and happy hacking.","url":"https://www.youtube.com/watch?v=mOGD2gzZJqE&t=469s"}],"youtube_url":"https://youtube.com/watch?v=mOGD2gzZJqE","url":"https://near-pedia.xyz/videos/mOGD2gzZJqE"}