Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
feat: remove eth_sendTransaction method (#50)
Browse files Browse the repository at this point in the history
Rationale: we shouldn't expect keyrings to broadcast transactions, only
to sign them.

BREAKING CHANGE: This commit removes the `eth_sendTransaction` from the
allowed methods.
  • Loading branch information
danroc authored Jul 25, 2023
1 parent 012cc2a commit bd99741
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ export const KeyringAccountStruct = object({
methods: array(
enums([
'personal_sign',
'eth_sendTransaction',
'eth_sign',
'eth_signTransaction',
'eth_signTypedData',
Expand Down

0 comments on commit bd99741

Please sign in to comment.