Versions in this module Expand all Collapse all v0 v0.2.0 Dec 1, 2025 v0.1.0 Nov 28, 2025 Changes in this version + const NonceAccountSize + var ErrInvalidAccountSize = errors.New("invalid nonce account size") + var ErrInvalidAccountVersion = errors.New("invalid nonce account version") + var ProgramKey [32]byte + var RecentBlockhashesSysVar ed25519.PublicKey + var RentSysVar ed25519.PublicKey + var SystemAccount ed25519.PublicKey + func AdvanceNonce(nonce, authority ed25519.PublicKey) solana.Instruction + func AuthorizeNonce(nonce ed25519.PublicKey) solana.Instruction + func CreateAccount(funder, address, owner ed25519.PublicKey, lamports, size uint64) solana.Instruction + func DecompileInitializeNonce() + func DecompileWithdrawNonce() + func GetNonceValueFromAccount(info solana.AccountInfo) (val solana.Blockhash, err error) + func InitializeNonce(nonce, auth ed25519.PublicKey) solana.Instruction + func WithdrawNonce(nonce, auth, receipient ed25519.PublicKey, lamports uint64) solana.Instruction + type DecompiledAdvanceNonce struct + Authority ed25519.PublicKey + Nonce ed25519.PublicKey + func DecompileAdvanceNonce(m solana.Message, index int) (*DecompiledAdvanceNonce, error) + type DecompiledCreateAccount struct + Address ed25519.PublicKey + Funder ed25519.PublicKey + Lamports uint64 + Owner ed25519.PublicKey + Size uint64 + func DecompileCreateAccount(m solana.Message, index int) (*DecompiledCreateAccount, error) + type DecompiledWithdrawNonce struct + Amount uint64 + Auth ed25519.PublicKey + Nonce ed25519.PublicKey + Recipient ed25519.PublicKey + type FeeCalculator struct + LamportsPerSignature uint64 + type NonceAccount struct + Authority ed25519.PublicKey + Blockhash ed25519.PublicKey + FeeCalculator FeeCalculator + State uint32 + Version uint32 + func (obj *NonceAccount) Unmarshal(data []byte) error + func (obj NonceAccount) Marshal() []byte + type NonceVersion uint32 + const NonceVersion0 + const NonceVersion1