phantomWallet
const
phantomWallet:object
Defined in: wallets/src/phantom/index.ts:12
Type declaration
Section titled “Type declaration”connectPhantom
Section titled “connectPhantom”connectPhantom:
object
connectPhantom.connectWallet()
Section titled “connectPhantom.connectWallet()”connectWallet: (
connectParams
) => (…params
) =>Promise
<boolean
>
Parameters
Section titled “Parameters”connectParams
Section titled “connectParams”addChain
Section titled “addChain”AddChainType
Returns
Section titled “Returns”(…
params
):Promise
<boolean
>
Parameters
Section titled “Parameters”params
Section titled “params”…[Chain
[]]
Returns
Section titled “Returns”Promise
<boolean
>
connectPhantom.supportedChains
Section titled “connectPhantom.supportedChains”supportedChains: (
Bitcoin
|Ethereum
|Solana
)[]