Products

Wallet

arrow right
Wallet API
arrow right

Your white-label web3 wallet

Wallet Widget
arrow right

Onboard users in seconds

Market

arrow right
Market API
arrow right

Your custom NFT marketplace

Venly Market
arrow right

Multi-chain NFT marketplace

NFT Tools

arrow right
NFT API
arrow right

Your own NFT token contracts

NFT Analytics
arrow right

Retrieve data from NFTs & wallets

NFT Minter
arrow right

No-code NFT minting

NFT2Email
arrow right

Send NFTs to emails

Gaming

arrow right
Web3 Gaming Toolkit
arrow right

Make your game web3 ready

Ecommerce

arrow right
Shopify NFT App
arrow right

Sell NFTs in Shopify store

initiatives

MetaRing

Your cross-metaverse NFT access pass

Solutions
Developers

Developer Hub

arrow right

Best-in-class developer tools backed by top-notch documentation & support

book icon

documentation

arrow right

Wallet widget

arrow right

Wallet API

arrow right

Market API

arrow right

NFT API

arrow right

NFT Analytics

arrow right

Gaming toolkit

arrow right
globe icon

Resources

arrow right

Full API Reference

arrow right

API Changelog

arrow right

API Status

arrow right
info icon

Support

arrow right

Support desk

arrow right

Submit a ticket

arrow right

Dev Community

arrow right
Pricing
Resources
pen icon

Blog

arrow right
microphone icon

Podcast

arrow right
Company
home icon

About us

arrow right
briefcase icon

Careers

arrow right
Get in touchchevron right
navigation icon
close icon

Products

Wallet Solutions

NFT Tools

Wallet API

NFT API

Wallet Widget

NFT Analytics

Market Solutions

NFT Minter

Market API

NFT2Email

Venly Market

Gaming Toolkit

Shopify App

Developers

book icon

Documentation

arrow right

Wallet Widget

Wallet API

Market API

NFT API

NFT Analytics

Shopify app

globe icon

Resources

arrow right

Full API Reference

API Changelog

API Status

info icon

Support

arrow right

Support desk

Submit a ticket

Dev Community

home icon

About us

briefcase icon

Careers

pen icon

Blog

Get in touch

Table of contents

Example H3
Example H4
Example H5
Example H6

How to solve pending (stuck) transactions on Ethereum

/

June 4, 2020

Table of contents

Example H3
Example H4
Example H5
Example H6

If you are one of the many people that own an Ethereum wallet and launched a few transactions against the Ethereum blockchain, then the chance is high that you came face to face with a long-running transaction. Some people even reported having to wait for hours, days even months, hoping their transaction would be processed by the miners.

Since Ethereum transactions have to be processed sequentially it leaves the user completely stuck. Meaning the long-running transaction has to be processed before any other transaction from that wallet has a chance to be processed. Or does it…?

Why are they not being processed?

The main reason why Ethereum transactions are not being processed is that they are not getting picked up by a miner. So why are they not being picked up? To answer that question you need to understand that miners receive the transaction and code-processing fees (gas) for each block of transactions they process, it is part of their reward. If your transaction is not being mined it means that there are enough other transactions on the network that are willing to pay a higher fee to the miner to get processed. This means if the network is very busy, the transaction costs will be higher and vice versa.

So how do I know which fee (gas price) is sufficient?

In Arkane we automatically set the correct gas price based on the consumption on the network. Making it very easy for the user to get their transactions processed. Advanced users have the option to modify the gas price for their transaction, either higher, to get it processed more quickly. Or lower, if time is not a factor, leading to a lower transaction cost.

If you are using a different wallet, which might not support fluctuating gas prices, you can always set it manually, if your wallet allows it. To get an idea of the recommended gas price you can look at the gas tracker from Etherscan.

How to fix a long-running transaction

So what if you have launched a transaction with a gas price that is too low to be of any interest to the miners. Easy you just relaunch the same transaction, but this time with a higher gas price, high enough so it will be picked up. Now you will have two transactions almost identical, one with a low gas price and one with a high gas price. The only problem left to solve is to make sure, only one gets processed at the end.

At the beginning of this post, I said that on the Ethereum blockchain transactions are being processed sequentially, meaning transaction #2 will be processed before # 3 and so forth. It is also not possible to process transactions with the same sequence number. For example, it is not possible to process 2 transactions that have sequence #3, one of them will be dropped.

This brings us to our solution, when you launch your transaction with a correct gas price, you set the sequence number to the same number as the long-running transaction. The transaction with the higher gas price will be picked up sooner, meaning the sequence number will be processed, cause the long-running transaction to be dropped because his sequence is outdated.

At Arkane we understand that this might sounds complicated, therefore we’ve added a Resubmit button that takes care of all the technical stuff.

We even make it super easy to cancel a pending transaction.

Are there wallets that calculate the gas price automatically for you?

Luckily yes, Arkane Wallet, will analyze your transaction and set an average gas price, which you can modify easily to speed up or slow down your transaction.

The Arkane wallet is currently securing more than $5 million in crypto assets for more than 80,000 persons.

Sometimes a video says more than words

In this 10min video below we create a ‘stuck’ transaction and show you how you can speed them up or even cancel them. Yes, it is possible to cancel a blockchain transaction 😮. Apologies for the bad audio.


‍

Table of contents

Example H3
Example H4
Example H5
Example H6

How to solve pending (stuck) transactions on Ethereum

/

June 4, 2020

If you are one of the many people that own an Ethereum wallet and launched a few transactions against the Ethereum blockchain, then the chance is high that you came face to face with a long-running transaction. Some people even reported having to wait for hours, days even months, hoping their transaction would be processed by the miners.

