@lightprotocol/stateless.js - v0.22.1-alpha.1
Other Libraries
Documentation
GitHub
Preparing search index...
PackedAccounts
Class PackedAccounts
Index
Constructors
constructor
Methods
new
With
System
Accounts
new
With
System
Accounts
V2
add
Pre
Accounts
Signer
add
Pre
Accounts
Signer
Mut
add
Pre
Accounts
Meta
add
System
Accounts
add
System
Accounts
V2
insert
Or
Get
insert
Or
Get
Read
Only
insert
Or
Get
Config
to
Account
Metas
Constructors
constructor
new
PackedAccounts
()
:
PackedAccounts
Returns
PackedAccounts
Methods
Static
new
With
System
Accounts
newWithSystemAccounts
(
config
:
SystemAccountMetaConfig
)
:
PackedAccounts
Parameters
config
:
SystemAccountMetaConfig
Returns
PackedAccounts
Static
new
With
System
Accounts
V2
newWithSystemAccountsV2
(
config
:
SystemAccountMetaConfig
)
:
PackedAccounts
Parameters
config
:
SystemAccountMetaConfig
Returns
PackedAccounts
add
Pre
Accounts
Signer
addPreAccountsSigner
(
pubkey
:
PublicKey
)
:
void
Parameters
pubkey
:
PublicKey
Returns
void
add
Pre
Accounts
Signer
Mut
addPreAccountsSignerMut
(
pubkey
:
PublicKey
)
:
void
Parameters
pubkey
:
PublicKey
Returns
void
add
Pre
Accounts
Meta
addPreAccountsMeta
(
accountMeta
:
AccountMeta
)
:
void
Parameters
accountMeta
:
AccountMeta
Returns
void
add
System
Accounts
addSystemAccounts
(
config
:
SystemAccountMetaConfig
)
:
void
Parameters
config
:
SystemAccountMetaConfig
Returns
void
add
System
Accounts
V2
addSystemAccountsV2
(
config
:
SystemAccountMetaConfig
)
:
void
Parameters
config
:
SystemAccountMetaConfig
Returns
void
insert
Or
Get
insertOrGet
(
pubkey
:
PublicKey
)
:
number
Parameters
pubkey
:
PublicKey
Returns
number
insert
Or
Get
Read
Only
insertOrGetReadOnly
(
pubkey
:
PublicKey
)
:
number
Parameters
pubkey
:
PublicKey
Returns
number
insert
Or
Get
Config
insertOrGetConfig
(
pubkey
:
PublicKey
,
isSigner
:
boolean
,
isWritable
:
boolean
,
)
:
number
Parameters
pubkey
:
PublicKey
isSigner
:
boolean
isWritable
:
boolean
Returns
number
to
Account
Metas
toAccountMetas
()
:
{
remainingAccounts
:
AccountMeta
[]
;
systemStart
:
number
;
packedStart
:
number
;
}
Returns
{
remainingAccounts
:
AccountMeta
[]
;
systemStart
:
number
;
packedStart
:
number
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
new
With
System
Accounts
new
With
System
Accounts
V2
add
Pre
Accounts
Signer
add
Pre
Accounts
Signer
Mut
add
Pre
Accounts
Meta
add
System
Accounts
add
System
Accounts
V2
insert
Or
Get
insert
Or
Get
Read
Only
insert
Or
Get
Config
to
Account
Metas
Other Libraries
Documentation
GitHub
@lightprotocol/stateless.js - v0.22.1-alpha.1
Loading...