Swig TS — API References
Preparing search index...
@swig-wallet/classic
SolInstruction
Class SolInstruction
Index
Constructors
constructor
Properties
accounts
data
program
to
Kit
Instruction
to
Web3
Instruction
from
Constructors
constructor
new
SolInstruction
(
inst
:
{
accounts
:
SolAccountMeta
[]
;
data
:
ReadonlyUint8Array
;
program
:
SolPublicKey
;
}
,
)
:
SolInstruction
Parameters
inst
:
{
accounts
:
SolAccountMeta
[]
;
data
:
ReadonlyUint8Array
;
program
:
SolPublicKey
}
Returns
SolInstruction
Properties
accounts
accounts
:
SolAccountMeta
[]
data
data
:
Uint8Array
program
program
:
SolPublicKey
to
Kit
Instruction
toKitInstruction
:
()
=>
KitInstruction
<
IAccountMeta
[]
,
Uint8Array
<
ArrayBufferLike
>
,
>
to
Web3
Instruction
toWeb3Instruction
:
()
=>
Web3Instruction
<
Web3PublicKey
,
Uint8Array
<
ArrayBufferLike
>
,
>
Static
from
from
:
<
Instruction
extends
|
Web3Instruction
<
Web3PublicKey
,
ReadonlyUint8Array
,
Web3PublicKey
>
|
KitInstruction
<
IAccountMeta
[]
,
ReadonlyUint8Array
,
string
>
,
>
(
inst
:
Instruction
,
)
=>
SolInstruction
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
accounts
data
program
to
Kit
Instruction
to
Web3
Instruction
from
Swig TS — API References
Loading...