Protocol Kit Reference
Transactions
createRejectionTransaction

createRejectionTransaction

Returns a Safe transaction ready to be signed by the owners of the connected Safe that invalidates the pending Safe transactions with a specific nonce.

Usage


_10
import {
_10
MetaTransactionData,
_10
OperationType
_10
} from '@safe-global/types-kit'
_10
import { protocolKit } from './setup.ts'
_10
_10
const nonce = 123
_10
_10
const rejectionTransaction = await protocolKit.createRejectionTransaction(nonce)

Parameters

nonce

  • Type: number

The nonce of the transaction that will be rejected.


_10
const rejectionTransaction = await protocolKit.createRejectionTransaction(
_10
123
_10
)

Returns

Promise<SafeTransaction>

The Safe transaction that invalidates the pending Safe transaction.

Was this page helpful?