Preparing search index...
The search index is not available
@drift-labs/sdk
@drift-labs/sdk
Wallet
Class Wallet
Hierarchy
Wallet
Implements
IWallet
IVersionedWallet
Index
Constructors
constructor
Properties
payer
Accessors
public
Key
Methods
sign
All
Transactions
sign
All
Versioned
Transactions
sign
Transaction
sign
Versioned
Transaction
Constructors
constructor
new
Wallet
(
payer
:
Keypair
)
:
Wallet
Parameters
payer:
Keypair
Returns
Wallet
Properties
Readonly
payer
payer
:
Keypair
Accessors
public
Key
get
publicKey
(
)
:
PublicKey
Returns
PublicKey
Methods
sign
All
Transactions
sign
All
Transactions
(
txs
:
Transaction
[]
)
:
Promise
<
Transaction
[]
>
Parameters
txs:
Transaction
[]
Returns
Promise
<
Transaction
[]
>
sign
All
Versioned
Transactions
sign
All
Versioned
Transactions
(
txs
:
VersionedTransaction
[]
)
:
Promise
<
VersionedTransaction
[]
>
Parameters
txs:
VersionedTransaction
[]
Returns
Promise
<
VersionedTransaction
[]
>
sign
Transaction
sign
Transaction
(
tx
:
Transaction
)
:
Promise
<
Transaction
>
Parameters
tx:
Transaction
Returns
Promise
<
Transaction
>
sign
Versioned
Transaction
sign
Versioned
Transaction
(
tx
:
VersionedTransaction
)
:
Promise
<
VersionedTransaction
>
Parameters
tx:
VersionedTransaction
Returns
Promise
<
VersionedTransaction
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@drift-
labs/sdk
BN
pyth
Wallet
constructor
payer
public
Key
sign
All
Transactions
sign
All
Versioned
Transactions
sign
Transaction
sign
Versioned
Transaction
Generated using
TypeDoc