Provider API Methods

The ME Wallet follows the specs defined in the Solana Wallet Standard

Provider Methods

Connect

Prompts a connection to a user's Magic Eden Wallet account.

Params

Response

signMessage

Prompts to sign a message with the user's connected Magic Eden Wallet account

Params

Response

signAndSendTransaction

Prompts to both sign and send a transaction with the user's connected Magic Eden Wallet account

Params

where SendOptions is defined as such:

export declare type SendOptions = {
    /** disable transaction verification step */
    skipPreflight?: boolean;
    /** preflight commitment level */
    preflightCommitment?: Commitment;
    /** Maximum number of times for the RPC node to retry sending the transaction to the leader. */
    maxRetries?: number;
    /** The minimum slot that the request can be evaluated at */
    minContextSlot?: number;
};

export declare type Commitment = 'processed' | 'confirmed' | 'finalized' | 'recent' | 'single' | 'singleGossip' | 'root' | 'max';

Response

signTransaction

Prompts to sign a transaction (but not send) with the user's connected Magic Eden Wallet account

Params

Response

signAllTransactions

Prompts to sign all passed transactions (but not send) with the user's connected Magic Eden Wallet account

Prompts to sign a transaction (but not send) with the user's connected Magic Eden Wallet account

Params

Response

Last updated