API Kit Reference
getMessage

getMessage

Returns a message from its hash.

Usage

import { apiKit } from './setup.ts'

const messageHash = '0x...'

const message = await apiKit.getMessage(messageHash)

Returns

Promise<SafeMessage>

The message.

Parameters

messageHash

  • Type: string

The Safe message hash.

const message = await apiKit.getMessage(
'0x...'
)
Last updated on

Was this page helpful?

We use cookies to provide you with the best experience and to help improve our website and application. Please read our Cookie Policy for more information. By clicking "Accept all", you agree to the storing of cookies on your device to enhance site navigation, analyze site usage and provide customer support.