Since Ethereum transactions have to be processed sequentially it leaves the user completely stuck. Meaning the long-running transaction has to be processed before any other transaction from that wallet has a chance to be processed. Or does it…?

Why are they not being processed?

The main reason why Ethereum transactions are not being processed is that they are not getting picked up by a miner. So why are they not being picked up? To answer that question you need to understand that miners receive the transaction and code-processing fees (gas) for each block of transactions they process, it is part of their reward. If your transaction is not being mined it means that there are enough other transactions on the network that are willing to pay a higher fee to the miner to get processed. This means if the network is very busy, the transaction costs will be higher and vice versa.

So how do I know which fee (gas price) is sufficient?

In Arkane we automatically set the correct gas price based on the consumption on the network. Making it very easy for the user to get their transactions processed. Advanced users have the option to modify the gas price for their transaction, either higher, to get it processed more quickly. Or lower, if time is not a factor, leading to a lower transaction cost.

If you are using a different wallet, which might not support fluctuating gas prices, you can always set it manually, if your wallet allows it. To get an idea of the recommended gas price you can look at the gas tracker from Etherscan.

How to fix a long-running transaction

So what if you have launched a transaction with a gas price that is too low to be of any interest to the miners. Easy you just relaunch the same transaction, but this time with a higher gas price, high enough so it will be picked up. Now you will have two transactions almost identical, one with a low gas price and one with a high gas price. The only problem left to solve is to make sure, only one gets processed at the end.

At the beginning of this post, I said that on the Ethereum blockchain transactions are being processed sequentially, meaning transaction #2 will be processed before # 3 and so forth. It is also not possible to process transactions with the same sequence number. For example, it is not possible to process 2 transactions that have sequence #3, one of them will be dropped.

This brings us to our solution, when you launch your transaction with a correct gas price, you set the sequence number to the same number as the long-running transaction. The transaction with the higher gas price will be picked up sooner, meaning the sequence number will be processed, cause the long-running transaction to be dropped because his sequence is outdated.

At Arkane we understand that this might sounds complicated, therefore we’ve added a Resubmit button that takes care of all the technical stuff.

We even make it super easy to cancel a pending transaction.

Are there wallets that calculate the gas price automatically for you?

Luckily yes, Arkane Wallet, will analyze your transaction and set an average gas price, which you can modify easily to speed up or slow down your transaction.

The Arkane wallet is currently securing more than $5 million in crypto assets for more than 80,000 persons.

Sometimes a video says more than words

In this 10min video below we create a ‘stuck’ transaction and show you how you can speed them up or even cancel them. Yes, it is possible to cancel a blockchain transaction 😮. Apologies for the bad audio.


‍

Keep reading

Coorest - How NFTs Can Save Carbon Markets

The Web3 startup Coorest is bringing greater transparency and integrity to the world of tree-planting carbon offsetting. And that’s just the beginning of their plans. 

Learn more

Dotted is Revolutionizing the Web3 Landscape with Venly’s Wallet API

"Venly's simple integration and robust tools allow us to focus on what we do best, providing a superior customer experience. Venly gives us the confidence as the foundation to build more useful features for our users," said Christopher Cheung, Co-Founder and CTO of Dotted.

Learn more

Turn Your Fashion-Selling Shopify Into a Luxury NFT Store

NFTs are revolutionizing customer engagement in the fashion industry, with global brands such as Adidas, Dolce & Gabbana, and Zara investing in digital legacies. Smaller fashion businesses can benefit from NFTs too with platforms like Venly making it easier and more accessible.

Learn more

Start building Web3 with Venly

Venly provides the best-in-class blockchain developer tools, resources and support to help you build and scale any Web3 product seamlessly.

Schedule a call

The web3 technology provider

Our HQ address

Antwerpsesteenweg 45, 2830 Willebroek, Belgium.

Products

WalletMarketNFT ToolsShopify AppGame toolkit

Developers

DocumentationAPI ReferenceAPI StatusSupport

Users

Log in - WalletHelp - WalletLog in - MarketHelp - Market

Company

About usCareersBlogPodcast

Contact

SalesPressSupportGeneral inquiries
© 2022 Venly. All right reserved.
Privacy PolicyTerms of ServiceCookies Policy
twitter logolinkedin logomedium logodiscord logospotify logogoogle podcasts iconapple podcasts logo
By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. View our Privacy Policy for more information.
PreferencesAccept all cookies
Privacy Preference Center
When you visit websites, they may store or retrieve data in your browser. This storage is often necessary for the basic functionality of the website. The storage may be used for marketing, analytics, and personalization of the site, such as storing your preferences. Privacy is important to us, so you have the option of disabling certain types of storage that may not be necessary for the basic functioning of the website. Blocking categories may impact your experience on the website.
Reject all cookiesAllow all cookies
Manage Consent Preferences by Category
Essential
Always Active
These items are required to enable basic website functionality.
Marketing
These items are used to deliver advertising that is more relevant to you and your interests. They may also be used to limit the number of times you see an advertisement and measure the effectiveness of advertising campaigns. Advertising networks usually place them with the website operator’s permission.
Personalization
These items allow the website to remember choices you make (such as your user name, language, or the region you are in) and provide enhanced, more personal features. For example, a website may provide you with local weather reports or traffic news by storing data about your current location.
Analytics
These items help the website operator understand how its website performs, how visitors interact with the site, and whether there may be technical issues. This storage type usually doesn’t collect information that identifies a visitor.
Confirm my preferences and close