API Kit Reference
removeSafeDelegate

removeSafeDelegate

Removes a delegate for a given Safe address.

Usage


_10
import { DeleteSafeDelegateProps } from '@safe-global/api-kit'
_10
import { apiKit } from './setup.ts'
_10
_10
const config: DeleteSafeDelegateProps = {
_10
delegateAddress: '0x...',
_10
delegatorAddress: '0x...',
_10
signer
_10
}
_10
_10
await apiKit.removeSafeDelegate(config)

Parameters

config.delegateAddress

  • Type: string

The address of the delegate that will be removed.


_10
await apiKit.removeSafeDelegate({
_10
delegateAddress: '0x...',
_10
delegatorAddress: '0x...',
_10
signer
_10
})

config.delegatorAddress

  • Type: string

The delegator address.


_10
await apiKit.removeSafeDelegate({
_10
delegateAddress: '0x...',
_10
delegatorAddress: '0x...',
_10
signer
_10
})

config.signer

  • Type: Signer

The signer.


_10
await apiKit.removeSafeDelegate({
_10
delegateAddress: '0x...',
_10
delegatorAddress: '0x...',
_10
signer
_10
})

Was this page helpful?