From bd99741a5fc5fc2e8509bd835d9ae18b959daa9a Mon Sep 17 00:00:00 2001 From: Daniel Rocha Date: Tue, 25 Jul 2023 11:41:46 +0200 Subject: [PATCH] feat: remove `eth_sendTransaction` method (#50) 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. --- src/api.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/api.ts b/src/api.ts index 9eb72b57e..dd1423c94 100644 --- a/src/api.ts +++ b/src/api.ts @@ -41,7 +41,6 @@ export const KeyringAccountStruct = object({ methods: array( enums([ 'personal_sign', - 'eth_sendTransaction', 'eth_sign', 'eth_signTransaction', 'eth_signTypedData',