diff --git a/docs/web3-eth-accounts.rst b/docs/web3-eth-accounts.rst index 1054657facc..96596bba4e0 100644 --- a/docs/web3-eth-accounts.rst +++ b/docs/web3-eth-accounts.rst @@ -306,7 +306,7 @@ Parameters Returns ------- -``String|Object``: The signed data RLP encoded signature, or if ``returnSignature`` is ``true`` the signature values as follows: +``Object``: The signed data RLP encoded signature, or if ``returnSignature`` is ``true`` the signature values as follows: - ``message`` - ``String``: The the given message. - ``messageHash`` - ``String``: The hash of the given message. - ``r`` - ``String``: First 32 bytes of the signature diff --git a/packages/web3-eth-accounts/types/index.d.ts b/packages/web3-eth-accounts/types/index.d.ts index 661a645d4e3..edd45bde35d 100644 --- a/packages/web3-eth-accounts/types/index.d.ts +++ b/packages/web3-eth-accounts/types/index.d.ts @@ -108,4 +108,5 @@ export interface EncryptedKeystoreV3Json { export interface Sign extends SignedTransaction { message: string; + signature: string; }