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, for example [44, 0, 0, 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 | BIP44 address_index path level. Together with bip44change, it completes the derivation path when the source and asset are provided in the transaction body request. |
| bip44change | number | BIP44 change path level. Together with bip44AddressIndex, it completes the derivation path when the source and asset are provided in the transaction body request. |
| derivationPath | array of numbers | The full BIP44 derivation path of the signing key as an array of integers in the order purpose, coin_type, account, change, address_index, for example [44, 60, 0, 0, 0]. Pass it only when the source and asset were not specified in the transaction body request, otherwise use bip44AddressIndex and bip44change. - Note: for Testnet assets, coin_type is always 1. |
| type | string | 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 (described below) when creating ECDSA Raw signing requests in cold wallet workspaces. Required in Cold Wallet workspaces only. Regular Fireblocks workspaces do not require this object to be sent. |
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 |