Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contract interaction transaction: Metamask RPC Error #30

Open
myanzik opened this issue Jan 22, 2020 · 3 comments
Open

Contract interaction transaction: Metamask RPC Error #30

myanzik opened this issue Jan 22, 2020 · 3 comments

Comments

@myanzik
Copy link

myanzik commented Jan 22, 2020

I am running project on ganache. when i try to buy tokens by sending transaction via metamask- transaction fails by giving following errors:

inpage.js:1 MetaMask - RPC Error: Error: [ethjs-rpc] rpc error with payload {"id":411318744490,"jsonrpc":"2.0","params":["0xf892018501dcd650008307a12094f9a46958e0fb6575f06713f711b39684d23a92ae87038d7ea4c68000a43610724e0000000000000000000000000000000000000000000000000000000000000001822d46a048e440266148abb2b4a1bee91e6854683f5228451791d9314b0a09f816aaece5a003c233087a5cfc720acf0c363da1c76850dcf77dbcce1aec527e8e850afc6b5c"],"method":"eth_sendRawTransaction"} [object Object] 
{code: -32603, message: "Error: [ethjs-rpc] rpc error with payload 
{"id":41…method":"eth_sendRawTransaction"} [object Object]",
 stack: "Error: Error: [ethjs-rpc] rpc error with payload {…method":"eth_sendRawTransaction"} [object Object]"}
(index):1 Uncaught (in promise) {code: -32603, message: "Error: [ethjs-rpc] rpc error with payload {"id":41…method":"eth_sendRawTransaction"} [object Object]", stack: "Error: Error: [ethjs-rpc] rpc error with payload {…method":"eth_sendRawTransaction"} [object Object]"}
Promise.then (async)
buyTokens @ app.js:123
onsubmit @ (index):31
@interbiznw
Copy link

you figure this out?

@spaceh3ad
Copy link

Have same problem ;(

@dracoder
Copy link

dracoder commented Jan 4, 2022

same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants