A B C D E F G I L M N P R S T U V W 
All Classes All Packages

A

accept(MessageVisitor<T>) - Method in interface com.lmax.solana4j.api.Message
Accepts a visitor to process the message.
account() - Method in interface com.lmax.solana4j.api.TransactionInstruction.AccountReference
Returns the public key of the account.
account(byte[]) - Static method in class com.lmax.solana4j.encoding.SolanaEncoding
Creates a new public key from the given byte array.
account(byte[]) - Static method in class com.lmax.solana4j.Solana
Creates a new public key from the given byte array.
account(PublicKey, boolean, boolean) - Method in interface com.lmax.solana4j.api.InstructionBuilderBase
Adds an account to the instruction with its role specified.
account(String) - Static method in class com.lmax.solana4j.encoding.SolanaEncoding
Creates a new public key from the given string.
account(String) - Static method in class com.lmax.solana4j.Solana
Creates a new public key from the given string.
ACCOUNT_LAYOUT_SPAN - Static variable in class com.lmax.solana4j.programs.TokenProgram
The span (size) of the account layout in bytes.
ACCOUNT_OWNER - com.lmax.solana4j.programs.TokenProgramBase.AuthorityType
Authority type for changing the owner of an account.
accountIndexes() - Method in interface com.lmax.solana4j.api.MessageVisitor.InstructionView
Returns the list of account indexes for the instruction.
accountLookup() - Method in interface com.lmax.solana4j.api.MessageVisitor.AccountLookupView
Returns the public key of the lookup account.
AccountLookupEntry - Interface in com.lmax.solana4j.api
Interface representing an account lookup entry which stores the read only and read write indexes of addresses in an address lookup table.
AccountLookupEntry.LookupEntry - Interface in com.lmax.solana4j.api
Interface representing an address lookup entry, which is the address and it's index within an address lookup table.
accountLookups() - Method in interface com.lmax.solana4j.api.MessageVisitor.Version0MessageView
Retrieves the list of account lookups in the message.
accountReferences() - Method in interface com.lmax.solana4j.api.TransactionInstruction
Returns a list of account references involved in this instruction.
accounts() - Method in interface com.lmax.solana4j.api.MessageVisitor.LegacyInstructionView
Returns the list of accounts for the instruction.
accounts(List<AddressLookupTable>) - Method in interface com.lmax.solana4j.api.MessageVisitor.V0AccountsView
Returns the list of all accounts, using the address lookup tables to map the indexes stored in the message to actual addresses.
accounts(List<AddressLookupTable>) - Method in interface com.lmax.solana4j.api.MessageVisitor.V0InstructionView
Returns the list of accounts for the instruction, using the address lookup tables to map the indexes stored in the message to actual addresses.
Accounts - Interface in com.lmax.solana4j.api
Interface representing a collection of accounts within a Solana Message.
addReadOnlyEntry(PublicKey, int) - Method in interface com.lmax.solana4j.api.AccountLookupEntry
Adds a read-only entry for the given address.
addReadWriteEntry(PublicKey, int) - Method in interface com.lmax.solana4j.api.AccountLookupEntry
Adds a read-write entry for the given address.
address() - Method in interface com.lmax.solana4j.api.ProgramDerivedAddress
Returns the public key of the derived address.
addressLookupTable(PublicKey, List<PublicKey>) - Static method in class com.lmax.solana4j.encoding.SolanaEncoding
Creates a new address lookup table from the given lookup table address and address lookups.
addressLookupTable(PublicKey, List<PublicKey>) - Static method in class com.lmax.solana4j.Solana
Creates an address lookup table for the given lookup table address and list of addresses.
AddressLookupTable - Interface in com.lmax.solana4j.api
Interface representing an address lookup table on the blockchain.
AddressLookupTableProgram - Class in com.lmax.solana4j.programs
Program for managing address lookup tables on the blockchain.
AddressLookupTableProgram.AddressLookupTableProgramFactory - Class in com.lmax.solana4j.programs
Inner factory class to handle the creation and extension of address lookup tables using a TransactionBuilder.
ADVANCE_NONCE_INSTRUCTION - Static variable in class com.lmax.solana4j.programs.SystemProgram
The instruction code for advancing a nonce.
allAccounts(List<AddressLookupTable>) - Method in interface com.lmax.solana4j.api.MessageVisitor.Version0MessageView
Retrieves the list of all accounts, including both static and lookup accounts.
append(TransactionInstruction) - Method in interface com.lmax.solana4j.api.TransactionBuilder
Appends an instruction to the transaction.
append(Consumer<InstructionBuilderBase>) - Method in interface com.lmax.solana4j.api.TransactionBuilder
Appends an instruction to the transaction.
ASSOCIATED_TOKEN_METADATA_PROGRAM_ACCOUNT - Static variable in class com.lmax.solana4j.programs.AssociatedTokenMetadataProgram
The public key for the associated token metadata program account.
ASSOCIATED_TOKEN_PROGRAM_ACCOUNT - Static variable in class com.lmax.solana4j.programs.AssociatedTokenProgram
The public key for the associated token program account.
AssociatedTokenMetadataProgram - Class in com.lmax.solana4j.programs
Program for managing associated token metadata on the blockchain.
AssociatedTokenProgram - Class in com.lmax.solana4j.programs
Program for managing associated token accounts on the blockchain.
AssociatedTokenProgram.AssociatedTokenProgramFactory - Class in com.lmax.solana4j.programs
Inner factory class for building associated token program instructions using a TransactionBuilder.

