API Kit Reference
getMessage

getMessage

Returns a message from its hash.

Usage


_10
import { apiKit } from './setup.ts'
_10
_10
const messageHash = '0x...'
_10
_10
const message = await apiKit.getMessage(messageHash)

Returns

Promise<SafeMessage>

The message.

Parameters

messageHash

  • Type: string

The Safe message hash.


_10
const message = await apiKit.getMessage(
_10
'0x...'
_10
)

Was this page helpful?