# References

summary
public | C Account An account key pair (public and secret keys). |
public | C BpfLoader Factory class for transactions to interact with a program loader |
public | C BudgetProgram Factory class for transactions to interact with the Budget program |
public | C Connection A connection to a fullnode JSON RPC endpoint |
public | C Loader Program loader interface |
public | C Message List of instructions to be processed atomically |
public | C NonceAccount NonceAccount class |
public | C PublicKey A public key |
public | C Authorized |
public | C Lockup |
public | C StakeInstruction Stake Instruction class |
public | C StakeProgram Factory class for transactions to interact with the Stake program |
public | C SystemInstruction System Instruction class |
public | C SystemProgram Factory class for transactions to interact with the System program |
public | C Transaction Transaction class |
public | C TransactionInstruction Transaction Instruction class |
public | C ValidatorInfo ValidatorInfo class |
public | C VoteAccount VoteAccount class |
public | F decodeData(type: *, buffer: *): * Decode instruction data buffer using an InstructionType |
public | F encodeData(type: *, fields: *): * Populate a buffer of instruction data using an InstructionType |
public | F authorized(property: string): * Layout for an Authorized object |
public | F getAlloc(type: Object, fields: Object): number |
public | F lockup(property: string): * Layout for a Lockup object |
public | F publicKey(property: string): * Layout for a public key |
public | F rustString(property: string): * Layout for a Rust String type |
public | F uint64(property: string): * Layout for a 64bit unsigned value |
public | V GetConfirmedBlockRpcResult: * Expected JSON RPC response for the "getConfirmedBlock" message |
public | V LAMPORTS_PER_SOL: number There are 1-billion lamports in one SOL |
public | V NONCE_ACCOUNT_LENGTH: * |
public | V STAKE_CONFIG_ID: PublicKey |
public | V STAKE_INSTRUCTION_LAYOUTS: * An enumeration of valid stake InstructionType's |
public | V StakeAuthorizationLayout: * An enumeration of valid StakeAuthorizationLayout's |
public | V SYSTEM_INSTRUCTION_LAYOUTS: * An enumeration of valid system InstructionType's |
public | V SYSVAR_CLOCK_PUBKEY: PublicKey |
public | V SYSVAR_RECENT_BLOCKHASHES_PUBKEY: PublicKey |
public | V SYSVAR_RENT_PUBKEY: PublicKey |
public | V SYSVAR_REWARDS_PUBKEY: PublicKey |
public | V SYSVAR_STAKE_HISTORY_PUBKEY: PublicKey |
public | V PACKET_DATA_SIZE: * Maximum over-the-wire size of a Transaction |
public | V VALIDATOR_INFO_KEY: PublicKey |
public | V VOTE_PROGRAM_ID: PublicKey |
public | T Blockhash: string |
public | T BudgetCondition: SignatureCondition | TimestampCondition A condition that can unlock a payment |
public | T Payment: Object Represents a payment to a given public key |
public | T SignatureCondition: Object Represents a condition that is met by executing a `applySignature()` transaction |
public | T TimestampCondition: Object Represents a condition that is met by executing a `applyTimestamp()` transaction |
public | T AccountBalancePair: Object Pair of an account address and its balance |
public | T AccountInfo: Object Information describing an account |
public | T Commitment: 'max' | 'recent' | 'root' | 'single' The level of commitment desired when querying state
      'max':    Query the most recent block which has been finalized by the cluster
      'recent': Query the most recent block which has reached 1 confirmation by the connected node
      'root':   Query the most recent block which has been rooted by the connected node
      'single': Query the most recent block which has reached 1 confirmation by the cluster