B

base58() - Method in interface com.lmax.solana4j.api.PublicKey
Returns the base58-encoded string representation of the public key.
blockhash(byte[]) - Static method in class com.lmax.solana4j.encoding.SolanaEncoding
Creates a new blockhash from the given byte array.
blockhash(byte[]) - Static method in class com.lmax.solana4j.Solana
Creates a new Blockhash from the given byte array.
blockhash(String) - Static method in class com.lmax.solana4j.encoding.SolanaEncoding
Creates a new blockhash from the given string.
blockhash(String) - Static method in class com.lmax.solana4j.Solana
Creates a new blockhash from the given base58-encoded string.
Blockhash - Interface in com.lmax.solana4j.api
Interface representing a blockhash on the blockchain.
BpfLoaderUpgradeableProgram - Class in com.lmax.solana4j.programs
Represents a program for interacting with the bpf loader upgradeable program on the blockchain.
BpfLoaderUpgradeableProgram.BpfLoaderUpgradeableProgramFactory - Class in com.lmax.solana4j.programs
Inner factory class for building BPF Loader Upgradeable program instructions using a TransactionBuilder.
build() - Method in interface com.lmax.solana4j.api.MessageInstructionBuilder
Builds and returns a message builder with the instructions.
build() - Method in interface com.lmax.solana4j.api.SignedMessageBuilder
Builds and returns the signed message.
build() - Method in interface com.lmax.solana4j.api.TransactionInstructionBuilder
Builds and returns a transaction instruction.
build() - Method in interface com.lmax.solana4j.api.UnsignedMessageBuilder
Builds and returns the unsigned message.
builder(ByteBuffer) - Static method in class com.lmax.solana4j.encoding.SolanaEncoding
Creates a new message builder for the given buffer.
builder(ByteBuffer) - Static method in class com.lmax.solana4j.Solana
Creates a new message builder for the given buffer.
by(PublicKey, ByteBufferSigner) - Method in interface com.lmax.solana4j.api.SignedMessageBuilder
Specifies the signer for the message.
ByteBufferSigner - Interface in com.lmax.solana4j.api
Interface representing an entity capable of signing transactions represented as ByteBuffer.
bytes() - Method in interface com.lmax.solana4j.api.PublicKey
Returns the byte array representation of the public key.
bytes() - Method in interface com.lmax.solana4j.api.Slot
Returns the byte array representation of the slot.

C

CLOSE_ACCOUNT - com.lmax.solana4j.programs.TokenProgramBase.AuthorityType
Authority type for closing an account.
CLOSE_MINT - com.lmax.solana4j.programs.TokenProgramBase.AuthorityType
Authority type for closing a mint.
com.lmax.solana4j - module com.lmax.solana4j
This module provides functionality for reading and writing solana messages.
com.lmax.solana4j - package com.lmax.solana4j
This package is the base package and is the entrypoint to the solana message encoding library's APIs.
com.lmax.solana4j.api - package com.lmax.solana4j.api
This package defines the solana message encoding library's API.
com.lmax.solana4j.encoding - package com.lmax.solana4j.encoding
This package exposes the solana message encoding library's API.
com.lmax.solana4j.programs - package com.lmax.solana4j.programs
This package contains implementations of many of the core solana programs.
COMPUTE_BUDGET_PROGRAM_ACCOUNT - Static variable in class com.lmax.solana4j.programs.ComputeBudgetProgram
The public key for the compute budget program account.
ComputeBudgetProgram - Class in com.lmax.solana4j.programs
Program for managing compute budgets on the blockchain.
ComputeBudgetProgram.ComputeBudgetProgramFactory - Class in com.lmax.solana4j.programs
Inner factory class for building compute budget program instructions using a TransactionBuilder.
CONFIDENTIAL_TRANSFER_FEE_CONFIG - com.lmax.solana4j.programs.TokenProgramBase.AuthorityType
Authority type for configuring confidential transfer fees.
CONFIDENTIAL_TRANSFER_MINT - com.lmax.solana4j.programs.TokenProgramBase.AuthorityType
Authority type for configuring confidential transfer mint.
copyBuffer(ByteBuffer) - Static method in class com.lmax.solana4j.encoding.SolanaEncoding
Copies the contents of a ByteBuffer into a new byte array.
countAccountsSigned() - Method in interface com.lmax.solana4j.api.MessageVisitor.MessageView
Returns the count of signed accounts in the message.
countAccountsSignedReadOnly() - Method in interface com.lmax.solana4j.api.MessageVisitor.MessageView
Returns the count of read-only signed accounts in the message.
countAccountsUnsignedReadOnly() - Method in interface com.lmax.solana4j.api.MessageVisitor.MessageView
Returns the count of read-only unsigned accounts in the message.
CREATE_ACCOUNT_INSTRUCTION - Static variable in class com.lmax.solana4j.programs.SystemProgram
The instruction code for creating an account.
CREATE_INSTRUCTION - Static variable in class com.lmax.solana4j.programs.AssociatedTokenProgram
The instruction code for creating an account.
CREATE_LOOKUP_TABLE_INSTRUCTION - Static variable in class com.lmax.solana4j.programs.AddressLookupTableProgram
The instruction code for creating a lookup table.
createAccount(PublicKey, PublicKey, long, long, PublicKey) - Static method in class com.lmax.solana4j.programs.SystemProgram
Creates a new account.
createAccount(PublicKey, PublicKey, long, long, PublicKey) - Method in class com.lmax.solana4j.programs.SystemProgram.SystemProgramFactory
Creates a new account.
createAssociatedTokenAccount(ProgramDerivedAddress, PublicKey, PublicKey, PublicKey, PublicKey, boolean) - Method in class com.lmax.solana4j.programs.AssociatedTokenProgram.AssociatedTokenProgramFactory
Creates a new associated token account.
createAssociatedTokenAccount(ProgramDerivedAddress, PublicKey, PublicKey, PublicKey, PublicKey, boolean) - Static method in class com.lmax.solana4j.programs.AssociatedTokenProgram
Creates a new associated token account.
createLookupTable(ProgramDerivedAddress, PublicKey, PublicKey, Slot) - Method in class com.lmax.solana4j.programs.AddressLookupTableProgram.AddressLookupTableProgramFactory
Creates a new address lookup table.
createLookupTable(ProgramDerivedAddress, PublicKey, PublicKey, Slot) - Static method in class com.lmax.solana4j.programs.AddressLookupTableProgram
Creates a new address lookup table.

