Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [metamask]

Question about the Metamask chrome's plugin.

Filter by
Sorted by
Tagged with
0 votes
1 answer
13 views

Want to redirect to react component based on metamask address

I'm building an Identification management dApp, in which I have to redirect to a different component based on selected MetaMask account address. For example, if I'm an applicant then I will be ...
Shorna's user avatar
  • 17
0 votes
1 answer
12 views

Converting Eth price correctly in JS

I have this snippet const conversionFactor = calculateConversionFactor(amountToSendFloat); console.log('the conversion factor is', ...
ROY BURSON's user avatar
0 votes
0 answers
8 views

how to use the js library in nest js that doesn't have types

below is a controller and service code import { Body, Controller, Get, Post, HttpStatus, Res } from '@nestjs/common'; import { AppService } from './app.service'; import { request } from '../utils/...
Anwar's user avatar
  • 51
1 vote
1 answer
175 views

Is there a way to make the user pay "aggressive" gas fees automatically instead of them choosing that in MetaMask?

I am having issues with MetaMask in my DApp because users are using wrong or invalid RPCs. Is there a way of making users add a network automatically to MetaMask with the right RPC and override the ...
Falcon Stakepool's user avatar
0 votes
1 answer
15 views

Where do the prices of token, displayed in Metamask and on Block Explorers, come from?

When you have tokens in your wallet, and view them in a wallet application like Metamask or via public block explorers like Etherscan, PolygonScan etc, you can see a dollar value for the tokens. Where ...
Alexander Herranz's user avatar
0 votes
1 answer
25 views

How to create a token standard?

I need to create my own token standard for a project because I can't find anything that fits my requirements. When I tried looking this up online, I only saw results for 'how to create your own token',...
AsianDora's user avatar
0 votes
0 answers
15 views

There's an auto withdraw bot activated in my wallet, how can i get my wallet back? [duplicate]

There's an auto withdraw bot activated in my wallet and all my coins are being transferred out automatically, please does anyone know how i can get my wallet back, i can't even deposit gas fee to ...
Olskido's user avatar
0 votes
0 answers
14 views

Lost my coins after bought on pancakeswap

I have buy IPTOKEN token. The transition is succesful. But after receive on my wallet coins disapier from my wallet. Anyone can help me. This is trasnsaction https://bscscan.com/tx/...
gendos's user avatar
  • 1
0 votes
0 answers
18 views

Sending a specific ETH balance - FiFo

I'd like to send a specific balance of ETH from one address using Metmask. Does anyone know how to identify specific tokens and then execute a transaction using only these tokens while all other ...
CollinG's user avatar
0 votes
2 answers
17 views

Is it possible to validate the Metamask personal_sign in the back end?

I am trying to understand the point of signing a personal message in the client. I guess this is usefull to confirm that the user is the owner of the address. But since this sign is done in the client ...
Enzo's user avatar
  • 177
0 votes
1 answer
27 views

Getting execution reverted: ERC20: transfer amount exceeds allowance code: UNPREDICTABLE_GAS_LIMIT method

Getting this error when attempting to call an external swap function in a contract I created on the Sepolia Test Network from Hardhat TypeScript. reason: 'execution reverted: ERC20: transfer amount ...
Ian Forsyth 's user avatar
0 votes
0 answers
23 views

Can't add liquidity to my token

I created a token and now I need to add liquidity to it. Here is a code of my contract: // SPDX-License-Identifier: MIT pragma solidity 0.8.20; abstract contract Context { function _msgSender() ...
Regular User's user avatar
0 votes
0 answers
7 views

How do I sign a transaction from React Native using WalletConnect?

I am designing a dApp using React-Native and Expo and want to enable users to sign and send transactions client-side. So far, I have this: try { const signedTx = await exportedProvider?....
Avery's user avatar
  • 1
1 vote
1 answer
35 views

Error Connecting to Ethereum Wallet Using ethers.js in HTML Page

I am working on an HTML page to connect to an Ethereum wallet and initiate transactions using ethers.js. However, when I attempt to connect to the wallet by clicking the 'Connect Wallet' button, I ...
Talha Sajid Chaudhary's user avatar
0 votes
1 answer
25 views

Invalid parameters: must provide an Ethereum address

I am using ethers.js and Blocknative to connect wallets for my DApp. I have both MetaMask and OKX Wallet extensions installed on Chrome. Under certain circumstances, when initiating interactions, I ...
R L's user avatar
  • 1
0 votes
0 answers
18 views

Need to cancel a pending transaction to a smart contract. I AM NOT A DEV :(

Would really appreciate if you could help me out. So i had almost no eth left and decided to be cheap by place a transaction with a very small gas fee. Now the transaction is pending more than 24h and ...
weedalik's user avatar
0 votes
1 answer
33 views

web3.js code works on chrome + metamask but dosent work on metamask mobile

i have a few codes that works fine on chrome desktop but dosent work with metamask mobile im using web3.js 1.2.7 here is code for connecting to wallet : import Web3 from 'web3'; var web3 = new Web3(...
Hosein In jast's user avatar
1 vote
1 answer
64 views

Metamask computing real rewards of Lido

How does Metamask calculate the rewards on a LIDO wallet? After depositing some ETH, the user receives an amount on stETH as a blockchain transaction. After this, LIDO assign daily rewards for users, ...
Suzana Maranhão Moreno's user avatar
0 votes
1 answer
35 views

queued transactions stuck on metamask on connection to anvil ( foundry )

I created and deployed a contract through foundry, setup the front end and stuff using ethers used anvil to spin up a chain and used the private key given by anvil to import account on metamask. ...
rsai's user avatar
  • 1
0 votes
0 answers
12 views

How to access MetaMask from React (Vite) Browser Extension

I need to authenticate my web extension with MetaMask. The extension is made using React and Vite, and I don't have access to window.ethereum so I'm stuck. I looked into metamask-extension-provider ...
stuckoverflow's user avatar
0 votes
1 answer
13 views

How to send a request for eth to a user that they can confirm with their metamask wallet?

I am trying to build a Dapp that relies on this functionality. A user will request another user for some eth, and the sender would then see a pop up notification on their wallet ex Metamask or some ...
bot_one's user avatar
0 votes
0 answers
9 views

I want to cash in my 0.0249 ETH but it's saying insufficient funds?

I tried this via Transak on Metamask. Is there some minimum amount so I'm not allowed to get my money out? I hated giving them all my data to set this up too and then it didn't go through. I'm new and ...
Eva's user avatar
  • 1
0 votes
0 answers
17 views

How can I make my token's fiat price shown on Metamask?

That's where Metamask team sent me lol. So we have a token and it's listed both on CMC and CG and we want it's fiat value to show on metamask. Does anyone know how can we do it?
tikitaka's user avatar
0 votes
0 answers
45 views

Why is the transaction fee very high?

I am sending transaction to Sepolia testnet from browser. The code I have is: await provider.request({ method: 'eth_sendTransaction', params: [ { from: account....
Joey Yi Zhao's user avatar
0 votes
1 answer
14 views

My web3 js transaction has a gas estimate of $0.02 displayed with rainbow wallet, but with metamask it displays as $2.00

The more accurate is $0.02, is there anything I can do to make metamask look better. This is on base chain.
NimChimpsky's user avatar
0 votes
1 answer
34 views

Successful swap but didnt received the token in my wallet

I did 2 swaps using Uniswap on Ethereum network. 1st one: ., it didn't appear on my metamask wallet. 2nd one: ., it appeared on my metamask wallet. How do I retrieve the 1st swap to my wallet? Thanks!
Andrew's user avatar
  • 1
0 votes
0 answers
16 views

Got metamask connection disconnect when sending a transaction

I am building a dapp with web3 and call smart contract running in sepolia testnet. I have below code to send transaction: provider.request({ method: 'eth_sendTransaction', params: [ ...
Joey Yi Zhao's user avatar
0 votes
1 answer
23 views

Pinata pinList API Fetching Unpinned Images and Files

I am encountering an issue with Pinata's API (https://api.pinata.cloud/data/pinList) where despite unpining several images and files from my Pinata Cloud account, the API continues to fetch the ...
Umar Raza's user avatar
0 votes
1 answer
30 views

Geth version 1.14.4-stable Error: authentication needed: password or unlock. Transfer issue?

I want to make a transfer between two wallets; one is the address I set up on my private blockchain, and the other is my Metamask address. However, I keep encountering the same error. I have attached ...
yukara's user avatar
  • 3
1 vote
1 answer
105 views

How can I decode the output of the first call and use it to send a transaction?

I am attempting to call view function “0x…” with argument of value “3…” to a specific address “0x…” and also send X wei to that address I am looking to acquire the hash of the successful tx. Tools/...
QuantumDomain's user avatar
0 votes
1 answer
14 views

Problem with metamask wallet with debian LINUX

have a prblem with METAMASK wallet.I forgot my seedphrase but have the password,I use Linux Debian and I need to access to the safe,u have solution?
azye a's user avatar
  • 1
0 votes
0 answers
13 views

How can I switch to address in list connected address in metamask?

I am facing an issues that: If user in account A want to sign message of account B. How can I switch to account B and popup sign message?
Chase Nguyen's user avatar
0 votes
0 answers
32 views

How can I get private key from metamask when sending a transaction?

I am using web3 to send a transaction to smart contract in ethereum network. web3 library has a method web3.eth.accounts.signTransaction(tx, privateKey [, callback]); to sign a transaction but it ...
Joey Yi Zhao's user avatar
0 votes
0 answers
29 views

Logo not appearing on Metamask custom network

I know the title sounds similar to some other posted questions here, but hear me out. I was exploring ways to add a custom token logo, ON a custom network. Here's what I'm talking about : Is there a ...
Steffen Darwin's user avatar
2 votes
1 answer
66 views

Programatically override token symbol with MetaMask wallet_watchAsset

MetaMask does not allow to add custom tokens with a symbol of more than 11 characters. In order to do so, users need to customise the symbol manually and add it. However, we would like to ...
supersize's user avatar
0 votes
0 answers
10 views

Metamask not connecting with remix ide

I have created a contract in Remix IDE which is provided by zama.ai. After creating the contract I have compiled the contract successfully and connected it to metamask but when I am going to deploy ...
Ronita Adhikari's user avatar
0 votes
0 answers
64 views

Getting error "Could not fetch chain ID. Is your RPC URL correct?" in metamask while trying to add Anvil running on wsl

I was trying to add the Anvil to add on metamask, which was running in WSL. In my VScode the Anvil is running: What is causing the problem here ? How to fix the problem ?
Asir Shahriar Roudra's user avatar
0 votes
0 answers
75 views

Transfered USDC from Arbitrum Network in Metamask to Phantom Wallet Eth address - I cant access funds

I transfered USDC from Arbitrum Network in Metamask to Phantom Eth address - I cant access funds. Does anyone know of a way to recover? Thanks
Petrichordia's user avatar
0 votes
0 answers
22 views

I imported money into etherscan but it didn’t show my real balance [duplicate]

I’m devastated. I poured over a thousand dollars into eth and decided to invest it in a contract bot. After I moved my money into the bot, it shows that I have successfully transacted the money (0....
Eth bot's user avatar
0 votes
0 answers
7 views

How to integrate mobail Metamask or any cryptocurrency wallet with mobile browser?

I have been looking for the way of integrating mobile Metamask or any cryptocurrency with mobile browser, not with internal built-in mobile browser in Wallets. If I correctly remember it, I have seen ...
DHC's user avatar
  • 367
1 vote
0 answers
18 views

Solidity: getStudentNotifications Retrieves notifications to other metamask account instead of one metamask account

I have two metamask accounts, one is Vamshi (student) and Mike(University). I use Vamshi's account to call the function sendRecordsToUniversity and the university address, I use here is Mike's. so the ...
Robert Downey Jr.'s user avatar
2 votes
1 answer
35 views

Public key encryption using metamask on solidity smart contract

Questions: In Solidity, how can we fetch the encrypted public key for the wallet directly from the smart contract using solidity? I have managed to retrieve it using JavaScript, but I need to know ...
No One's user avatar
  • 21
0 votes
0 answers
48 views

Returning the ETH from Smart Contract to Metamask (Bot scam) [duplicate]

Unfortunately I was trying this scam bot and I transferred the ETH to the Smart Contract, it's my mistake. However I am not able to transfer back from Contract address to Metamask address. The bot ...
Srik's user avatar
  • 1
0 votes
0 answers
16 views

Claim transaction Fail - We were not able to estimate gas. There might be an error in the contract and this transaction may fail

I am getting the error below when trying to claim my NAVI tokens into my metamask wallet. Gas fees are insanely high and have yet to find a solution: *"We were not able to estimate gas. There ...
user132912's user avatar
0 votes
0 answers
8 views

metamask transfer amount different to etherscan amount

bought a erc-20 token on uniswap using my ledger account on metamask. when i got tokens i transferred them to another account on the same wallet. the amount that appeared was much less that was sent ...
luke's user avatar
  • 1
0 votes
1 answer
24 views

ERC20 payment mechanism solution

I want to implement payment mechanism on my web site . after too many search on internet . i understood payment gateways like cryptomus or bitpay generate new address peer payment order . then never ...
mah454's user avatar
  • 101
0 votes
1 answer
30 views

Execution reverted - transaction mined but execution failed

I have looked at previous answers for this title but they don't seem to help me. My contract contract is deployed and verified on the Sepolia test net using Remix. This is the failed transaction The ...
pigfox's user avatar
  • 71
0 votes
1 answer
23 views

Sent Eth from MetaMask wallet to new address

I sent eth from my MetaMask wallet, 0xDa79E751c4886D9691bC5ce61f7afe7468602a6B, to another address a year ago. I forgot I sent it and mistakenly thought it was still on MetaMask. The address I sent it ...
Kaden Miller's user avatar
0 votes
0 answers
32 views

Can my ETH be frozen by Metamask's Validator Staking Contract?

Does MetaMask have the power to freeze my assets? I'm not an expert but Validator Staking looks to me like a contract interacting with the beacon chain contract. Does me investing/interacting into ...
user23507422's user avatar
1 vote
0 answers
180 views

MetaMask - RPC Error: The method "eth_maxPriorityFeePerGas" does not exist / is not available

beginner here. I understand that Hardhat does not support eth_maxPriorityFeePerGas anymore, which is why I am getting the following error: VM4452:1 MetaMask - RPC Error: The method "...
Mars Rav's user avatar

1
2 3 4 5
45