confirmOffChainMessage
If the number of signatures collected in the Safe Transaction Service for a given Safe message hash hasn't met the threshold, it will add the signature from the connected signer.
If the number of collected signatures reaches the threshold, the Safe message will be submitted instantly.
Usage
_10import { offchainMessageClient } from './setup.ts'_10_10const messageResult = await offchainMessageClient.confirmOffChainMessage({ _10 messageHash: '0x...'_10})
Returns
Promise<SafeClientResult>
The result of the confirmed message.
Parameters
messageHash
- Type:
string
The hash of the message to sign.
_10const txResult = await safeMessageClient.confirmOffChainMessage({_10 messageHash: '0x...'_10})