D

data() - Method in interface com.lmax.solana4j.api.MessageVisitor.InstructionView
Returns a duplicate of the instruction data as a ByteBuffer.
data() - Method in interface com.lmax.solana4j.api.TransactionInstruction
Returns a consumer that writes the data for this instruction to a byte buffer.
data(int, Consumer<ByteBuffer>) - Method in interface com.lmax.solana4j.api.InstructionBuilderBase
Sets the data for the instruction.
datasize() - Method in interface com.lmax.solana4j.api.TransactionInstruction
Returns the size of the data for this instruction.
decodeBase58(String) - Static method in class com.lmax.solana4j.encoding.SolanaEncoding
Decodes a base58-encoded string into a byte array.
deriveAddress(PublicKey) - Static method in class com.lmax.solana4j.programs.AssociatedTokenMetadataProgram
Derives the program address for the given mint.
deriveAddress(PublicKey) - Static method in class com.lmax.solana4j.programs.BpfLoaderUpgradeableProgram
Derives a program-derived address for the specified program public key.
deriveAddress(PublicKey, PublicKey, PublicKey) - Static method in class com.lmax.solana4j.programs.AssociatedTokenProgram
Derives a program address for a given owner, token program account, and mint.
deriveAddress(PublicKey, Slot) - Static method in class com.lmax.solana4j.programs.AddressLookupTableProgram
Derives a program address for the given authority and slot.
deriveProgramAddress(List<byte[]>, PublicKey) - Static method in class com.lmax.solana4j.encoding.SolanaEncoding
Derives a program address from the given seeds and program id.
deserializeAddressLookupTable(PublicKey, byte[]) - Static method in class com.lmax.solana4j.programs.AddressLookupTableProgram
Deserializes an address lookup table from the given data.
destination(PublicKey, long) - Static method in class com.lmax.solana4j.encoding.SolanaEncoding
Creates a new destination for a token transfer.
destination(PublicKey, long) - Static method in class com.lmax.solana4j.Solana
Creates a new destination for a token transfer.
Destination - Interface in com.lmax.solana4j.api
Interface representing a destination for a transaction on the blockchain.

E

encodeBase58(byte[]) - Static method in class com.lmax.solana4j.encoding.SolanaEncoding
Encodes a byte array into a base58-encoded string.
EXTEND_LOOKUP_TABLE_INSTRUCTION - Static variable in class com.lmax.solana4j.programs.AddressLookupTableProgram
The instruction code for extending a lookup table.
extendLookupTable(PublicKey, PublicKey, PublicKey, List<PublicKey>) - Method in class com.lmax.solana4j.programs.AddressLookupTableProgram.AddressLookupTableProgramFactory
Extends an existing address lookup table with new addresses.
extendLookupTable(PublicKey, PublicKey, PublicKey, List<PublicKey>) - Static method in class com.lmax.solana4j.programs.AddressLookupTableProgram
Extends an existing address lookup table with new addresses.
extractTokenName(String) - Static method in class com.lmax.solana4j.programs.AssociatedTokenMetadataProgram
Extracts the token name from the base64-encoded metadata.

F

