Help us shape the future of Go! Take the 2026 Go Developer Survey

memo

package
v0.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL