sendDeviceForSigning: boolean is used to indicate if the transaction request should be saved in TrustVault platform so that the transaction request can be fetched by the iOS app or SDK for signingsendDeviceForSigning: false the transaction values (including the transaction fee) will be calculated but will NOT be saved in TrustVault platform (you can think of sendDeviceForSigning: false as a dry run flag). This gives us the chance to see what the transaction values would look like before the transaction request it actually createdsendDeviceForSigning: false to allow TrustVault to calculate the fees for yousendDeviceForSigning: true or the SDK{
"from": "<FROM_BITPANDA_CUSTODY_ADDRESS>",
"to":"0xaa8f71f62c93f705d70e47748987548b31c0d67e",
"value": "<TRANSACTION_VALUE_IN_WEI>",
"assetSymbol": "ETH",
"speed": "SLOW" | "MEDIUM" | "FAST",
"currency": "GBP",
"sendToDevicesForSigning": false
}{
"data": {
"createEthereumTransaction": {
"chainRate": "3487.9665",
"assetRate": "3487.9665",
"signData": {
"transaction": {
"to": "0xaa8f71f62c93f705d70e47748987548b31c0d67e",
"fromAddress": "0x2F46147dE40e96Ae55a6cC68560645e69eB703e6",
"value": "1",
"gasPrice": "130000000000",
"gasLimit": "21000",
}
}
}
}
}gasPrice/gasLimit result from the graphQL call above is passed when creating a transaction as gasPrice/gasLimit can change$speed is now replaced by $gasPrice and $gasLimit values"sendToDevicesForSigning": true to create the transactionspeed is now replaced by gasPrice and gasLimit{
"from": "<FROM_BITPANDA_CUSTODY_ADDRESS>",
"to":"0xaa8f71f62c93f705d70e47748987548b31c0d67e",
"value": "<TRANSACTION_VALUE_IN_WEI>",
"assetSymbol": "ETH",
"gasPrice": "<GAS_PRICE_RESULT_FROM_PREVIOUS_CALL>",
"gasLimit": "<GAS_LIMIT_RESULT_FROM_PREVIOUS_CALL>",
"currency": "GBP",
"sendToDevicesForSigning": true
}gasPrice and gasLimit result from the ethereumTransactionFee graphQL mutation call (see Calculating Ethereum Transaction Fee) when creating an ethereum transaction request as gasPrice/gasLimit can change