factory(TransactionBuilder) - Static method in class com.lmax.solana4j.programs.AddressLookupTableProgram
Factory method for creating a new instance of AddressLookupTableProgramFactory.
factory(TransactionBuilder) - Static method in class com.lmax.solana4j.programs.AssociatedTokenProgram
Factory method for creating a new instance of AssociatedTokenProgramFactory.
factory(TransactionBuilder) - Static method in class com.lmax.solana4j.programs.BpfLoaderUpgradeableProgram
Factory method to create an instance of BpfLoaderUpgradeableProgram with a specified transaction builder.
factory(TransactionBuilder) - Static method in class com.lmax.solana4j.programs.ComputeBudgetProgram
Factory method for creating a new instance of ComputeBudgetProgramFactory.
factory(TransactionBuilder) - Static method in class com.lmax.solana4j.programs.SystemProgram
Factory method for creating a new instance of SystemProgramFactory.
factory(TransactionBuilder) - Static method in class com.lmax.solana4j.programs.Token2022Program
Factory method for creating a new instance of Token2022ProgramFactory.
factory(TransactionBuilder) - Static method in class com.lmax.solana4j.programs.TokenProgram
Factory method for creating a new instance of TokenProgramFactory.
feePayer() - Method in interface com.lmax.solana4j.api.MessageVisitor.MessageView
Returns the public key of the fee payer for the transaction.
findAddressLookupTable(List<AddressLookupTable>) - Method in interface com.lmax.solana4j.api.MessageVisitor.AccountLookupView
Finds the address lookup table used in the message from a list of given address lookup tables.
forSigning(ByteBuffer) - Static method in class com.lmax.solana4j.encoding.SolanaEncoding
Creates a new signed message builder for the given message buffer.
forSigning(ByteBuffer) - Static method in class com.lmax.solana4j.Solana
Creates a new signed message builder for the given message buffer.
FREEZE_ACCOUNT - com.lmax.solana4j.programs.TokenProgramBase.AuthorityType
Authority type for freezing an account.

G

getAccountLookups() - Method in interface com.lmax.solana4j.api.Accounts
Returns a list of address lookup entrys.
getAddress() - Method in interface com.lmax.solana4j.api.AccountLookupEntry.LookupEntry
Returns the public key of the address.
getAddresses() - Method in interface com.lmax.solana4j.api.AccountLookupEntry
Returns a list of all public keys in the address lookup table.
getAddresses() - Method in interface com.lmax.solana4j.api.AddressLookupTable
Returns a list of public keys that are part of the address lookups.
getAmount() - Method in interface com.lmax.solana4j.api.Destination
Returns the amount to be transferred to the destination account.
getCountSigned() - Method in interface com.lmax.solana4j.api.Accounts
Returns the count of signed accounts.
getCountSignedReadOnly() - Method in interface com.lmax.solana4j.api.Accounts
Returns the count of read-only signed accounts.
getCountUnsignedReadOnly() - Method in interface com.lmax.solana4j.api.Accounts
Returns the count of read-only unsigned accounts.
getDestination() - Method in interface com.lmax.solana4j.api.Destination
Returns the public key of the destination account.
getFlattenedAccountList() - Method in interface com.lmax.solana4j.api.Accounts
Returns a flattened list of all public keys in the account collection.
getIndex() - Method in interface com.lmax.solana4j.api.AccountLookupEntry.LookupEntry
Returns the index of the address in the lookup table.
getLookupTableAddress() - Method in interface com.lmax.solana4j.api.AccountLookupEntry
Returns the public key of the lookup table address.
getLookupTableAddress() - Method in interface com.lmax.solana4j.api.AddressLookupTable
Returns the public key of the lookup table address.
getNonceAccountValue(byte[]) - Static method in class com.lmax.solana4j.programs.SystemProgram
Gets the nonce value from a nonce account's data.
getReadOnlyLookupEntrys() - Method in interface com.lmax.solana4j.api.AccountLookupEntry
Returns a list of read-only lookup entrys.
getReadWriteLookupEntrys() - Method in interface com.lmax.solana4j.api.AccountLookupEntry
Returns a list of read-write lookup entrys.
getStaticAccounts() - Method in interface com.lmax.solana4j.api.Accounts
Returns a list of the static account keys.

I

