Unsigned Raw Message
constructor(content: String, bip44AddressIndex: Int? = null, bip44change: Int? = null, derivationPath: List<Long>? = null, type: String? = null, preHash: PreHash? = null)
Parameters
content
Content to sign on. Should be 32 bytes long for ECDSA (hash of the actual message to sign) or any length for EdDSA as prehashing is not required.
bip44Address Index
(optional) BIP44 address_index path level
bip44change
(optional) BIP44 change path level
derivation Path
(optional) Should be passed only if asset and source were not specified. Note: for Testnet assets, coin_type
is always '1'.
type
(Optional) Should be passed only if operation is GetTransactionOperation.TYPED_MESSAGE. Possible values are:
EIP191
: for ETH/EVM personal messagesEIP712
: For ETH/EVM typed messagesTIP191
: For TRX personal messagesBTC_MESSAGE
: For BTC personal messages
pre Hash
An object to send when creating ECDSA Raw signing requests.