Documentation
¶
Overview ¶
Package memo provides typed instruction builders for the SPL Memo program, which records arbitrary UTF-8 strings in the transaction log.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProgramID = solana.MustPublicKey("MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr")
ProgramID is the canonical address of the SPL Memo v2 program.
Functions ¶
func Log ¶
func Log(memo string, signers ...*solana.AccountMeta) solana.Instruction
Log returns an Instruction that records memo in the transaction log. Optionally pass signer accounts (e.g. the fee payer) to have them validate the memo; the on-chain program verifies their signatures.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.