Skip to content

signCancelAuthorization

signCancelAuthorization(account, domain, message): Promise<SignedAuthorization<CancelAuthorizationMessage>>

Defined in: src/tokens/eip3009.ts:239

Signs an EIP-3009 CancelAuthorization message.

Cancelling consumes the nonce so a later transferWithAuthorization or receiveWithAuthorization with the same nonce will revert.

Parameters

account

Account

domain

Eip3009Domain

message

CancelAuthorizationMessage

Returns

Promise<SignedAuthorization<CancelAuthorizationMessage>>