onChainMessages
This extension extends the SafeClient
functionality by allowing on-chain messages.
On-chain messages are regular transactions created using the SignMessageLib (opens in a new tab) contract.
Usage
_10import { onChainMessages } from '@safe-global/sdk-starter-kit'_10import { safeClient } from './setup.ts'_10_10const onchainMessagesClient = safeClient.extend(onChainMessages())
Returns
SafeClient & { sendOnChainMessage }
The SafeClient
instance with the extended functionality.