I have been trying to call the contract that is whitelisted in my Fireblocks portal but I get:
{
"message": "One or more destinations are invalid",
"code": 1428
}
This is my request structure, I have tried changing the destination id parameter but nothing worked:
{
"operation": "CONTRACT_CALL",
"source": {
"type": "VAULT_ACCOUNT",
"id": "1"
},
"destination": {
"type": "CONTRACT",
"id": "0x90773F9143BB62b90454E9341cbb1f479D117dD5"
},
"extraParameters": {
"contractCallData":"d3fc986400000000000000000000000011618e80753a2ca07ff2ceeb46787ff9f5a9f22700000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000007568747470733a2f2f73696c7665722d666169746866756c2d6d61636b6572656c2d3336382e6d7970696e6174612e636c6f75642f697066732f516d527848616978645357616b65554c6d53627771595a48527239723558367a59753479425274676336576653532f6f70656e5363692e6a736f6e310000000000000000000000"
},
"note": "mint",
"assetId": "ETH_TEST5",
"amount": "0",
"gasLimit": "300000",
"feeLevel": "MEDIUM"
}
I can successfully call the contract if I list destination as one time address. I am wondering how can I do it once it is whitelisted. Thank you