Class AccountMeta
java.lang.Object
com.codename1.crypto.solana.AccountMeta
One account an instruction touches, with whether it must sign and whether it is written.
-
Constructor Summary
ConstructorsConstructorDescriptionAccountMeta(SolanaAddress address, boolean signer, boolean writable) An account reference. -
Method Summary
Modifier and TypeMethodDescriptionThe account.booleanisSigner()Whether the account's key must sign the transaction.booleanWhether the instruction writes the account.static AccountMetareadonly(SolanaAddress address) A read-only account that does not sign.static AccountMetasigner(SolanaAddress address) A read-only account that signs.static AccountMetasignerWritable(SolanaAddress address) A writable account that signs.static AccountMetawritable(SolanaAddress address) A writable account that does not sign.
-
Constructor Details
-
AccountMeta
An account reference.
-
-
Method Details
-
signerWritable
A writable account that signs. -
signer
A read-only account that signs. -
writable
A writable account that does not sign. -
readonly
A read-only account that does not sign. -
getAddress
The account. -
isSigner
public boolean isSigner()Whether the account's key must sign the transaction. -
isWritable
public boolean isWritable()Whether the instruction writes the account.
-