IDEMPOTENT_CREATE_INSTRUCTION - Static variable in class com.lmax.solana4j.programs.AssociatedTokenProgram
The instruction code for idempotently creating an account.
indexOfAccount(PublicKey) - Method in interface com.lmax.solana4j.api.References
Returns the index of the given account in the reference collection.
INITIALIZE_ACCOUNT_INSTRUCTION - Static variable in class com.lmax.solana4j.programs.TokenProgramBase
The instruction code for initializing an account.
INITIALIZE_MINT_INSTRUCTION - Static variable in class com.lmax.solana4j.programs.TokenProgramBase
The instruction code for initializing a mint.
INITIALIZE_MULTISIG_INSTRUCTION - Static variable in class com.lmax.solana4j.programs.TokenProgramBase
The instruction code for initializing a multisig account.
initializeAccount(PublicKey, PublicKey, PublicKey) - Method in class com.lmax.solana4j.programs.TokenProgramBase
Initializes a new token account.
initializeAccount(PublicKey, PublicKey, PublicKey) - Method in class com.lmax.solana4j.programs.TokenProgramBase.TokenProgramBaseFactory
Initializes a new token account.
initializeMint(PublicKey, byte, PublicKey, Optional<PublicKey>) - Method in class com.lmax.solana4j.programs.TokenProgramBase
Initializes a new mint.
initializeMint(PublicKey, byte, PublicKey, Optional<PublicKey>) - Method in class com.lmax.solana4j.programs.TokenProgramBase.TokenProgramBaseFactory
Initializes a new mint.
initializeMultisig(PublicKey, List<PublicKey>, int) - Method in class com.lmax.solana4j.programs.TokenProgramBase
Initializes a new multisig account.
initializeMultisig(PublicKey, List<PublicKey>, int) - Method in class com.lmax.solana4j.programs.TokenProgramBase.TokenProgramBaseFactory
Initializes a new multisig account.
instruction(Consumer<InstructionBuilderBase>) - Static method in class com.lmax.solana4j.encoding.SolanaEncoding
Creates a new transaction instructions using the builder provided.
instruction(Consumer<InstructionBuilderBase>) - Static method in class com.lmax.solana4j.Solana
Creates a new transaction instruction using the builder provided.
InstructionBuilderBase - Interface in com.lmax.solana4j.api
Base interface for building instructions for a Solana transaction.
instructions() - Method in interface com.lmax.solana4j.api.MessageVisitor.LegacyMessageView
Retrieves the list of instructions included in this legacy message.
instructions() - Method in interface com.lmax.solana4j.api.MessageVisitor.Version0MessageView
Retrieves the list of instructions included in this V0 message.
instructions(Consumer<TransactionBuilder>) - Method in interface com.lmax.solana4j.api.MessageBuilderLegacy
Sets the instructions for the legacy message.
instructions(Consumer<TransactionBuilder>) - Method in interface com.lmax.solana4j.api.MessageBuilderV0
Sets the instructions for the V0 message.
INTEREST_RATE - com.lmax.solana4j.programs.TokenProgramBase.AuthorityType
Authority type for setting the interest rate.
isExecutable() - Method in interface com.lmax.solana4j.api.TransactionInstruction.AccountReference
Indicates whether this account is executable.
isSigner() - Method in interface com.lmax.solana4j.api.TransactionInstruction.AccountReference
Indicates whether this account is a signer.
isSigner(PublicKey) - Method in interface com.lmax.solana4j.api.MessageVisitor.MessageView
Checks if the given account is a signer.
isWriter() - Method in interface com.lmax.solana4j.api.TransactionInstruction.AccountReference
Indicates whether this account is a writer.
isWriter(PublicKey) - Method in interface com.lmax.solana4j.api.MessageVisitor.LegacyMessageView
Checks if the specified account is marked as a writer in this legacy message.
isWriter(PublicKey, List<AddressLookupTable>) - Method in interface com.lmax.solana4j.api.MessageVisitor.Version0MessageView
Checks if the specified account is designated as a writer in this V0 message.

L

legacy() - Method in interface com.lmax.solana4j.api.MessageBuilder
Creates and returns a builder for a legacy message.
LOOKUP_TABLE_META_SIZE - Static variable in class com.lmax.solana4j.programs.AddressLookupTableProgram
The size of the lookup table metadata in bytes.
lookups(List<AddressLookupTable>) - Method in interface com.lmax.solana4j.api.MessageBuilderV0
Sets the account lookups for the V0 message.

M

MAX_MESSAGE_SIZE - Static variable in class com.lmax.solana4j.encoding.SolanaEncoding
The maximum size of a message in bytes.
MAX_MESSAGE_SIZE - Static variable in class com.lmax.solana4j.Solana
The maximum size for a message.
Message - Interface in com.lmax.solana4j.api
Interface representing a Solana message.
MessageBuilder - Interface in com.lmax.solana4j.api
Interface for building legacy and V0 messages for the blockchain.
MessageBuilderLegacy - Interface in com.lmax.solana4j.api
Interface for building legacy messages for the blockchain.
MessageBuilderV0 - Interface in com.lmax.solana4j.api
Interface for building V0 messages for the blockchain.
MessageInstructionBuilder - Interface in com.lmax.solana4j.api
Interface for building instructions for a Solana Message.
MessageVisitor<T> - Interface in com.lmax.solana4j.api
Interface representing a visitor for reading information about Solana Messages.
MessageVisitor.AccountLookupView - Interface in com.lmax.solana4j.api
Interface representing an account lookup view of a Solana Message.
MessageVisitor.AccountsView - Interface in com.lmax.solana4j.api
Interface representing a view of static accounts of a Solana Message.
MessageVisitor.InstructionView - Interface in com.lmax.solana4j.api
Interface representing an instruction view of a Solana Message.
MessageVisitor.LegacyAccountsView - Interface in com.lmax.solana4j.api
Interface representing a view of legacy accounts of a Solana Message.
MessageVisitor.LegacyInstructionView - Interface in com.lmax.solana4j.api
Interface representing a legacy instruction view of a Solana Message.
MessageVisitor.LegacyMessageView - Interface in com.lmax.solana4j.api
Interface representing a view of a Solana Legacy message.
MessageVisitor.MessageView - Interface in com.lmax.solana4j.api
Interface representing a view of a Solana Message.
MessageVisitor.V0AccountsView - Interface in com.lmax.solana4j.api
Interface representing a view of V0 accounts of a Solana Message.
MessageVisitor.V0InstructionView - Interface in com.lmax.solana4j.api
Interface representing a V0 instruction view of a Solana Message.
MessageVisitor.Version0MessageView - Interface in com.lmax.solana4j.api
Interface representing a view of a Solana V0 message.
METADATA_POINTER - com.lmax.solana4j.programs.TokenProgramBase.AuthorityType
Authority type for setting a metadata pointer.
MINT_ACCOUNT_LENGTH - Static variable in class com.lmax.solana4j.programs.SystemProgram
The length of a mint account in bytes.
MINT_TO_INSTRUCTION - Static variable in class com.lmax.solana4j.programs.TokenProgramBase
The instruction code for minting new tokens to an account.
MINT_TOKEN - com.lmax.solana4j.programs.TokenProgramBase.AuthorityType
Authority type for minting new tokens.
mintTo(PublicKey, PublicKey, Destination) - Method in class com.lmax.solana4j.programs.TokenProgramBase
Mints new tokens to a destination.
mintTo(PublicKey, PublicKey, List<Destination>) - Method in class com.lmax.solana4j.programs.TokenProgramBase.TokenProgramBaseFactory
Mints new tokens to a list of destinations.
MULTI_SIG_LAYOUT_SPAN - Static variable in class com.lmax.solana4j.programs.TokenProgram
The span (size) of the multisig account layout in bytes.

