Authentication

Revoke a signer key

Changed on

Revoke a previously registered signer key. Requires account EIP-712 signature:

Account signs RevokeSigner:

RevokeSigner(address account,address signer,uint48 nonceAnchor,uint8 nonceBitmap)

Struct hash: keccak256(abi.encode(TYPEHASH, account, signer, nonceAnchor, nonceBitmap))

The type string is hashed literally, so it must be copied verbatim — a single added space yields a different typehash and the signature will not recover.

post/v1/auth/revoke-signer

Request

Request body

accountstring

Account address in hex format (0x...)

signerstring

Signer address to revoke

nonce_anchorstring

Bitmap nonce anchor (uint48) from GetNonceState

nonce_bitmap_indexinteger

Bitmap index within the nonce anchor epoch (0-207)

account_signaturestring

EIP712 signature from account (65 bytes hex)

Example request

{
  "account": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
  "signer": "0x1234567890123456789012345678901234567890",
  "nonce_anchor": "0",
  "account_signature": "0x1234..."
}

Response

A successful response.

transaction_hashstring

Transaction hash of the signer revocation

successboolean

Whether the signer revocation succeeded

statusinteger

Session key status after revocation

block_numberstring uint64

Block number of the revocation transaction

Example response

{
  "transaction_hash": "0xabcd1234...",
  "block_number": "12345678"
}

Changes