Search
Preparing search index...
The search index is not available
@coral-xyz/anchor - v0.30.1
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@coral-xyz/anchor - v0.30.1
Wallet
Class Wallet
Hierarchy
default
Wallet
Index
Constructors
constructor
Properties
payer
Accessors
public
Key
Methods
sign
All
Transactions
sign
Transaction
local
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
<
T
>
(
txs
:
T
[]
)
:
Promise
<
T
[]
>
Type Parameters
T
extends
Transaction
|
VersionedTransaction
Parameters
txs:
T
[]
Returns
Promise
<
T
[]
>
sign
Transaction
sign
Transaction
<
T
>
(
tx
:
T
)
:
Promise
<
T
>
Type Parameters
T
extends
Transaction
|
VersionedTransaction
Parameters
tx:
T
Returns
Promise
<
T
>
Static
local
local
(
)
:
default
Returns
default
Exports
Internals
utils
Externals
BN
web3
Wallet
constructor
payer
public
Key
sign
All
Transactions
sign
Transaction
local
Generated using
TypeDoc