An electrochemical sensor for an analyte is provided. The electrochemical sensor includes CDMOF-2. The CDMOF-2 is capable of binding reversibly to CO.sub.2 as an analyte, thereby quantitatively detecting the analyte in a mixture. The CDMOF-2 is formed from reaction of .gamma.-cyclodextrin with RbOH in the presence of methanol.
STATEMENT REGARDING FEDERALLY SPONSORED RESEARCH OR DEVELOPMENT
 This invention was made with government support under contract number DE-FG02-08ER15967 awarded by the Department of Energy. The government has certain rights in the invention.