INVARIANT HTTP Request error: Could not find a supported HTTP module.

fcl
.config()
.put(‘grpc.metadata’, { api_key: ‘yk3kx1edji1l6qct51gzfmc7zwflywul’ })
.put(‘accessNode.api’, ‘access.testnet.nodes.onflow.org:9000’)
.put(
‘challenge.handshake’,
https://fcl-discovery.onflow.org/testnet/authn
)
.put(‘fcl.limit’, 10)
const response = await fcl.send([
fcl.getAccount(address), // Get user information by address
])

1 Like