Provider API Methods
The ME Wallet follows the specs defined in the Solana Wallet Standard
Provider Methods
Connect
Connect
Prompts a connection to a user's Magic Eden Wallet account.
Params
Property | Type | Description |
|
| Optional flag |
Response
Property | Type | Description |
---|---|---|
|
| The returned PublicKey of the connected wallet |
signMessage
signMessage
Prompts to sign a message with the user's connected Magic Eden Wallet account
Params
Property | Type | Description |
|
| The message to sign for |
|
| Encoding format for displaying the message |
Response
Property | Type | Description |
---|---|---|
|
| The signed message in Bytes and the associated PublicKey that signed |
signAndSendTransaction
signAndSendTransaction
Prompts to both sign and send a transaction with the user's connected Magic Eden Wallet account
Params
Property | Type | Description |
|
| A Transaction or VersionedTransaction object, or the associated bytes. |
|
| Options for sending transactions |
where SendOptions
is defined as such:
Response
Property | Type | Description |
---|---|---|
Promise<{ signature: string | Bytes }> |
| The transaction signature |
signTransaction
signTransaction
Prompts to sign a transaction (but not send) with the user's connected Magic Eden Wallet account
Params
Property | Type | Description |
|
| An unsigned Transaction or VersionedTransaction object, or the associated bytes. |
Response
Property | Type | Description |
|
| A signed Transaction or VersionedTransaction object, or the associated bytes. |
signAllTransactions
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
Property | Type | Description |
|
| An unsigned Transaction or VersionedTransaction object array, or the associated bytes array. |
Response
Property | Type | Description |
|
| A signed Transaction or VersionedTransaction object array, or the associated bytes array. |
Last updated