N

nonce() - Method in interface com.lmax.solana4j.api.ProgramDerivedAddress
Returns the nonce used to derive the address.
NONCE_ACCOUNT_LENGTH - Static variable in class com.lmax.solana4j.programs.SystemProgram
The length of a nonce account in bytes.
NONCE_INIT_INSTRUCTION - Static variable in class com.lmax.solana4j.programs.SystemProgram
The instruction code for initializing a nonce account.
nonceAdvance(PublicKey, PublicKey) - Static method in class com.lmax.solana4j.programs.SystemProgram
Advances a nonce.
nonceAdvance(PublicKey, PublicKey) - Method in class com.lmax.solana4j.programs.SystemProgram.SystemProgramFactory
Advances a nonce.
nonceInitialize(PublicKey, PublicKey) - Static method in class com.lmax.solana4j.programs.SystemProgram
Initializes a nonce account.
nonceInitialize(PublicKey, PublicKey) - Method in class com.lmax.solana4j.programs.SystemProgram.SystemProgramFactory
Initializes a nonce account.

P

payer(PublicKey) - Method in interface com.lmax.solana4j.api.MessageBuilderLegacy
Sets the payer for the legacy message.
payer(PublicKey) - Method in interface com.lmax.solana4j.api.MessageBuilderV0
Sets the payer for the V0 message.
PERMANENT_DELEGATE - com.lmax.solana4j.programs.TokenProgramBase.AuthorityType
Authority type for setting a permanent delegate.
prebuiltInstructions(List<TransactionInstruction>) - Method in interface com.lmax.solana4j.api.MessageBuilderLegacy
Sets the prebuilt instructions for the legacy message.
prebuiltInstructions(List<TransactionInstruction>) - Method in interface com.lmax.solana4j.api.MessageBuilderV0
Sets the prebuilt instructions for the legacy message.
program() - Method in interface com.lmax.solana4j.api.MessageVisitor.LegacyInstructionView
Returns the public key of the program for the instruction.
program() - Method in interface com.lmax.solana4j.api.TransactionInstruction
Returns the public key of the program to be executed.
program(PublicKey) - Method in interface com.lmax.solana4j.api.InstructionBuilderBase
Specifies the program to be executed by the instruction.
program(List<AddressLookupTable>) - Method in interface com.lmax.solana4j.api.MessageVisitor.V0InstructionView
Returns the public key of the program for the instruction, using the address lookup tables to map the indexes stored in the message to actual addresses.
PROGRAM_ACCOUNT - Static variable in class com.lmax.solana4j.programs.AddressLookupTableProgram
The public key for the address lookup table program account.
PROGRAM_ACCOUNT - Static variable in class com.lmax.solana4j.programs.BpfLoaderUpgradeableProgram
The public key associated with the bpf loader upgradeable program.
PROGRAM_ACCOUNT - Static variable in class com.lmax.solana4j.programs.Token2022Program
The public key for the Token 2022 program account.
PROGRAM_ACCOUNT - Static variable in class com.lmax.solana4j.programs.TokenProgram
The public key for the token program account.
programDerivedAddress(List<byte[]>, PublicKey) - Static method in class com.lmax.solana4j.Solana
Derives a program address from the given seeds and program id.
ProgramDerivedAddress - Interface in com.lmax.solana4j.api
Interface representing a program derived address.
programId() - Method in interface com.lmax.solana4j.api.ProgramDerivedAddress
Returns the public key of the program id used to derive the address.
programIndex() - Method in interface com.lmax.solana4j.api.MessageVisitor.InstructionView
Returns the index of the program in the instruction.
PUBLIC_KEY_LENGTH - Static variable in interface com.lmax.solana4j.api.PublicKey
The length of a public key in bytes.
PublicKey - Interface in com.lmax.solana4j.api
Interface representing a public key.

R

