Class AccountMeta

java.lang.Object
com.codename1.crypto.solana.AccountMeta

public final class AccountMeta extends Object
One account an instruction touches, with whether it must sign and whether it is written.
  • Constructor Details

    • AccountMeta

      public AccountMeta(SolanaAddress address, boolean signer, boolean writable)
      An account reference.
  • Method Details

    • signerWritable

      public static AccountMeta signerWritable(SolanaAddress address)
      A writable account that signs.
    • signer

      public static AccountMeta signer(SolanaAddress address)
      A read-only account that signs.
    • writable

      public static AccountMeta writable(SolanaAddress address)
      A writable account that does not sign.
    • readonly

      public static AccountMeta readonly(SolanaAddress address)
      A read-only account that does not sign.
    • getAddress

      public SolanaAddress 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.