Starter Kit Reference
offchainMessages

offChainMessages

This extension extends the SafeClient functionality by allowing off-chain messages.

Off-chain messages are the default option used by Safe.

Usage


_10
import { offChainMessages } from '@safe-global/sdk-starter-kit'
_10
import { safeClient } from './setup.ts'
_10
_10
const offchainMessagesClient = safeClient.extend(offChainMessages())

Returns

SafeClient & { sendOffChainMessage, confirmOffChainMessage, getPendingOffChainMessages }

The SafeClient instance with the extended functionality.

Was this page helpful?