Phantom Solana Provider API

Solana wallet provider injected at window.phantom.solana exposing connect, disconnect, signMessage, signIn (Sign-In With Solana), signTransaction, signAllTransactions, and signAndSendTransaction. Implements the Solana Wallet Standard so dApps can also integrate through @solana/wallet-adapter. Supports versioned transactions, priority fees, Token-2022 extensions, and Solana Actions & Blinks. Emits connect, disconnect, and accountChanged events; exposes isPhantom, publicKey, and isConnected properties.

Phantom Solana Provider API is one of 10 APIs that Phantom publishes on the APIs.io network.

Tagged areas include Provider, Solana, Wallet, Wallet Standard, and Web3. The published artifact set on APIs.io includes API documentation.

API entry from apis.yml

apis.yml Raw ↑
aid: phantom:phantom-solana-provider-api
name: Phantom Solana Provider API
tags:
- Provider
- Solana
- Wallet
- Wallet Standard
- Web3
humanURL: https://docs.phantom.com/solana/integrating-phantom
properties:
- url: https://docs.phantom.com/solana/integrating-phantom
  type: Documentation
- url: https://docs.phantom.com/developer-powertools/wallet-standard
  type: Documentation
- url: https://docs.phantom.com/developer-powertools/sign-in-with-standards
  type: Documentation
- url: https://docs.phantom.com/developer-powertools/solana-versioned-transactions
  type: Documentation
- url: https://docs.phantom.com/developer-powertools/solana-token-extensions-token22
  type: Documentation
- url: https://docs.phantom.com/developer-powertools/solana-priority-fees
  type: Documentation
- url: https://docs.phantom.com/developer-powertools/solana-actions-and-blinks
  type: Documentation
description: Solana wallet provider injected at window.phantom.solana exposing connect, disconnect, signMessage,
  signIn (Sign-In With Solana), signTransaction, signAllTransactions, and signAndSendTransaction. Implements
  the Solana Wallet Standard so dApps can also integrate through @solana/wallet-adapter. Supports versioned
  transactions, priority fees, Token-2022 extensions, and Solana Actions & Blinks. Emits connect, disconnect,
  and accountChanged events; exposes isPhantom, publicKey, and isConnected properties.