Documentation
¶
Index ¶
- Variables
- func AdvanceNonce(account, authority ed25519.PublicKey) solana.Instruction
- func CreateAccount(funder, address, owner ed25519.PublicKey, lamports, size uint64) solana.Instruction
- func GetNonceValueFromAccount(info solana.AccountInfo) (val solana.Blockhash, err error)
- type DecompiledAdvanceNonce
- type DecompiledCreateAccount
Constants ¶
This section is empty.
Variables ¶
View Source
var ProgramKey [32]byte
View Source
var RecentBlockhashesSysVar ed25519.PublicKey
RecentBlockhashesSysVar points to the system variable "Recent Blockhashes"
View Source
var RentSysVar ed25519.PublicKey
RentSysVar points to the system variable "Rent"
Functions ¶
func AdvanceNonce ¶ added in v0.50.0
func AdvanceNonce(account, authority ed25519.PublicKey) solana.Instruction
func CreateAccount ¶
func CreateAccount(funder, address, owner ed25519.PublicKey, lamports, size uint64) solana.Instruction
func GetNonceValueFromAccount ¶ added in v0.50.0
func GetNonceValueFromAccount(info solana.AccountInfo) (val solana.Blockhash, err error)
GetNonceValueFromAccount returns the nonce value of a nonce account.
Layout references: https://github.com/solana-labs/solana/blob/d7b9aca87b0327266cde4f0116113a4203642130/web3.js/src/nonce-account.js#L16-L22 https://github.com/solana-labs/solana/blob/a4956844bdd081e7b90508066c579f29be306ce7/sdk/program/src/nonce/state/current.rs#L26
Types ¶
type DecompiledAdvanceNonce ¶ added in v0.82.0
func DecompileAdvanceNonce ¶ added in v0.82.0
func DecompileAdvanceNonce(m solana.Message, index int) (*DecompiledAdvanceNonce, error)
Click to show internal directories.
Click to hide internal directories.