RawMessageData
Parameter | Type | Description |
---|---|---|
messages | array of UnsignedRawMessage objects | The messages that should be signed |
algorithm | string | [optional] The algorithm which will be used to sign the transaction, one of the SigningAlgorithms |
SignedMessage
Parameter | Type | Description |
---|---|---|
content | string/object | The content that was sent to be signed. For RAW signing - the message for signing (hex-formatted). For EIP712 Typed Message signing - the object (payload) for signing. |
algorithm | string | The algorithm that was used for signing, one of the SigningAlgorithms |
derivationPath | Array of numbers | BIP32 derivation path of the signing key. E.g. [44,0,46,0,0] |
signature | dictionary | The message signature |
publicKey | string | The signature's public key is used for verification. |
UnsignedRawMessage
Parameter | Type | Description |
---|---|---|
content | string | The message to be signed in hex format encoding |
bip44AddressIndex | number | [optional] BIP44 address_index path level |
bip44change | number | [optional] BIP44 change path level |
The 2 fields above complement the derivation path given the source id and asset were provided in the transaction body request. | ||
In case none of the above was provided, please specify the derivation path. | ||
derivationPath | array of numbers | [optional] Should be passed only if asset and source were not specified |
type | string | [optional] Should be passed only if operation is 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 | PreHash object | An object to send when creating ECDSA Raw signing requests. |
PreHash
Parameter | Type | Description |
---|---|---|
content | string | The pre-hashed content in hexadecimal representation. |
hashAlgorithm | string | The hashing algorithm to apply to the provided content. Possible values: - SHA256 - KECCAK256 - BLAKE2 - SHA3 - DOUBLE_SHA256 |