read(ByteBuffer) - Static method in class com.lmax.solana4j.encoding.SolanaEncoding
Reads a message from the given buffer.
read(ByteBuffer) - Static method in class com.lmax.solana4j.Solana
Reads a message from the given buffer.
readOnlyTableIndexes() - Method in interface com.lmax.solana4j.api.MessageVisitor.AccountLookupView
Returns the list of read-only table indexes.
readWriteTableIndexes() - Method in interface com.lmax.solana4j.api.MessageVisitor.AccountLookupView
Returns the list of read-write table indexes.
recent(Blockhash) - Method in interface com.lmax.solana4j.api.MessageBuilderLegacy
Sets the recent blockhash for the legacy message.
recent(Blockhash) - Method in interface com.lmax.solana4j.api.MessageBuilderV0
Sets the recent blockhash for the V0 message.
RECENT_BLOCKHASHES - Static variable in class com.lmax.solana4j.encoding.SysVar
The public key for the recent blockhashes sysvar account.
recentBlockHash() - Method in interface com.lmax.solana4j.api.MessageVisitor.MessageView
Returns the recent blockhash for the transaction.
References - Interface in com.lmax.solana4j.api
Interface representing a collection of references to accounts.
RENT - Static variable in class com.lmax.solana4j.encoding.SysVar
The public key for the rent sysvar account.

S

seal() - Method in interface com.lmax.solana4j.api.MessageBuilderLegacy
Seals the legacy message and returns a sealed message builder.
seal() - Method in interface com.lmax.solana4j.api.MessageBuilderV0
Seals the V0 message and returns a sealed message builder.
SealedMessageBuilder - Interface in com.lmax.solana4j.api
Interface for building sealed messages.
SET_AUTHORITY_INSTRUCTION - Static variable in class com.lmax.solana4j.programs.TokenProgramBase
The instruction code for setting an authority.
SET_COMPUTE_UNIT_LIMIT_INSTRUCTION - Static variable in class com.lmax.solana4j.programs.ComputeBudgetProgram
The instruction code for setting the compute unit limit.
SET_COMPUTE_UNIT_PRICE_INSTRUCTION - Static variable in class com.lmax.solana4j.programs.ComputeBudgetProgram
The instruction code for setting the compute unit price.
setAuthority(PublicKey, PublicKey, PublicKey, List<PublicKey>, TokenProgramBase.AuthorityType) - Method in class com.lmax.solana4j.programs.TokenProgramBase
Sets a new authority for a token account.
setAuthority(PublicKey, PublicKey, PublicKey, List<PublicKey>, TokenProgramBase.AuthorityType) - Method in class com.lmax.solana4j.programs.TokenProgramBase.TokenProgramBaseFactory
Sets a new authority for a token account.
setComputeUnitLimit(int) - Method in class com.lmax.solana4j.programs.ComputeBudgetProgram.ComputeBudgetProgramFactory
Sets the compute unit limit.
setComputeUnitLimit(int) - Static method in class com.lmax.solana4j.programs.ComputeBudgetProgram
Sets the compute unit limit.
setComputeUnitPrice(long) - Method in class com.lmax.solana4j.programs.ComputeBudgetProgram.ComputeBudgetProgramFactory
Sets the compute unit price.
setComputeUnitPrice(long) - Static method in class com.lmax.solana4j.programs.ComputeBudgetProgram
Sets the compute unit price.
setUpgradeAuthority(PublicKey, PublicKey, Optional<PublicKey>) - Method in class com.lmax.solana4j.programs.BpfLoaderUpgradeableProgram.BpfLoaderUpgradeableProgramFactory
Sets the upgrade authority for a given program address.
setUpgradeAuthority(PublicKey, PublicKey, Optional<PublicKey>) - Static method in class com.lmax.solana4j.programs.BpfLoaderUpgradeableProgram
Sets the upgrade authority for a given program address.
sign(ByteBuffer, ByteBuffer) - Method in interface com.lmax.solana4j.api.ByteBufferSigner
Signs the given transaction and writes the signature to the provided buffer.
signature(PublicKey) - Method in interface com.lmax.solana4j.api.MessageVisitor.MessageView
Retrieves the stored signature for the given account as a ByteBuffer.
signed() - Method in interface com.lmax.solana4j.api.SealedMessageBuilder
Creates and returns a builder for a signed message.
SignedMessageBuilder - Interface in com.lmax.solana4j.api
Interface for building signed messages.
signers() - Method in interface com.lmax.solana4j.api.MessageVisitor.MessageView
Returns the list of signer public keys for the transaction.
slot(long) - Static method in class com.lmax.solana4j.encoding.SolanaEncoding
Creates a new slot from the given slot number.
slot(long) - Static method in class com.lmax.solana4j.Solana
Creates a new Slot from the given slot number.
Slot - Interface in com.lmax.solana4j.api
Interface representing a Slot.
Solana - Class in com.lmax.solana4j
Entrypoint to the library's APIs.
SolanaEncoding - Class in com.lmax.solana4j.encoding
Exposes the library's APIs.
staticAccounts() - Method in interface com.lmax.solana4j.api.MessageVisitor.AccountsView
Returns the list of static accounts.
staticAccounts() - Method in interface com.lmax.solana4j.api.MessageVisitor.MessageView
Returns the list of static accounts in the message.
SYSTEM_PROGRAM_ACCOUNT - Static variable in class com.lmax.solana4j.programs.SystemProgram
The public key for the system program account.
SystemProgram - Class in com.lmax.solana4j.programs
Program for managing system-level operations on the blockchain.
SystemProgram.SystemProgramFactory - Class in com.lmax.solana4j.programs
Inner factory class for building system program instructions using a TransactionBuilder.
SysVar - Class in com.lmax.solana4j.encoding
Utility class for Solana system variable (sysvar) accounts.
SysVar() - Constructor for class com.lmax.solana4j.encoding.SysVar
 

