UnsignedRawMessage

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.

bip44AddressIndex

(optional) BIP44 address_index path level

bip44change

(optional) BIP44 change path level

derivationPath

(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 messages

  • EIP712: For ETH/EVM typed messages

  • TIP191: For TRX personal messages

  • BTC_MESSAGE: For BTC personal messages

preHash

An object to send when creating ECDSA Raw signing requests.