evmSignTransaction
Ethereum: Sign transaction
Asks device to sign given transaction using the private key derived by given BIP32 path. User is asked to confirm all transaction details on OneKey.
Params
path
— requiredstring | Array<number>
minimum length is3
. read moretransaction
- requiredObject
type ofEthereumTransactionEIP1559|EthereumSignTransaction
"0x" prefix for each field is optionalchainId
- optionalnumber
The ChainId in ETH is a unique identifier for a specific Ethereum network, used to distinguish different versions of the blockchain. Reference.
Examples
EIP1559 (after The London Upgrade)
If both parameters maxFeePerGas
and maxPriorityFeePerGas
are defined, transaction will be signed as the new type introduced in EIP1559.
Legacy
Result
Error
Last updated