T

Token2022Program - Class in com.lmax.solana4j.programs
Program for managing token 2022 operations on the blockchain.
Token2022Program() - Constructor for class com.lmax.solana4j.programs.Token2022Program
 
Token2022Program.Token2022ProgramFactory - Class in com.lmax.solana4j.programs
Inner factory class for creating transactions for the Token 2022 program using a token program id and TransactionBuilder.
TokenProgram - Class in com.lmax.solana4j.programs
Program for managing token operations on the blockchain.
TokenProgram() - Constructor for class com.lmax.solana4j.programs.TokenProgram
 
TokenProgram.TokenProgramFactory - Class in com.lmax.solana4j.programs
Inner factory class for creating transactions for the Token Program using a token program id and TransactionBuilder.
TokenProgramBase - Class in com.lmax.solana4j.programs
Abstract base class for managing token operations on the blockchain.
TokenProgramBase() - Constructor for class com.lmax.solana4j.programs.TokenProgramBase
 
TokenProgramBase.AuthorityType - Enum in com.lmax.solana4j.programs
Enumeration of authority types for the Solana token program.
TokenProgramBase.TokenProgramBaseFactory - Class in com.lmax.solana4j.programs
Factory class for managing token program operations with a TransactionBuilder.
transaction() - Method in interface com.lmax.solana4j.api.MessageVisitor.MessageView
Returns a duplicate of the transaction data as a ByteBuffer.
TransactionBuilder - Interface in com.lmax.solana4j.api
Interface for building Solana transactions.
TransactionInstruction - Interface in com.lmax.solana4j.api
Interface representing a transaction instruction.
TransactionInstruction.AccountReference - Interface in com.lmax.solana4j.api
Interface representing a reference to an account in a transaction instruction.
TransactionInstructionBuilder - Interface in com.lmax.solana4j.api
Interface for building transaction instructions for a Solana transaction.
transfer(PublicKey, PublicKey, long) - Method in class com.lmax.solana4j.programs.SystemProgram.SystemProgramFactory
Transfers funds between accounts.
transfer(PublicKey, PublicKey, long) - Static method in class com.lmax.solana4j.programs.SystemProgram
Transfers funds between accounts.
transfer(PublicKey, PublicKey, PublicKey, long, List<PublicKey>) - Method in class com.lmax.solana4j.programs.TokenProgramBase.TokenProgramBaseFactory
Transfers tokens between accounts.
transfer(PublicKey, PublicKey, PublicKey, long, List<PublicKey>) - Method in class com.lmax.solana4j.programs.TokenProgramBase
Transfers tokens between accounts.
TRANSFER_FEE_CONFIG - com.lmax.solana4j.programs.TokenProgramBase.AuthorityType
Authority type for configuring transfer fees.
TRANSFER_HOOK_PROGRAM_ID - com.lmax.solana4j.programs.TokenProgramBase.AuthorityType
Authority type for setting the transfer hook program id.
TRANSFER_INSTRUCTION - Static variable in class com.lmax.solana4j.programs.SystemProgram
The instruction code for transferring funds.
TRANSFER_INSTRUCTION - Static variable in class com.lmax.solana4j.programs.TokenProgramBase
The instruction code for transferring tokens.

U

unsigned() - Method in interface com.lmax.solana4j.api.SealedMessageBuilder
Creates and returns a builder for an unsigned message.
UnsignedMessageBuilder - Interface in com.lmax.solana4j.api
Interface for building unsigned messages.

V

v0() - Method in interface com.lmax.solana4j.api.MessageBuilder
Creates and returns a builder for a V0 message.
valueOf(String) - Static method in enum com.lmax.solana4j.programs.TokenProgramBase.AuthorityType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.lmax.solana4j.programs.TokenProgramBase.AuthorityType
Returns an array containing the constants of this enum type, in the order they are declared.
version() - Method in interface com.lmax.solana4j.api.MessageVisitor.Version0MessageView
Retrieves the version number of this message.
visit(MessageVisitor.MessageView) - Method in interface com.lmax.solana4j.api.MessageVisitor
Visits a message view and produces a result.

W

WITHHELD_WITHDRAW - com.lmax.solana4j.programs.TokenProgramBase.AuthorityType
Authority type for withdrawing withheld tokens.
write(ByteBuffer) - Method in interface com.lmax.solana4j.api.Blockhash
Writes the blockhash to the provided byte buffer.
write(ByteBuffer) - Method in interface com.lmax.solana4j.api.PublicKey
Writes the public key to the provided byte buffer.
write(ByteBuffer) - Method in interface com.lmax.solana4j.api.Slot
Writes the slot information to the provided byte buffer.
A B C D E F G I L M N P R S T U V W 
All Classes All Packages