Starter Kit Reference
SafeClient
confirm

confirm

If the number of signatures collected in the Safe Transaction Service for a given Safe transaction 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 transaction will be submitted instantly.

Usage


_10
import { safeClient } from './setup.ts'
_10
_10
const txResult = await safeClient.confirm({
_10
safeTxHash: '0x...'
_10
})

Returns

Promise<SafeClientResult>

The result of the confirmed transaction.

Parameters

safeTxHash

  • Type: string

The hash of the Safe transaction to sign.


_10
const txResult = await safeClient.confirm({
_10
safeTxHash: '0x...'
_10
})

Was this page helpful?