挖币网插件

挖币网收益插件,让您的网站也能轻松拥有收益显示。目前提供两种插件: 币种收益插件、矿机收益插件。

1. 币种收益插件

显示币种价格和日理论收益,币种可定制。

参数列表

属性 说明 必填 默认 例子
coins 显示的币种 值使用半角逗号分割,支持的币种: bitcoin,ethereumpow,litecoin,bitcoincash,kadena,ethereum-classic,zcash,dash,monero,bytom,ravencoin,nervos,handshake,conflux,bitcoinsv,grin,qitmeer-keccak,kaspa,horizen,decred no all bitcoin,litecoin,ethereum
width iframe 宽度 iframe width支持的值 no 100% 100px/80%
height iframe 高度 iframe height支持的值 no 100% 100px/80%

2. 矿机收益插件

显示某一矿机(支持挖币网所有矿机)的收益列表,除了币种列外其他可定制显示列(算力、功耗、日产出、日电费、日净收益、回本天数、关机币价)。 电费可定制。

使用 函数 WabiMinerProfit 调用矿机收益列表。
参数列表

属性 说明 必填 默认 例子
spu 矿机编码 yes ANT-S9-13
showTitle 是否显示标题, 可选值 show, hidden no hidden
electFee 电费价格 no 0.3 0.45
columns 显示的列 支持的列: 算力(hashrate)、功耗(power)、日产出(dailyOutput)、日电费(dailyElectFee)、日净收益(dailyTrueProfit)、回本天数(returnDays, 必须提供price属性)、关机币价(stopCoinPrice) no all hashrate,power
price 矿机价格, 用于计算回本周期 no 0 12332
width iframe 宽度 iframe width支持的值 no 100% 100px/80%
height iframe 高度 iframe height支持的值 no 100% 100px/80%