Documentation
Preparing search index...
@solana/wallet-adapter-base
require
StandardWalletAdapterProps
Interface StandardWalletAdapterProps<Name>
interface
StandardWalletAdapterProps
<
Name
extends
string
=
string
>
{
connected
:
boolean
;
connecting
:
boolean
;
icon
:
string
;
name
:
WalletName
<
Name
>
;
publicKey
:
null
|
PublicKey
;
readyState
:
WalletReadyState
;
standard
:
true
;
supportedTransactionVersions
?:
SupportedTransactionVersions
;
url
:
string
;
wallet
:
WalletAdapterCompatibleStandardWallet
;
autoConnect
()
:
Promise
<
void
>
;
connect
()
:
Promise
<
void
>
;
disconnect
()
:
Promise
<
void
>
;
sendTransaction
(
transaction
:
Transaction
|
VersionedTransaction
,
connection
:
Connection
,
options
?:
SendTransactionOptions
,
)
:
Promise
<
string
>
;
}
Type Parameters
Name
extends
string
=
string
Hierarchy (
View Summary
)
WalletAdapterProps
<
Name
>
StandardWalletAdapterProps
Index
Properties
connected
connecting
icon
name
public
Key
ready
State
standard
supported
Transaction
Versions?
url
wallet
Methods
auto
Connect
connect
disconnect
send
Transaction
Properties
connected
connected
:
boolean
connecting
connecting
:
boolean
icon
icon
:
string
name
name
:
WalletName
<
Name
>
public
Key
publicKey
:
null
|
PublicKey
ready
State
readyState
:
WalletReadyState
standard
standard
:
true
Optional
supported
Transaction
Versions
supportedTransactionVersions
?:
SupportedTransactionVersions
url
url
:
string
wallet
wallet
:
WalletAdapterCompatibleStandardWallet
Methods
auto
Connect
autoConnect
()
:
Promise
<
void
>
Returns
Promise
<
void
>
connect
connect
()
:
Promise
<
void
>
Returns
Promise
<
void
>
disconnect
disconnect
()
:
Promise
<
void
>
Returns
Promise
<
void
>
send
Transaction
sendTransaction
(
transaction
:
Transaction
|
VersionedTransaction
,
connection
:
Connection
,
options
?:
SendTransactionOptions
,
)
:
Promise
<
string
>
Parameters
transaction
:
Transaction
|
VersionedTransaction
connection
:
Connection
Optional
options
:
SendTransactionOptions
Returns
Promise
<
string
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
connected
connecting
icon
name
public
Key
ready
State
standard
supported
Transaction
Versions
url
wallet
Methods
auto
Connect
connect
disconnect
send
Transaction
Documentation
Loading...