JavaScript SDK API Reference / Instructions / AccountKey
Interface: AccountKey
Defined in: instructions/types.ts:11
Account metadata used when constructing a Solana transaction instruction.
Example
const account: AccountKey = { pubkey: owner, isSigner: true, isWritable: false };
Properties
isSigner
isSigner:
boolean
Defined in: instructions/types.ts:15
Whether the account must sign the transaction.
isWritable
isWritable:
boolean
Defined in: instructions/types.ts:17
Whether the instruction may modify the account.
pubkey
pubkey:
PublicKey
Defined in: instructions/types.ts:13
Public key of the account.