public | T ConfirmedBlock: Object A ConfirmedBlock on the ledger |
public | T ConfirmedTransaction: Object A confirmed transaction on the ledger |
public | T ConfirmedTransactionMeta: Object Metadata for a confirmed transaction on the ledger |
public | T ContactInfo: Object Information describing a cluster node |
public | T Context: Object Extra contextual information for RPC responses |
public | T EpochInfo: Object Information about the current epoch |
public | T EpochSchedule: Object Epoch schedule (see https://docs.solana.com/terminology#epoch) |
public | T GetLargestAccountsConfig: Object Configuration object for changing `getLargestAccounts` query behavior |
public | T Inflation: Object Network Inflation (see https://docs.solana.com/implemented-proposals/ed_overview) |
public | T KeyedAccountInfo: Object Account information identified by pubkey |
public | T LargestAccountsFilter: 'circulating' | 'nonCirculating' Filter for largest accounts query
      'circulating':    Return the largest accounts that are part of the circulating supply
      'nonCirculating': Return the largest accounts that are not part of the circulating supply
public | T RpcResponseAndContext: Object RPC Response with extra contextual information |
public | T SignatureResult: Object Signature result |
public | T SignatureStatus: Object Signature status |
public | T SignatureStatusConfig: Object Configuration object for changing query behavior |
public | T SlotInfo: Object Information about the latest slot being processed by a node |
public | T Supply: Object Supply |
public | T TransactionError: Object Transaction error |
public | T Version: Object Version info for a node |
public | T VoteAccountInfo: Object Information describing a vote account |
public | T VoteAccountStatus: Object A collection of cluster vote accounts |
public | T FeeCalculator: Object |
public | T InstructionType: Object |
public | T CompiledInstruction: Object An instruction to execute by a program |
public | T MessageArgs: Object Message constructor arguments |
public | T MessageHeader: Object The message header, identifying signed and read-only account |
public | T AuthorizeStakeParams: Object Authorize stake instruction params |
public | T CreateStakeAccountParams: Object Create stake account transaction params |
public | T CreateStakeAccountWithSeedParams: Object Create stake account with seed transaction params |
public | T DeactivateStakeParams: Object Deactivate stake instruction params |
public | T DelegateStakeParams: Object Delegate stake instruction params |
public | T InitializeStakeParams: Object Initialize stake instruction params |
public | T SplitStakeParams: Object Split stake instruction params |
public | T StakeAuthorizationType: Object |
public | T StakeInstructionType: 'Initialize' | 'Authorize' | 'Delegate' | 'Split' | 'Withdraw' | 'Deactivate' An enumeration of valid StakeInstructionType's |
public | T WithdrawStakeParams: Object Withdraw stake instruction params |
public | T AdvanceNonceParams: Object Advance nonce account system instruction params |
public | T AllocateParams: Object Allocate account system transaction params |
public | T AllocateWithSeedParams: Object Allocate account with seed system transaction params |
public | T AssignParams: Object Assign system transaction params |
public | T AssignWithSeedParams: Object Assign account with seed system transaction params |
public | T AuthorizeNonceParams: Object Authorize nonce account system transaction params |
public | T CreateAccountParams: Object Create account system transaction params |
public | T CreateAccountWithSeedParams: Object Create account with seed system transaction params |
public | T CreateNonceAccountParams: Object Create nonce account system transaction params |
public | T CreateNonceAccountWithSeedParams: Object Create nonce account with seed system transaction params |
public | T InitializeNonceParams: Object Initialize nonce account system instruction params |
public | T SystemInstructionType: 'Create' | 'Assign' | 'Transfer' | 'CreateWithSeed' | 'AdvanceNonceAccount' | 'WithdrawNonceAccount' | 'InitializeNonceAccount' | 'AuthorizeNonceAccount' An enumeration of valid SystemInstructionType's |
public | T TransferParams: Object Transfer system transaction params |
public | T WithdrawNonceParams: Object Withdraw nonce account system transaction params |
public | T AccountMeta: Object Account metadata used to define instructions |
public | T NonceInformation: Object NonceInformation to be used to build a Transaction. |
public | T TransactionCtorFields: Object List of Transaction object fields that may be initialized at construction |
public | T TransactionInstructionCtorFields: Object List of TransactionInstruction object fields that may be initialized at construction |
public | T TransactionSignature: string |
public | T Info: Object Info used to identity validators. |

## util

summary
public | F clusterApiUrl(cluster: *, tls: *): * Retrieves the RPC API URL for the specified cluster |
public | F async sendAndConfirmRawTransaction(connection: *, rawTransaction: *, confirmations: *): * Send and confirm a raw transaction |
public | F async sendAndConfirmTransaction(connection: *, transaction: *, signers: *, confirmations: *): * Sign, send and confirm a transaction. |
public | F decodeLength(bytes: Array<number>): number |
public | F encodeLength(bytes: Array<number>, len: number) |
public | F sleep(ms: number): Promise<void> |
public | F toBuffer(arr: *): * |

Directories
util