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
_10import { safeClient } from './setup.ts'_10_10const 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.
_10const txResult = await safeClient.confirm({_10 safeTxHash: '0x...'_10})