Magic Eden Wallet Developer Docs
  • 👋Welcome
    • Wallet Introduction
  • 📙Bitcoin
    • Diving into Bitcoin
    • Detecting the Provider
    • Connecting to the Wallet
    • Signing a Message
    • Signing a Transaction
    • Sending BTC
    • Provider API Methods
    • Provider Events
    • FAQs
  • 📗Solana
    • Diving Into Solana
    • Solana Wallet Adapter
    • Connect Directly to the ME Solana Provider
    • Signing a Message
    • Sending a Transaction
    • Provider API Methods
    • Provider Events
    • FAQs
  • 📘EVM
    • Diving into the EVM
    • Connect Directly to the ME EVM Provider
    • Signing a Message
    • Sending a Transaction
    • Library Integrations
      • Wallet Connect
      • Rainbow Kit
      • Wagmi
    • Provider API Methods
    • Provider Events
    • FAQs
  • ❓Resources
    • Demo Apps
    • Logos and Brand Assets
Powered by GitBook
On this page
  • Provider Methods
  • request
  • isConnected
  1. EVM

Provider API Methods

PreviousWagmiNextProvider Events

Last updated 10 months ago

Provider Methods

request

The EVM provider exposes a general request function that has support for most wallet related that you could need. The particular RPC call is passed under the method param

Params

Property

Type

Description

args

RequestArguments

The request arguments to specify the underlying RPC call

Where RequestArguments is defined as

export interface RequestArguments {
  method: string
  params?: unknown[] | Record<string, unknown>
}

Response

Property
Type
Description

Promise<unknown>

unknown

unknown

isConnected

boolean to see if the ME wallet account is currently connected

Params

None

Response

Property
Type
Description

boolean

boolean

flag indicating whether the user is connected or not

📘
RPC calls