Skip to content

revoke

function revoke(client, options): Promise<`0x${string}`>;

Defined in: packages/synapse-core/src/session-key/actions.ts:101

Revoke the session key.

ParameterTypeDescription
clientClient<Transport, Chain, Account>The client to use.
optionsRevokeOptionsThe options to use.

Promise<`0x${string}`>

The hash of the revoke transaction.

  • SimulateContractErrorType if the simulate contract fails.
  • WriteContractErrorType if the write contract fails.