package
0.0.0-20241119035759-3968f949f06e
Repository: https://github.com/donutnomad/solana-web3.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
No description provided by the author
CreateProgramAddress Derive a program address from seeds and a program ID.
CreateWithSeed Derive a public key from another key, a seed, and a program ID.
FindProgramAddress Find a valid program address
Valid program addresses must fall off the ed25519 curve.
IsOnCurve Check that a pubkey is on the ed25519 curve.
Meta intializes a new AccountMeta with the provided pubKey.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NonceAccountFromAccountData Deserialize NonceAccount from the account data.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ValidatorInfoFromConfigData Deserialize ValidatorInfo from the config account data.
# Constants
CHUNK_SIZE Keep program chunks under PACKET_DATA_SIZE, leaving enough room for the rest of the Transaction fields
TODO: replace 300 with a proper constant for the size of the other Transaction fields.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LAMPORTS_PER_SOL There are 1-billion lamports in one SOL.
No description provided by the author
No description provided by the author
MAX_SEED_LENGTH Maximum length of derived pubkey seed.
MaxTransactionBytes https://solana.com/docs/core/transactions#transaction-size This means that the total size of a Solana transaction is limited to 1232 bytes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PacketDataSize Maximum over-the-wire size of a Transaction
1280 is IPv6 minimum MTU 40 bytes is the size of the IPv6 header 8 bytes is the size of the fragment header.
PUBLIC_KEY_LENGTH Size of public key in bytes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
Deprecated: as of v1.5.5.
No description provided by the author
Deprecated: as of v1.5.5.
Deprecated: as of v1.5.5.
Deprecated: as of v1.5.5.
Deprecated: as of v1.5.5.
No description provided by the author
DefaultPubKey Default public key value.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
AccountBalancePair Pair of an account address and its balance.
AccountInfo Information describing an account.
AccountMeta represents a public key and associated metadata.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BlockheightBasedTransactionConfirmationStrategy A strategy for confirming transactions that uses the last valid block height for a given blockhash to check for transaction expiration.
BlockProduction represents recent block production information.
No description provided by the author
No description provided by the author
BlockSignatures represents a block on the ledger with signatures only.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ConfirmedSignatureInfo represents a confirmed signature with its status.
ConfirmedSignaturesForAddress2Options represents options for getConfirmedSignaturesForAddress2.
ConfirmedTransactionMeta Metadata for a confirmed transaction on the ledger.
ConfirmOptions represents options for confirming transactions.
No description provided by the author
ConnectionConfig represents configuration for instantiating a Connection.
ContactInfo represents information describing a cluster node.
Context represents extra contextual information for RPC responses.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DurableNonceTransactionConfirmationStrategy A strategy for confirming durable nonce transactions.
EpochInfo represents information about the current epoch.
EpochSchedule represents the epoch schedule.
GetAccountInfoConfig Configuration object for changing `getAccountInfo` query behavior.
No description provided by the author
GetBalanceConfig Configuration object for changing getBalance query behavior.
No description provided by the author
GetBlockProductionConfig is the configuration object for changing `getBlockProduction` query behavior.
GetInflationRewardConfig is the configuration object for changing `getInflationReward` query behavior.
GetLargestAccountsConfig Configuration object for changing `getLargestAccounts` query behavior.
GetMultipleAccountsConfig Configuration object for getMultipleAccounts.
GetParsedProgramAccountsConfig is the configuration object for getParsedProgramAccounts.
GetProgramAccountsConfig Configuration object for getProgramAccounts requests.
No description provided by the author
No description provided by the author
GetRecentPrioritizationFeesConfig is the configuration object for changing `getRecentPrioritizationFees` query behavior.
GetStakeActivationConfig Configuration object for `getStakeActivation`.
No description provided by the author
GetSupplyConfig Configuration object for changing `getSupply` request behavior.
No description provided by the author
No description provided by the author
No description provided by the author
GetVersionedTransactionConfig Configuration object for changing `getTransaction` query behavior.
InflationGovernor Network Inflation (see https://docs.solana.com/implemented-proposals/ed_overview).
InflationRate represents the inflation rate for an epoch.
InflationReward represents the inflation reward for an epoch.
No description provided by the author
LoaderImpl Program loader interface.
No description provided by the author
No description provided by the author
No description provided by the author
MessageAddressTableLookup An address table lookup used to load additional accounts.
No description provided by the author
No description provided by the author
No description provided by the author
NonceInformation Nonce information to be used to build an offline Transaction.
No description provided by the author
ParsedAccountData Parsed account data.
No description provided by the author
PerfSample represents a performance sample.
RecentPrioritizationFees represents recent prioritization fees.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SendOptions represents options for sending transactions.
No description provided by the author
No description provided by the author
No description provided by the author
SignaturesForAddressOptions is the options for getSignaturesForAddress.
SignatureStatus represents the signature status.
SignatureStatusConfig Configuration object for changing query behavior.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
StakeActivationData Stake Activation data.
Supply represents the supply information.
TokenAccountBalancePair Token address and balance.
No description provided by the author
TokenAmount represents a token amount object in different formats for various use cases.
No description provided by the author
Transaction class.
No description provided by the author
No description provided by the author
No description provided by the author
TransactionInstruction represents a transaction instruction.
No description provided by the author
No description provided by the author
No description provided by the author
Version represents version info for a node.
No description provided by the author
No description provided by the author
VersionedTransactionResponse A processed transaction from the RPC API.
No description provided by the author
VoteAccountInfo represents information describing a vote account.
VoteAccountStatus A collection of cluster vote accounts.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Commitment The level of commitment desired when querying state
'processed': Query the most recent block which has reached 1 confirmation by the connected node 'confirmed': Query the most recent block which has reached 1 confirmation by the cluster 'finalized': Query the most recent block which has been finalized by the cluster.
DurableNonce A durable nonce is a 32 byte value encoded as a base58 string.
No description provided by the author
No description provided by the author
GetBlockHeightConfig is the configuration object for changing `getBlockHeight` query behavior.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LeaderSchedule represents the leader schedule.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TransactionSignature represents a transaction signature.
No description provided by the author