How to know weather ETH or some token like USDT is transfered in smart contract transaction

From last two weeks I am stuck on, I want to know in smart contract transaction either ETH is transfered or some token like USDT below is the JSON of transaction hash. I am working with DotNet core RPC. { “transactionHash”: “0xb93a82f4ceed6c77b8b421a839ffffc3b1d1c2c065a3e3382d815c13a6a547e3”, “transactionIndex”: “0x91”, “blockHash”: “0xbd20bcf8a9c1433d7016f3b518d3fdc9a33e534e820e2a98f9d67ae4c614b7e6”, “blockNumber”: “0x896d0f”, “cumulativeGasUsed”: “0x794171”, “gasUsed”: “0x14489”, “contractAddress”: null, “status”:…

Hyperledger REST API roadmap

With Hyperledger composer deprecated and fabric-rest-api (https://github.com/hyperledger-archives/fabric-sdk-rest) archived, what is the future roadmap of REST API for Hyperledger fabric? What is recommended way to expose rest APIs with Hyperledger Fabric 1.4.x? The documentation (https://hyperledger-fabric.readthedocs.io/en/release-1.4/fabric-sdks.html) mentions that REST SDK will be provided in subsequent releases – but cannot find a roadmap.

Connection not open on send when subscribing to new block headers

I am running a local ethereum node with the below configuration geth –syncmode “full” –datadir “.” –ethash.dagdir “.” –cache=4096 –rpc –rpcaddr test.example.com –rpcapi=”web3,miner,admin,db,net,eth,personal,debug,txpool” –rpccorsdomain “test.example.com” –rpcvhosts “test.example.com” –ws –wsaddr test.example.com –wsapi=”web3,miner,admin,db,net,eth,personal,debug,txpool” –wsorigins “*” I am listening to new block headers by subscribing to blockchain events. I am using web socket connection. web3 version 1.2.4 let…

TypeError: Cannot create property ‘constant’ on number ‘123’ web3js

I am trying to send transaction to my contract via node js but I am encountering many problems. This is my node js code: var Web3 = require(‘web3’); var web3 = new Web3(new Web3.providers.HttpProvider(‘http://localhost:7545’)); var myAddress = ‘0x4e5d87aB06D13a17E9f35dfC235B4fC70669151d’; var fs = require(‘fs’); var parsedABI = JSON.parse(fs.readFileSync(‘../abis/Marketplace.json’, ‘utf-8’)); var contractABI = fs.readFileSync(‘../abis/Marketplace.json’) var contractAddress = ‘0x15Cb1e185b0269fFd93516BE007B2aF4BA59f2F5’;…

Error:gas required exceeds allowance (9975570) or always failing transaction

I am trying to calculate the gas limit, to conduct an erc20 token transaction from 1 address to another and get this error:Returned error: gas required exceeds allowance (9975570) or always failing transaction can you help interpret it? let contract = new web3.eth.Contract(ABI, token_contract_Address, { from: Address }) const acc_balance= contractInstance.methods.balanceOf(walletAddress).call(async function(err, result) { await…