Skip to content
docs

AccountLike

Defined in: protocol-approvals-evm/src/approvals-protocol.ts:47

Account surface the protocol writes through (a @anywalletkit/wallet-evm account, or anything shaped like one).

optional approve(options): Promise<SendResult>

Defined in: protocol-approvals-evm/src/approvals-protocol.ts:50

bigint

string

string

Promise<SendResult>


getAddress(): Promise<string>

Defined in: protocol-approvals-evm/src/approvals-protocol.ts:42

Promise<string>

ReadOnlyAccountLike.getAddress


optional quoteRevokeDelegation(): Promise<{ fee: bigint; }>

Defined in: protocol-approvals-evm/src/approvals-protocol.ts:53

Promise<{ fee: bigint; }>


optional quoteSendTransaction(tx): Promise<{ fee: bigint; }>

Defined in: protocol-approvals-evm/src/approvals-protocol.ts:49

RevokeTransaction

Promise<{ fee: bigint; }>


optional revokeDelegation(options?): Promise<SendResult>

Defined in: protocol-approvals-evm/src/approvals-protocol.ts:52

Clears an EIP-7702 delegation. Behind the kit’s policies it receives { maxFee } (the policy cap) to hold the transaction to.

WriteOptions

Promise<SendResult>


sendTransaction(tx): Promise<SendResult>

Defined in: protocol-approvals-evm/src/approvals-protocol.ts:48

RevokeTransaction | RevokeTransaction[]

Promise<SendResult>