Class: Solana::Ruby::Kit::OffchainMessages::MessageV1

Inherits:
T::Struct
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/solana/ruby/kit/offchain_messages/message_v1.rb

Overview

A version 1 offchain message.

Mirrors TypeScript's OffchainMessageV1 — the shape from the newer @solana/offchain-messages package, whose content is UTF-8 and whose preamble lists the addresses required to sign it. This is a different type from the legacy Message in message.rb, which models the older @solana/signers domain/application-domain form; the two are not interchangeable.

Instance Method Summary collapse

Instance Method Details

#versionObject



36
# File 'lib/solana/ruby/kit/offchain_messages/message_v1.rb', line 36

def version = 1