Starter Kit Reference
SafeClient
confirm

confirm

Confirms a pending multi-signature transaction shared via the Safe Transaction Service.

  • If the number of signatures collected in the Safe Transaction Service for a given Safe transaction hash hasn't met the threshold, it adds the signature from the connected signer.
  • If the number of collected signatures reaches the threshold, it executes the Safe transaction.

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?