web3-eth-accounts
Index
Classes
Enumerations
Functions
- assertIsUint8Array
- bigIntToHex
- bigIntToUint8Array
- bigIntToUnpaddedUint8Array
- create
- decrypt
- ecrecover
- encrypt
- hashMessage
- intToUint8Array
- isAccessList
- isAccessListUint8Array
- padToEven
- parseAndValidatePrivateKey
- parseGethGenesis
- privateKeyToAccount
- privateKeyToAddress
- privateKeyToPublicKey
- recover
- recoverTransaction
- setLengthLeft
- sign
- signMessageWithPrivateKey
- signRaw
- signTransaction
- stripHexPrefix
- stripZeros
- toType
- toUint8Array
- uint8ArrayToBigInt
- unpadUint8Array
- zeros
Interfaces
Namespaces
References
Type Aliases
Variables
References
SignResult
Re-exports SignResult
SignTransactionResult
Re-exports SignTransactionResult
SignatureObject
Re-exports SignatureObject
Type Aliases
AccessList
AccessListEIP2930ValuesArray
AccessListItem
Type declaration
address: PrefixedHexString
storageKeys: PrefixedHexString[]
AccessListUint8Array
AccessListUint8ArrayItem
BigIntLike
CasperConfig
CliqueConfig
Type declaration
epoch: number
period: number
EthashConfig
FeeMarketEIP1559ValuesArray
Uint8Array values array for a FeeMarketEIP1559Transaction
NestedUint8Array
PrefixedHexString
ToBytesInputTypes
TxData
Legacy Transaction Data
Type declaration
optionaldata?: Uint8ArrayLike
This will contain the data of the message or the init of a contract.
optionalgasLimit?: Numbers | Uint8Array
The transaction's gas limit.
optionalgasPrice?: Numbers | Uint8Array | null
The transaction's gas price.
optionalnonce?: Numbers | Uint8Array
The transaction's nonce.
optionalr?: Numbers | Uint8Array
EC signature parameter.
optionals?: Numbers | Uint8Array
EC signature parameter.
optionalto?: Address | Uint8Array | HexString
The transaction's the address is sent to.
optionaltype?: Numbers
The transaction type
optionalv?: Numbers | Uint8Array
EC recovery ID.
optionalvalue?: Numbers | Uint8Array
The amount of Ether sent.
TxValuesArray
Uint8Array values array for a legacy Transaction
TypeOutputReturnType
Type declaration
0: number
1: bigint
2: Uint8Array
3: PrefixedHexString
TypedTransaction
Uint8ArrayLike
Variables
constkeyStoreSchema
Type declaration
properties: { address: { type: string }; crypto: { properties: { cipher: { type: string }; cipherparams: { type: string }; ciphertext: { type: string }; kdf: { type: string }; kdfparams: { type: string }; mac: { type: string }; salt: { type: string } }; required: string[]; type: string }; id: { type: string }; version: { type: string } }
address: { type: string }
type: string
crypto: { properties: { cipher: { type: string }; cipherparams: { type: string }; ciphertext: { type: string }; kdf: { type: string }; kdfparams: { type: string }; mac: { type: string }; salt: { type: string } }; required: string[]; type: string }
properties: { cipher: { type: string }; cipherparams: { type: string }; ciphertext: { type: string }; kdf: { type: string }; kdfparams: { type: string }; mac: { type: string }; salt: { type: string } }
cipher: { type: string }
type: string
cipherparams: { type: string }
type: string
ciphertext: { type: string }
type: string
kdf: { type: string }
type: string
kdfparams: { type: string }
type: string
mac: { type: string }
type: string
salt: { type: string }
type: string
required: string[]
type: string
id: { type: string }
type: string
version: { type: string }
type: string
required: string[]
type: string
Uint8Array values array for an AccessListEIP2930Transaction