MetaMask
communityPopular Ethereum wallet browser extension and mobile app for dApps and DeFi.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
POST
ethereum.request({method: eth_requestAccounts})Connect wallet
Returns
accounts[] with addressPOST
ethereum.request({method: eth_sendTransaction})Send transaction
Parameters
torecipient address (stringrequiredgasgas limit hex (stringoptionalfromsender address (stringrequiredvalueamount in wei hex (stringrequiredReturns
transactionHashPOST
ethereum.request({method: personal_sign})Sign message
Parameters
addresssigner address (stringrequiredmessagemessage to sign (stringrequiredReturns
signature