when i am calling read method using create transaction api it is using gas fee. and it creating a new transaction in the block however if i use fireblocks skd using web3 provider able to call read method without gas fee as i am using web3.call method
output received from calling read method using contractCall operation
“id”: “dadb5ef6-1f12-42d9-8107-8ba5af3f7f71”,
** “createdAt”: 1718172036382,**
** “lastUpdated”: 1718172087225,**
** “assetId”: “ETH_TEST6”,**
** “source”: {**
** “id”: “0”,**
** “type”: “VAULT_ACCOUNT”,**
** “name”: “Default”,**
** “subType”: “”**
** },**
** “destination”: {**
** “id”: “”,**
** “type”: “ONE_TIME_ADDRESS”,**
** “name”: “N/A”,**
** “subType”: “”**
** },**
** “amount”: 0,**
** “fee”: 0.000047736791785848,**
** “networkFee”: 0.000047736791785848,**
** “netAmount”: 0,**
** “sourceAddress”: “0x3A924CcE9A2b9d620654B73a0139027f47F6377b”,**
** “destinationAddress”: “0xFDA462ee94aBCE319DDf5F48d89f772C4C72c7F3”,**
** “destinationAddressDescription”: “”,**
** “destinationTag”: “”,**
** “status”: “COMPLETED”,**
** “txHash”: “0x0de4531173f333e4cc40961957d2876532d2e680c68995b061372ff793f63fa6”,**
** “subStatus”: “CONFIRMED”,**
** “signedBy”: [**
** “cfa949bd-3b51-4582-909a-9abca3312d4d”**
** ],**
** “createdBy”: “338cdc0f-389a-4e27-bfdb-4c16cff36a6b”,**
** “rejectedBy”: “”,**
** “amountUSD”: null,**
** “addressType”: “”,**
** “note”: “calling cal contract get fun”,**
** “exchangeTxId”: “”,**
** “requestedAmount”: 0,**
** “feeCurrency”: “ETH_TEST6”,**
** “operation”: “CONTRACT_CALL”,**
** “numOfConfirmations”: 3,**
** “amountInfo”: {**
** “amount”: “0”,**
** “requestedAmount”: “0”,**
** “netAmount”: “0”**
** },**
** “feeInfo”: {**
** “networkFee”: “0.000047736791785848”,**
** “gasPrice”: “2.0316986630000002”**
** },**
** “blockInfo”: {**
** “blockHeight”: “1719476”,**
** “blockHash”: “0x6270a130007475b54fe05a7ee4f16e7ab35f038b3afcb7159e24212d533b3b71”**
** },**
** “networkRecords”: [**
** {**
** “source”: {**
** “id”: “0”,**
** “type”: “VAULT_ACCOUNT”,**
** “name”: “Default”,**
** “subType”: “”**
** },**
** “destination”: {**
** “id”: “”,**
** “type”: “ONE_TIME_ADDRESS”,**
** “name”: “N/A”,**
** “subType”: “”**
** },**
** “txHash”: “0x0de4531173f333e4cc40961957d2876532d2e680c68995b061372ff793f63fa6”,**
** “networkFee”: “0.000047736791785848”,**
** “assetId”: “ETH_TEST6”,**
** “netAmount”: “0”,**
** “isDropped”: false,**
** “type”: “CONTRACT_CALL”,**
** “destinationAddress”: “0xFDA462ee94aBCE319DDf5F48d89f772C4C72c7F3”**
** }**
** ],**
** “signedMessages”: ,**
** “extraParameters”: {**
** “contractCallData”: “0xde292789”**
** },**
** “assetType”: “BASE_ASSET”**
** }**
. is their any way to call the read methods using this api? and what should be contract call data for read method in my case it doesn’t any parameters to be passed
here is abi for the contract :
[{“inputs”:[{“internalType”:“uint256”,“name”:“a”,“type”:“uint256”},{“internalType”:“uint256”,“name”:“b”,“type”:“uint256”}],“name”:“add”,“outputs”:,“stateMutability”:“nonpayable”,“type”:“function”},{“inputs”:,“name”:“getResult”,“outputs”:[{“internalType”:“uint256”,“name”:“”,“type”:“uint256”}],“stateMutability”:“view”,“type”:“function”}]