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 Events
  • accountsChanged
  1. Bitcoin

Provider Events

Provider Events

accountsChanged

Description

An event that is emitted when a user changes the account they are looking at on the ME Wallet

Properties

Property

Type

Description

accounts

BitcoinAccount[]

The array of BitcoinAccount objects from the user's ME wallet

BitcoinAccount Response Properties

Property
Type
Description

address

string

The user's BTC address

purpose

enum - 'payment' | 'ordinals'

The purpose of the address is used to indicate whether this address is preferrably used for payments or ordinals/runes

PreviousProvider API MethodsNextFAQs

Last updated 10 months ago

📙