{"info":{"_postman_id":"c36d58a8-94a5-47a6-88bb-3eaf81ecbaac","name":"API for Poolin","description":"<html><head></head><body><h2 id=\"api调用方式\">API调用方式</h2>\n<p>请求时在<code>header</code>中传入获取到的<code>read_token</code>或者<code>API Key</code></p>\n<p>参数名：<code>authorization</code>, 值为<code>Bearer TOKEN</code></p>\n<p><code>TOKEN</code>替换成要传输的<code>read_token</code>或者<code>API Key</code>的值</p>\n<h2 id=\"how-to-use-api\">How to use API</h2>\n<p>Add <code>read_token</code> or <code>API Key</code> in <code>header</code></p>\n<p>Header Key:<code>authorization</code>,Header Value:<code>Bearer TOKEN</code></p>\n<p><code>TOKEN</code>is value of <code>read_token</code> or <code>API Key</code></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"17982947","collectionId":"c36d58a8-94a5-47a6-88bb-3eaf81ecbaac","publishedId":"UV5cAFWQ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-10-26T03:21:11.000Z"},"item":[{"name":"Watcher","item":[{"name":"子账户收益概要『Sub-account revenue summary information』","id":"46a85ca0-2f77-4d9d-ae34-7250ee67f466","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"Bearer wowELJ1e89UtSnQO7dhMlB7qX2OBixFURpTxgfh6dkfmp5aCLKsv9RKeLn8S9oIP","type":"text"}],"url":"https://api-prod.poolin.com/api/public/v2/payment/stats?puid=9170742&coin_type=eth","urlObject":{"protocol":"https","path":["api","public","v2","payment","stats"],"host":["api-prod","poolin","com"],"query":[{"description":{"content":"<p>子账号ID『Sub-account ID』</p>\n","type":"text/plain"},"key":"puid","value":"9170742"},{"description":{"content":"<p>币种</p>\n","type":"text/plain"},"key":"coin_type","value":"eth"}],"variable":[]}},"response":[{"id":"85a6eaab-bdcb-4d5a-8f9d-b3557d3a40b0","name":"请求成功(success)","originalRequest":{"method":"GET","header":[{"key":"authorization","value":"Bearer wowELJ1e89UtSnQO7dhMlB7qX2OBixFURpTxgfh6dkfmp5aCLKsv9RKeLn8S9oIP","type":"text"}],"url":{"raw":"https://api-prod.poolin.com/api/public/v2/payment/stats?puid=9170742&coin_type=eth","protocol":"https","host":["api-prod","poolin","com"],"path":["api","public","v2","payment","stats"],"query":[{"key":"puid","value":"9170742","description":"子账户id <sub-account ID>"},{"key":"coin_type","value":"eth","description":"币种"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": {\n        \"total_paid_amount\": 256097617,    //累计已支付金额\n        \"yesterday_amount\": \"13558814\",    //昨日已挖\n        \"balance\": 0,    //余额\n        \"today_estimate\": 4262463,    //今日已挖（预估）\n        \"last_payment_time\": 1634873005,    //最后支付时间\n        \"coin_exchange\": {\n            \"status\": false,\n            \"btc_balance\": 0\n        },\n        \"income_transform_status\": {\n            \"settlement_by_btc\": false\n        }\n    }\n}"}],"_postman_id":"46a85ca0-2f77-4d9d-ae34-7250ee67f466"},{"name":"子账户历史收益列表『Sub-account historical income list』","id":"62e119ad-33fb-43da-a969-dbbf43716db3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"Bearer wowELJ1e89UtSnQO7dhMlB7qX2OBixFURpTxgfh6dkfmp5aCLKsv9RKeLn8S9oIP","type":"text"}],"url":"https://api-prod.poolin.com/api/public/v2/payment/history?puid=9170742&coin_type=eth&page=1&pagesize=20&start_date=20211018&end_date=20211019","description":"<h2 id=\"预计6月8日上线新账单系统，上线后此接口返回数据有一些变动，具体如下：\"><strong>预计6月8日上线新账单系统，上线后此接口返回数据有一些变动，具体如下：</strong></h2>\n<p>1、新增\"region_id\"字段，含义：类别，包含值：</p>\n<blockquote>\n<p>a、in：入账&lt;金额进入余额的操作，挖矿收益打入余额等&gt;</p>\n</blockquote>\n<blockquote>\n<p>b、out：出账&lt;金额从余额出去的操作，余额提现到钱包、兑币等操作&gt;</p>\n</blockquote>\n<blockquote>\n<p>c、all：其他</p>\n</blockquote>\n<p>2、新增\"is_new\"字段，含义：是否新账单数据标识，包含值：</p>\n<blockquote>\n<p>a、0：否</p>\n</blockquote>\n<blockquote>\n<p>b、1：是</p>\n</blockquote>\n<p>3、修改\"amount\"字段，region_id为out时，其值为负数；</p>\n<p>4、修改\"share_accept\"字段，region_id为out时，其值可能为0；</p>\n<p>5、修改\"share_unit\"字段，region_id为out时，其值可能为空；</p>\n<p>6、修改\"address\"字段，region_id为in时，其值可能为空；</p>\n<p>7、修改\"unpaid_reason\"字段， 新账单数据将不会单条返回，会在外层统一返回当日最新一条原因</p>\n<h2 id=\"it-is-expected-that-the-new-bill-system-will-be-launched-on-june-8-after-the-launch-this-api-returns-some-fields-will-be-changesthe-details-are-as-follows\"><strong>It is expected that the new bill system will be launched on June 8. After the launch, this Api returns some fields will be changes.The details are as follows:</strong></h2>\n<p>1、Add \"region_id\" field, meaning: category, including value:</p>\n<blockquote>\n<p>a、in: entry &lt; amount entering balance, mining income entering balance, etc. &gt;</p>\n</blockquote>\n<blockquote>\n<p>b、out: out &lt; amount from balance, balance withdrawal to wallet, currency exchange, etc. &gt;</p>\n</blockquote>\n<blockquote>\n<p>c、all: other</p>\n</blockquote>\n<p>2、Add a \"is_new\" field, meaning: whether to identify new bill data, including values:</p>\n<blockquote>\n<p>a、0: no</p>\n</blockquote>\n<blockquote>\n<p>b.、1: yes</p>\n</blockquote>\n<p>3、Modify \"amount\" field, when region_id is out, the value is negative;</p>\n<p>4、Modify \"share_accept\" field, region_ When the ID is out, the value may be 0;</p>\n<p>5、Modify \"share_unit\" field, region_ When the ID is out, the value may be empty;</p>\n<p>6、Modify \"address\" field, region_ When the ID is in, the value may be empty;</p>\n<p>7、Modify \"unpaid_reason\" field, the new bill data will not be returned separately, but the latest reason of the current day will be returned uniformly in the outer layer</p>\n","urlObject":{"protocol":"https","path":["api","public","v2","payment","history"],"host":["api-prod","poolin","com"],"query":[{"description":{"content":"<p>子账号ID『sub-account ID』</p>\n","type":"text/plain"},"key":"puid","value":"9170742"},{"description":{"content":"<p>币种</p>\n","type":"text/plain"},"key":"coin_type","value":"eth"},{"description":{"content":"<p>页码</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>每页数量『default:20』</p>\n","type":"text/plain"},"key":"pagesize","value":"20"},{"description":{"content":"<p>开始时间</p>\n","type":"text/plain"},"key":"start_date","value":"20211018"},{"description":{"content":"<p>结束时间</p>\n","type":"text/plain"},"key":"end_date","value":"20211019"}],"variable":[]}},"response":[{"id":"ad452cbe-acca-4963-9203-21fd77bb974e","name":"新--请求成功(new--success)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api-prod.poolin.com/api/public/v2/payment/history?puid=9170742&coin_type=eth&page=1&pagesize=20","protocol":"https","host":["api-prod","poolin","com"],"path":["api","public","v2","payment","history"],"query":[{"key":"puid","value":"9170742","description":"子账号ID『sub-account ID』"},{"key":"coin_type","value":"eth","description":"币种"},{"key":"page","value":"1","description":"页码"},{"key":"pagesize","value":"20","description":"每页数量『default:20』"},{"key":"start_date","value":"20211018","description":"开始时间","disabled":true},{"key":"end_date","value":"20211019","description":"结束时间","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 02 Jun 2022 02:47:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.0.16"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Origin"},{"key":"Set-Cookie","value":"laravel_session=eyJpdiI6Ikp3UG95Y1drTkFzMkVmNkVWNkp0aWc9PSIsInZhbHVlIjoiWmxUeVhBV1hGdm1vSitZbHhLQ0kyMlAxOU9NZWcxZFljeTlXVlczbnROQlhjelpaWHUxR3dOaVdEdGFlbkQxQ2QraWxHeVRiS0srcVBFK0h6SHlvVmJpM2RuNUJvR1MwTVh4VCtYbzFMZ1A0VVhITVplb0pJTHpiVFhsZ01nR3ciLCJtYWMiOiI0NzBkNDQ4NzE4Mzg0YjFiZGU4MDYyYjBmY2E3MTc5OTFkZjQ1YWUzNTY4YzI5MGE4Yzk3YWI4M2I3NzEwMmNlIiwidGFnIjoiIn0%3D; expires=Thu, 02-Jun-2022 04:47:29 GMT; Max-Age=7200; path=/; httponly; samesite=lax"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"714cdd538a15b40d-HKG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": {\n        \"current_page\": 1,\n        \"unpaid_reason\": 20,  //未支付原因，10：禁止付款；11：自行暂停；20：余额不足；21：余额不足自定义；22：余额扣手续费后不足；23：余额不足-兑币门槛；30：地址空；31：地址修改未满48小时；reasons for not paying, 10: prohibited payment; 11: suspension of self; 20: insufficient balance; 21: insufficient balance for customized; 22: the balance deduction fee is insufficient; ; 31: the address is modified for less than 48 hours\n        \"data\": [\n            {\n                \"date\": 20220531,  //日期\n                \"region_id\": \"in\",  //类别，in：入账（金额进入余额的操作，挖矿收益打入余额等）；out：出账（金额从余额出去的操作，余额提现到钱包、兑币等操作）；all：其他；category,in: entry <amount entering balance, mining income entering balance, etc.>;out: out <amount from balance, balance withdrawal to wallet, currency exchange, etc.>;all:other\n                \"coin_type\": \"eth\",  //币种\n                \"amount\": 8700250,  //收益数额\n                \"change\": -0.4956,  //日变动\n                \"share_accept\": 690.256,  //日算力\n                \"share_unit\": \"M\",  //算力单位\n                \"reject_rate\": 0,  //拒绝率\n                \"address\": null,  //支付地址，入账时可能为空；region_id is 'out',value will be is null\n                \"address_app\": null,\n                \"wallet_name\": \"\",\n                \"wallet_name_en\": \"\",\n                \"address_created_at\": null,\n                \"txhash\": \"\",  //交易hash，入账时可能为空；region_id is 'in',value will be is null\n                \"unpaid_reason\": null,  //未支付原因，新账单数据不会单条显示，会统一返回当日最新一条原因；the new bills value is null\n                \"payment_status\": \"PAID\",  //支付状态: PAID 已支付,PENDING\n                \"paid_at\": 1654064488,  //支付时间\n                \"created_at\": 1654064488,\n                \"is_new\": 1,  //是否新账单数据标识，0:否；1:是\n                \"rate\": null,\n                \"coinexchange\": null,\n                \"type\": 0,  //0:普通账单(ordinary)、2:代理账单(proxy)、8:算力对冲、10:转汇兑币而来的账单(exchange)、11:兑换vcash而来的账单(exchange vcash)、19:赔偿账单(reparation)、20:系统账单(system)、50:出账（out）、51:出账--小额提币（out--micro payment）、52:出账--小额提币的手续费(out--micro payment fee)、53:出账--多账户分账(out--multi address )\n                \"is_manual_withdraw\": false,\n                \"manual_withdraw_fee\": 0,\n                \"multi_address_tag\": false,\n                \"multi_address\": []\n            },\n            {\n                \"date\": 20220530,\n                \"region_id\": \"out\",  //类别，in：入账（金额进入余额的操作，挖矿收益打入余额等）；out：出账（金额从余额出去的操作，余额提现到钱包、兑币等操作）；all：其他\n                \"coin_type\": \"eth\",\n                \"amount\": -24320000,  //收益数额，出账时为负数；region_id is 'out',value is negative\n                \"change\": -1.0914,\n                \"share_accept\": 0,  //日算力，出账时可能为0；region_id is 'out',value will be is 0\n                \"share_unit\": \"\",  //算力单位，出账时可能为空；region_id is 'out',value will be is ''\n                \"reject_rate\": 0,\n                \"address\": \"0x9C29676C4e15b2D03FCb088663A9BfF40cF89518\",\n                \"address_app\": \"0x9C29676C4e15b2D03FCb088663A9BfF40cF89518\",\n                \"wallet_name\": \"\",\n                \"wallet_name_en\": \"\",\n                \"address_created_at\": null,\n                \"txhash\": \"0f6ed147-8e83-42de-98a0-8ca5cf433e29\",\n                \"unpaid_reason\": null,\n                \"payment_status\": \"PAID\",\n                \"paid_at\": 1653473724,\n                \"created_at\": 1653472624,\n                \"is_new\": 1,\n                \"rate\": null,\n                \"coinexchange\": null,\n                \"bill_type\": 0,\n                \"type\": 51,\n                \"is_manual_withdraw\": true,\n                \"manual_withdraw_fee\": 500000,\n                \"multi_address_tag\": false,\n                \"multi_address\": []\n            },\n            {\n                \"date\": 20220529,\n                \"region_id\": \"all\",\n                \"coin_type\": \"eth\",\n                \"amount\": 17247312,\n                \"change\": -1.7092,\n                \"share_accept\": 1.441,\n                \"share_unit\": \"G\",\n                \"reject_rate\": 0.0006,\n                \"address\": \"0x9C29676C4e15b2D03FCb088663A9BfF40cF89518\",\n                \"address_app\": \"0x9C29676C4e15b2D03FCb088663A9BfF40cF89518\",\n                \"wallet_name\": \"\",\n                \"wallet_name_en\": \"\",\n                \"address_created_at\": 1638780740,\n                \"txhash\": \"fda450b6-0944-4818-85ce-ca9e8540c0df\",\n                \"unpaid_reason\": null,\n                \"payment_status\": \"PAID\",\n                \"paid_at\": 1653878554,\n                \"created_at\": 1653871866,\n                \"is_new\": 0,\n                \"rate\": null,\n                \"coinexchange\": null,\n                \"bill_type\": 0,\n                \"type\": 0,\n                \"is_manual_withdraw\": false,\n                \"manual_withdraw_fee\": 0,\n                \"multi_address_tag\": false,\n                \"multi_address\": []\n            },\n            …………\n        ],\n        \"first_page_url\": \"https://api-prod.poolin.com/api/public/v2/payment/history?page=1\",\n        \"from\": 1,\n        \"last_page\": 1,\n        \"last_page_url\": \"https://api-prod.poolin.com/api/public/v2/payment/history?page=1\",\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api-prod.poolin.com/api/public/v2/payment/history?page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"next_page_url\": null,\n        \"path\": \"https://api-prod.poolin.com/api/public/v2/payment/history\",\n        \"per_page\": 20,\n        \"prev_page_url\": null,\n        \"to\": 5,\n        \"total\": 5\n    }\n}"},{"id":"00fa3054-59f9-40d0-8d87-b9e521330adf","name":"请求成功(success)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api-prod.poolin.com/api/public/v2/payment/history?puid=9170742&coin_type=eth&page=1&start_date=20211018&end_date=20211019","protocol":"https","host":["api-prod","poolin","com"],"path":["api","public","v2","payment","history"],"query":[{"key":"puid","value":"9170742"},{"key":"coin_type","value":"eth"},{"key":"page","value":"1"},{"key":"start_date","value":"20211018"},{"key":"end_date","value":"20211019"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": {\n        \"current_page\": 1,\n        \"data\": [\n            {\n                \"date\": 20211019,    //日期\n                \"coin_type\": \"eth\",    //币种\n                \"amount\": 12935277,    //收益数额\n                \"change\": -0.137,    //日变动\n                \"share_accept\": 694.403,    //日算力\n                \"share_unit\": \"M\",    //算力单位\n                \"reject_rate\": 0,    //拒绝率\n                \"address\": \"Balance,ckjth100h000145bhes6wsfep\",    //支付地址\n                \"address_app\": \"Balance,ckjth100h000145bhes6wsfep\",\n                \"wallet_name\": \"矿池账户\",\n                \"wallet_name_en\": \"Pool Balance\",\n                \"address_created_at\": 1634520518,\n                \"txhash\": \"8e624f16-3d0e-4a91-9514-ac31ef3e177c\",    //交易哈希\n                \"unpaid_reason\": null,    //未支付原因\n                \"payment_status\": \"PAID\",    //支付状态: PAID 已支付,PENDING 支付中,DELAYED 延迟\n                \"paid_at\": 1634787347,    //支付时间\n                \"created_at\": 1634690302,\n                \"rate\": null,\n                \"coinexchange\": null,\n                \"bill_type\": 0,\n                \"multi_address_tag\": false,\n                \"multi_address\": [],\n                \"is_manual_withdraw\": false,\n                \"manual_withdraw_fee\": 0\n            },\n            …………\n        ],\n        \"first_page_url\": \"https://api-prod.poolin.com/api/public/v2/payment/history?page=1\",\n        \"from\": 1,\n        \"last_page\": 1,\n        \"last_page_url\": \"https://api-prod.poolin.com/api/public/v2/payment/history?page=1\",\n        \"next_page_url\": null,\n        \"path\": \"https://api-prod.poolin.com/api/public/v2/payment/history\",\n        \"per_page\": 20,\n        \"prev_page_url\": null,\n        \"to\": 3,\n        \"total\": 3\n    }\n}"}],"_postman_id":"62e119ad-33fb-43da-a969-dbbf43716db3"},{"name":"子账户算力历史『Sub-account hashrate history』","id":"4f0950b1-6ef1-4588-b881-c83b79fe8bc9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"Bearer wowELJ1e89UtSnQO7dhMlB7qX2OBixFURpTxgfh6dkfmp5aCLKsv9RKeLn8S9oIP","type":"text"}],"url":"https://api-prod.poolin.com/api/public/v2/worker/share-history?puid=9170742&coin_type=eth&count=10&start_ts=1634616000&dimension=1d&is_cloud_hashrate=1","urlObject":{"protocol":"https","path":["api","public","v2","worker","share-history"],"host":["api-prod","poolin","com"],"query":[{"description":{"content":"<p>子账号ID『sub-account ID』</p>\n","type":"text/plain"},"key":"puid","value":"9170742"},{"description":{"content":"<p>币种</p>\n","type":"text/plain"},"key":"coin_type","value":"eth"},{"description":{"content":"<p>数量</p>\n","type":"text/plain"},"key":"count","value":"10"},{"description":{"content":"<p>开始时间戳『start timestamp』</p>\n","type":"text/plain"},"key":"start_ts","value":"1634616000"},{"description":{"content":"<p>时间维度（一天：1d ；一小时：1h）</p>\n","type":"text/plain"},"key":"dimension","value":"1d"},{"key":"is_cloud_hashrate","value":"1"}],"variable":[]}},"response":[{"id":"d3a05fbc-b02a-473d-9c8d-9968ab4cee62","name":"请求成功(success)","originalRequest":{"method":"GET","header":[{"key":"authorization","value":"Bearer wowELJ1e89UtSnQO7dhMlB7qX2OBixFURpTxgfh6dkfmp5aCLKsv9RKeLn8S9oIP","type":"text"}],"url":{"raw":"https://api-prod.poolin.com/api/public/v2/worker/share-history?puid=9170742&coin_type=eth&count=10&start_ts=1634616000&dimension=1d","protocol":"https","host":["api-prod","poolin","com"],"path":["api","public","v2","worker","share-history"],"query":[{"key":"puid","value":"9170742","description":"子账号ID <sub-account ID>"},{"key":"coin_type","value":"eth","description":"币种"},{"key":"count","value":"10","description":"数量"},{"key":"start_ts","value":"1634616000","description":"开始时间戳 <start timestamp>"},{"key":"dimension","value":"1d","description":"时间维度（一天：1d ；一小时：1h）"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": {\n        \"unit\": \"M\",    //算力单位\n        \"tickers\": [\n            [\n                1634688000,    //时间戳 <timestamp>\n                721.296,    //算力 <calculate ability>\n                0    //拒绝率 <reject rate>\n            ],\n            …………\n        ],\n        \"last_update_time\": null\n    }\n}"}],"_postman_id":"4f0950b1-6ef1-4588-b881-c83b79fe8bc9"},{"name":"矿机分组列表『Worker group list』","id":"55e41bf5-b355-4d57-a6c6-6f6bb9f18e9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"Bearer wowELJ1e89UtSnQO7dhMlB7qX2OBixFURpTxgfh6dkfmp5aCLKsv9RKeLn8S9oIP","type":"text"}],"url":"https://api-prod.poolin.com/api/public/v2/group/all?puid=9170742&coin_type=eth","urlObject":{"protocol":"https","path":["api","public","v2","group","all"],"host":["api-prod","poolin","com"],"query":[{"description":{"content":"<p>子账号ID『sub-account ID』</p>\n","type":"text/plain"},"key":"puid","value":"9170742"},{"description":{"content":"<p>币种</p>\n","type":"text/plain"},"key":"coin_type","value":"eth"}],"variable":[]}},"response":[{"id":"6f689bdc-27f3-42ca-a1b4-9718f5e81638","name":"请求成功(success)","originalRequest":{"method":"GET","header":[{"key":"authorization","value":"Bearer wowELJ1e89UtSnQO7dhMlB7qX2OBixFURpTxgfh6dkfmp5aCLKsv9RKeLn8S9oIP","type":"text"}],"url":{"raw":"https://api-prod.poolin.com/api/public/v2/group/all?puid=9170742&coin_type=eth","protocol":"https","host":["api-prod","poolin","com"],"path":["api","public","v2","group","all"],"query":[{"key":"puid","value":"9170742","description":"子账号ID <sub-account ID>"},{"key":"coin_type","value":"eth","description":"币种"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": [\n        {\n            \"group_id\": 0,    //分组id\n            \"name\": \"all\",    //分组名称\n            \"workers_active\": 3,    //活跃矿机数\n            \"workers_inactive\": 0,    //不活跃矿机数\n            \"workers_dead\": 0,    //失效矿机数\n            \"total_accept_15m\": 749.233,    //总实时算力\n            \"unit\": \"M\"    //算力单位\n        },\n        {\n            \"group_id\": -1,\n            \"name\": \"default\",\n            \"workers_active\": 3,\n            \"workers_inactive\": 0,\n            \"workers_dead\": 0,\n            \"total_accept_15m\": 749.233,\n            \"unit\": \"M\"\n        }\n    ]\n}"}],"_postman_id":"55e41bf5-b355-4d57-a6c6-6f6bb9f18e9e"},{"name":"矿机列表『Worker list』","id":"5d0f8b35-f38e-4ed5-bd63-01194d710e2c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"Bearer wowELJ1e89UtSnQO7dhMlB7qX2OBixFURpTxgfh6dkfmp5aCLKsv9RKeLn8S9oIP","type":"text"}],"url":"https://api-prod.poolin.com/api/public/v2/worker?puid=9170742&coin_type=eth&status=ALL&page=1","urlObject":{"protocol":"https","path":["api","public","v2","worker"],"host":["api-prod","poolin","com"],"query":[{"description":{"content":"<p>子账号ID『sub-account ID』</p>\n","type":"text/plain"},"key":"puid","value":"9170742"},{"description":{"content":"<p>币种</p>\n","type":"text/plain"},"key":"coin_type","value":"eth"},{"description":{"content":"<p>状态（全部：ALL；活跃：ACTIVE；不活跃：INACTIVE；失效：DEAD）</p>\n","type":"text/plain"},"key":"status","value":"ALL"},{"description":{"content":"<p>页码</p>\n","type":"text/plain"},"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"97bd48d6-4d63-4494-8b5e-5877aae663b2","name":"请求成功(success)","originalRequest":{"method":"GET","header":[{"key":"authorization","value":"Bearer wowELJ1e89UtSnQO7dhMlB7qX2OBixFURpTxgfh6dkfmp5aCLKsv9RKeLn8S9oIP","type":"text"}],"url":{"raw":"https://api-prod.poolin.com/api/public/v2/worker?puid=9170742&coin_type=eth&status=ALL&page=1","protocol":"https","host":["api-prod","poolin","com"],"path":["api","public","v2","worker"],"query":[{"key":"puid","value":"9170742","description":"子账号ID <sub-account ID>"},{"key":"coin_type","value":"eth","description":"币种"},{"key":"status","value":"ALL","description":"状态（全部：ALL；活跃：ACTIVE；不活跃：INACTIVE；失效：DEAD）"},{"key":"page","value":"1","description":"页码"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": {\n        \"page\": 1,\n        \"page_size\": 200,\n        \"page_count\": 1,\n        \"total_count\": 3,\n        \"data\": [\n            {\n                \"region_id\": \"beijing6\",    //地区\n                \"worker_id\": \"-1509453768255419014\",    //矿机ID\n                \"worker_name\": \"ethCoin-001\",    //矿机名称\n                \"shares_15m\": 267.242,    //实时算力\n                \"shares_24h\": 243.63,    //24小时算力\n                \"reject_rate\": 0,    //拒绝率\n                \"accept_count\": 0,    //接收数\n                \"active_duration_sec\": 345050,\n                \"session_first_share_time\": 1634549159,\n                \"last_share_time\": 1634894209,    //最近提交时间\n                \"is_proxy_ip\": 0,\n                \"brand_info\": {    //矿机信息\n                    \"brand\": \"显卡\",\n                    \"model\": \"GTX1660S 8卡\",\n                    \"power\": \"900.0000\",\n                    \"hashrate\": \"240.0000\",\n                    \"unit\": \"M\",\n                    \"brand_type\": 0,\n                    \"model_type\": 0\n                },\n                \"online_time\": \"166.57\",    //在线时长\n                \"status\": \"ACTIVE\",    //矿机状态\n                \"shares_unit\": \"M\"    //算力单位\n            },\n            …………\n        ],\n        \"workers_active\": 3,    //活跃矿机数\n        \"workers_inactive\": 0,    //非活跃矿机数\n        \"workers_dead\": 0    //失效矿机数\n    }\n}"}],"_postman_id":"5d0f8b35-f38e-4ed5-bd63-01194d710e2c"},{"name":"矿机信息总览『Worker information overview』","id":"aa88f95e-a2ef-4061-9e5a-97cafdf198af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"Bearer wowELJ1e89UtSnQO7dhMlB7qX2OBixFURpTxgfh6dkfmp5aCLKsv9RKeLn8S9oIP","type":"text"}],"url":"https://api-prod.poolin.com/api/public/v2/worker/stats?puid=9170742&coin_type=eth","urlObject":{"protocol":"https","path":["api","public","v2","worker","stats"],"host":["api-prod","poolin","com"],"query":[{"description":{"content":"<p>子账号ID『sub-account ID』</p>\n","type":"text/plain"},"key":"puid","value":"9170742"},{"description":{"content":"<p>币种</p>\n","type":"text/plain"},"key":"coin_type","value":"eth"}],"variable":[]}},"response":[{"id":"0633826a-6d12-45ad-8590-5681a422004e","name":"请求成功(success)","originalRequest":{"method":"GET","header":[{"key":"authorization","value":"Bearer wowELJ1e89UtSnQO7dhMlB7qX2OBixFURpTxgfh6dkfmp5aCLKsv9RKeLn8S9oIP","type":"text"}],"url":{"raw":"https://api-prod.poolin.com/api/public/v2/worker/stats?puid=9170742&coin_type=eth","protocol":"https","host":["api-prod","poolin","com"],"path":["api","public","v2","worker","stats"],"query":[{"key":"puid","value":"9170742","description":"子账号ID <sub-account ID>"},{"key":"coin_type","value":"eth","description":"币种"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": {\n        \"workers_active\": 3,    //活跃矿机数\n        \"workers_inactive\": 0,    //非活跃矿机数\n        \"workers_dead\": 0,    //失效矿机数\n        \"shares_15m\": 758.778,    //实时算力\n        \"workers_total\": 3,    //矿机总数\n        \"shares_24h\": 695.996,    //24小时算力\n        \"shares_unit\": \"M\",    //算力单位\n        \"cloud_hashrate\": [\n            {\n                \"is_seller\": false   //是否卖出算力\n            },\n            {\n                \"is_buyer\": false    //是否购买算力\n            }\n        ]\n    }\n}"}],"_postman_id":"aa88f95e-a2ef-4061-9e5a-97cafdf198af"},{"name":"活跃矿机历史『Active worker history』","id":"c7060b80-cee5-4678-a0d7-95b70e40f113","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"Bearer wowELJ1e89UtSnQO7dhMlB7qX2OBixFURpTxgfh6dkfmp5aCLKsv9RKeLn8S9oIP","type":"text"}],"url":"https://api-prod.poolin.com/api/public/v2/worker/active/history?puid=9170742&coin_type=eth&start_ts=1634892260&count=72&group=0&dimension=1h","urlObject":{"protocol":"https","path":["api","public","v2","worker","active","history"],"host":["api-prod","poolin","com"],"query":[{"description":{"content":"<p>子账号ID『sub-account ID』</p>\n","type":"text/plain"},"key":"puid","value":"9170742"},{"description":{"content":"<p>币种</p>\n","type":"text/plain"},"key":"coin_type","value":"eth"},{"description":{"content":"<p>开始时间戳『start timestam』</p>\n","type":"text/plain"},"key":"start_ts","value":"1634892260"},{"description":{"content":"<p>数量</p>\n","type":"text/plain"},"key":"count","value":"72"},{"description":{"content":"<p>分组id</p>\n","type":"text/plain"},"key":"group","value":"0"},{"description":{"content":"<p>时间维度（一天：1d ；一小时：1h）</p>\n","type":"text/plain"},"key":"dimension","value":"1h"}],"variable":[]}},"response":[{"id":"09645b8e-a6cf-4688-bd16-1047493cc16f","name":"请求成功(success)","originalRequest":{"method":"GET","header":[{"key":"authorization","value":"Bearer wowELJ1e89UtSnQO7dhMlB7qX2OBixFURpTxgfh6dkfmp5aCLKsv9RKeLn8S9oIP","type":"text"}],"url":{"raw":"https://api-prod.poolin.com/api/public/v2/worker/active/history?puid=9170742&coin_type=eth&start_ts=1634892260&count=3&group=0&dimension=1h","protocol":"https","host":["api-prod","poolin","com"],"path":["api","public","v2","worker","active","history"],"query":[{"key":"puid","value":"9170742","description":"子账号ID <sub-account ID>"},{"key":"coin_type","value":"eth","description":"币种"},{"key":"start_ts","value":"1634892260","description":"开始时间戳"},{"key":"count","value":"3","description":"数量"},{"key":"group","value":"0","description":"分组id"},{"key":"dimension","value":"1h","description":"时间维度（一天：1d ；一小时：1h）"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": [\n        [\n            1634889600,\n            3\n        ],\n        [\n            1634893200,\n            3\n        ],\n        [\n            1634896800,\n            3\n        ]\n    ]\n}"}],"_postman_id":"c7060b80-cee5-4678-a0d7-95b70e40f113"},{"name":"单台矿机概要『Single worker info』","id":"46a46cd2-c06a-4d7f-86e4-f369e175e8f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"Bearer wowELJ1e89UtSnQO7dhMlB7qX2OBixFURpTxgfh6dkfmp5aCLKsv9RKeLn8S9oIP","type":"text"}],"url":"https://api-prod.poolin.com/api/public/v2/worker/-1509453768255419014?puid=9170742&coin_type=eth","urlObject":{"protocol":"https","path":["api","public","v2","worker","-1509453768255419014"],"host":["api-prod","poolin","com"],"query":[{"description":{"content":"<p>子账号ID『sub-account ID』</p>\n","type":"text/plain"},"key":"puid","value":"9170742"},{"description":{"content":"<p>币种</p>\n","type":"text/plain"},"key":"coin_type","value":"eth"}],"variable":[]}},"response":[{"id":"1be2b043-1e44-4359-9f5a-45cc64414d4c","name":"请求成功(success)","originalRequest":{"method":"GET","header":[{"key":"authorization","value":"Bearer wowELJ1e89UtSnQO7dhMlB7qX2OBixFURpTxgfh6dkfmp5aCLKsv9RKeLn8S9oIP","type":"text"}],"url":{"raw":"https://api-prod.poolin.com/api/public/v2/worker/-1509453768255419014?puid=9170742&coin_type=eth","protocol":"https","host":["api-prod","poolin","com"],"path":["api","public","v2","worker","-1509453768255419014"],"query":[{"key":"puid","value":"9170742","description":"子账号ID <sub-account ID>"},{"key":"coin_type","value":"eth","description":"币种"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": {\n        \"worker_id\": \"-1509453768255419014\",    //矿机id\n        \"worker_name\": \"ethCoin-001\",    //矿机名称\n        \"shares_15m\": 248.154,    //实时算力\n        \"shares_24h\": 243.58,    //24小时算力\n        \"shares_unit\": \"M\",    //算力单位\n        \"miner_agent\": \"PROXY\",\n        \"accept_count\": 0,    //接收数\n        \"worker_brand_info\": {    //矿机品牌信息\n            \"brand\": \"显卡\",\n            \"model\": \"GTX1660S 8卡\",\n            \"power\": \"900.0000\",\n            \"hashrate\": \"240.0000\",\n            \"user_set_hashrate\": \"240.0000\",\n            \"unit\": \"M\"\n        },\n        \"reject_rate\": 0,\n        \"last_share_ip\": \"172.17.0.1\",    //上次提交ip\n        \"last_share_location\": {\n            \"zh-cn\": \"局域网 局域网 \",\n            \"en\": \"- - -\"\n        },\n        \"last_share_lan_ip\": \"0.0.0.0\",\n        \"last_share_time\": 1634894573,    //上次提交时间\n        \"active_duration_sec\": 345414,\n        \"session_first_share_time\": 1634549159,\n        \"worker_status\": \"ACTIVE\"    //矿机状态\n    }\n}"}],"_postman_id":"46a46cd2-c06a-4d7f-86e4-f369e175e8f0"},{"name":"单台矿机历史算力『Single worker historical hashrate』","id":"b5f3957a-9e94-4ee2-b2e6-83a81fc524dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"Bearer wowELJ1e89UtSnQO7dhMlB7qX2OBixFURpTxgfh6dkfmp5aCLKsv9RKeLn8S9oIP","type":"text"}],"url":"https://api-prod.poolin.com/api/public/v2/worker/-1509453768255419014/share-history?puid=9170742&coin_type=eth&count=10&start_ts=1634616000&dimension=1d","urlObject":{"protocol":"https","path":["api","public","v2","worker","-1509453768255419014","share-history"],"host":["api-prod","poolin","com"],"query":[{"description":{"content":"<p>子账号ID 『sub-account ID』</p>\n","type":"text/plain"},"key":"puid","value":"9170742"},{"description":{"content":"<p>币种</p>\n","type":"text/plain"},"key":"coin_type","value":"eth"},{"description":{"content":"<p>数量</p>\n","type":"text/plain"},"key":"count","value":"10"},{"description":{"content":"<p>开始时间戳『start timestamp』</p>\n","type":"text/plain"},"key":"start_ts","value":"1634616000"},{"description":{"content":"<p>时间维度（一天：1d ；一小时：1h）</p>\n","type":"text/plain"},"key":"dimension","value":"1d"}],"variable":[]}},"response":[{"id":"7afe5bf7-62b3-4f1a-9a04-dfd377d8398f","name":"请求成功(success)","originalRequest":{"method":"GET","header":[{"key":"authorization","value":"Bearer wowELJ1e89UtSnQO7dhMlB7qX2OBixFURpTxgfh6dkfmp5aCLKsv9RKeLn8S9oIP","type":"text"}],"url":{"raw":"https://api-prod.poolin.com/api/public/v2/worker/-1509453768255419014/share-history?puid=9170742&coin_type=eth&count=10&start_ts=1634616000&dimension=1d","protocol":"https","host":["api-prod","poolin","com"],"path":["api","public","v2","worker","-1509453768255419014","share-history"],"query":[{"key":"puid","value":"9170742","description":"子账号ID <sub-account ID>"},{"key":"coin_type","value":"eth","description":"币种"},{"key":"count","value":"10","description":"数量"},{"key":"start_ts","value":"1634616000","description":"开始时间戳 <start timestamp>"},{"key":"dimension","value":"1d","description":"时间维度（一天：1d ；一小时：1h）"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": {\n        \"unit\": \"M\",    //算力单位\n        \"tickers\": [\n            [\n                1634688000,    //时间戳 <timestamp>\n                250.54,    //算力 <calculate ability>\n                0    //拒绝率 <reject rate>\n            ],\n            …………\n        ]\n    }\n}"}],"_postman_id":"b5f3957a-9e94-4ee2-b2e6-83a81fc524dc"},{"name":"币种每日难度『Calculate the difficulty of the currency by day』","id":"4198f1a6-1a76-4bc1-8caa-1af6a6e580cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api-prod.poolin.com/api/public/v2/basedata/chain/difficulty/stat_by_day?coin_tag=BTC&start_ts=1633060800&end_ts=1634896953","urlObject":{"protocol":"https","path":["api","public","v2","basedata","chain","difficulty","stat_by_day"],"host":["api-prod","poolin","com"],"query":[{"description":{"content":"<p>币种,eg:BTC,LTC,BCH,DASH,DCR,SC,ZEC,ETH,ETN,XMR</p>\n","type":"text/plain"},"key":"coin_tag","value":"BTC"},{"description":{"content":"<p>开始时间戳『start timestamp』</p>\n","type":"text/plain"},"key":"start_ts","value":"1633060800"},{"description":{"content":"<p>结束时间戳 『end timestamp』</p>\n","type":"text/plain"},"key":"end_ts","value":"1634896953"}],"variable":[]}},"response":[{"id":"d4532e05-d558-40aa-b8e5-7a1ac31a19fd","name":"请求成功(success)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api-prod.poolin.com/api/public/v2/basedata/chain/difficulty/stat_by_day?coin_tag=BTC&start_ts=1633060800&end_ts=1634896953","protocol":"https","host":["api-prod","poolin","com"],"path":["api","public","v2","basedata","chain","difficulty","stat_by_day"],"query":[{"key":"coin_tag","value":"BTC","description":"币种,eg:BTC,LTC,BCH,DASH,DCR,SC,ZEC,ETH,ETN,XMR"},{"key":"start_ts","value":"1633060800","description":"开始时间戳 <start timestamp>"},{"key":"end_ts","value":"1634896953","description":"结束时间戳 <end timestamp>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": {\n        \"2021-10-02\": {\n            \"avg_difficulty\": \"18997641161758.99\",    //平均难度\n            \"count\": 188    //出块数量\n        },\n        \"2021-10-03\": {\n            \"avg_difficulty\": \"18997641161758.99\",\n            \"count\": 150\n        },\n        …………\n    }\n}"}],"_postman_id":"4198f1a6-1a76-4bc1-8caa-1af6a6e580cc"}],"id":"a37cb28d-94d8-4b95-9697-ac99e111cdc1","description":"<p><em>用以查看子账户的相关信息</em></p>\n<p><em>Information to view sub-account</em></p>\n<h2 id=\"readtoken\">ReadToken</h2>\n<p>只能查看token所属子账户的数据，并且不能修改相关子账户敏感信息，如收款地址等。</p>\n<p>Can only view the data of the sub-account to which the token belongs. And can not modify the sensitive information of related sub-accounts, such as the receiving address.</p>\n<h4 id=\"readtoken获取方式\">ReadToken获取方式</h4>\n<ol>\n<li>首先创建矿池账户，并创建子账户</li>\n<li>在网页左边菜单栏点击<code>子账户管理</code></li>\n<li>在相应子账户右侧点击<code>其他设置</code> -&gt; <code>观察者设置</code></li>\n<li>创建成功之后会得到一个链接，如：<a href=\"https://www.poolin.com/my/9170742/eth?read_token=wowELJ1e89UtSnQO7dhMlB7qX2OBixFURpTxgfh6dkfmp5aCLKsv9RKeLn8S9oIP\">https://www.poolin.com/my/9170742/eth?read_token=wowELJ1e89UtSnQO7dhMlB7qX2OBixFURpTxgfh6dkfmp5aCLKsv9RKeLn8S9oIP</a></li>\n</ol>\n<p><em>链接中的<code>read_token</code>参数为该子账户的ReadToken，<code>9170742</code>为该子账户的puid</em></p>\n<h4 id=\"how-to-get-readtoken\">How to get ReadToken</h4>\n<ol>\n<li>Create a account of Poolin and create a sub-account</li>\n<li>Click <code>Sub-account Manage</code> in the left menu of the page</li>\n<li>Click <code>Other Settings</code> -&gt; <code>Watcher Setting</code> on the right side of the corresponding sub-account</li>\n<li>Once you create a sub-account, you will get a link such as：<a href=\"https://www.poolin.com/my/9170742/eth?read_token=wowELJ1e89UtSnQO7dhMlB7qX2OBixFURpTxgfh6dkfmp5aCLKsv9RKeLn8S9oIP\">https://www.poolin.com/my/9170742/eth?read_token=wowELJ1e89UtSnQO7dhMlB7qX2OBixFURpTxgfh6dkfmp5aCLKsv9RKeLn8S9oIP</a></li>\n</ol>\n<p><em>The string of random codes at the beginning of <code>wow</code> is the ReadToken of the sub-account. <code>9170742</code>is the puid of this sub-account.</em></p>\n","_postman_id":"a37cb28d-94d8-4b95-9697-ac99e111cdc1"},{"name":"Platform","item":[{"name":"子账户列表『Sub-account list』","id":"6a22499f-c203-4d83-8e47-e2d7be7a6e34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"url":"https://api-prod.poolin.com/api/public/v2/platform/subaccount","urlObject":{"protocol":"https","path":["api","public","v2","platform","subaccount"],"host":["api-prod","poolin","com"],"query":[],"variable":[]}},"response":[{"id":"89cc2b5f-bda5-49c3-ad07-da03a4d4d88f","name":"请求成功(success)","originalRequest":{"method":"GET","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"url":"https://api-prod.poolin.com/api/public/v2/platform/subaccount"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": [\n        {\n            \"puid\": 8888888,    //子账户id\n            \"name\": \"laxxe\",    //子账户名称\n            \"nickname\": \"\",\n            \"default_coin_type\": \"ltc\",    //默认币种\n            \"coins\": {    //币种地址相关信息\n                \"doge\": {\n                    \"address\": \"Blockinwallet,ckjth100h000145xxxxxxxxxx\",    //收款地址\n                    \"coin_type\": \"doge\",    //币种\n                    \"is_hidden\": false,\n                    \"created_at\": 1633764351,\n                    \"work_at\": 1633937151,\n                    \"is_update_recent\": 0,\n                    \"remark\": \"\",\n                    \"wallet_name\": \"币印钱包\",\n                    \"wallet_name_en\": \"Poolin Wallet\"\n                },\n                …………\n            },\n            \"multi_coins\": {\n                \"is_updated_recent\": 0,\n                \"updated_at\": 0\n            },\n            \"status\": 1,\n            \"created_at\": 1620626275,\n            \"open_cloud\": false,\n            \"open_vcash\": true,\n            \"open_nmc\": false,\n            \"open_doge\": true,\n            \"hashrate_auto_switch\": [],\n            \"address_type\": 1\n        },\n        …………\n    ]\n}"}],"_postman_id":"6a22499f-c203-4d83-8e47-e2d7be7a6e34"},{"name":"批量查询子账户算力信息『Batch query sub-account  information』","id":"76e3b1f9-bb19-44ef-8563-5e48e7308309","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"url":"https://api-prod.poolin.com/api/public/v2/platform/subaccount/batch?puids=8888888,9999999","urlObject":{"protocol":"https","path":["api","public","v2","platform","subaccount","batch"],"host":["api-prod","poolin","com"],"query":[{"description":{"content":"<p>子账户id集『sub-account ids』eg:78,89</p>\n","type":"text/plain"},"key":"puids","value":"8888888,9999999"}],"variable":[]}},"response":[{"id":"074978a8-807e-4de9-ac21-1fbb7df4b0ab","name":"请求成功(success)","originalRequest":{"method":"GET","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"url":{"raw":"https://api-prod.poolin.com/api/public/v2/platform/subaccount/batch?puids=8888888,9999999","protocol":"https","host":["api-prod","poolin","com"],"path":["api","public","v2","platform","subaccount","batch"],"query":[{"key":"puids","value":"8888888,9999999","description":"子账户id集 <sub-account ids>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": [\n        {\n            \"puid\": 8888888,    //子账户id（sub-account id）\n            \"name\": \"laxxe1\",    //子账户名称\n            \"shares_unit\": \"M\",    //算力单位\n            \"workers_active\": 3,    //活跃矿机数\n            \"workers_inactive\": 0,    //非活跃矿机数\n            \"workers_dead\": 0,    //失效矿机数\n            \"accept_count\": 0,\n            \"yesterday_amount\": 12998926,    //昨日收益\n            \"shares_1m\": 0,\n            \"shares_5m\": 0,\n            \"shares_15m\": 749.233,    //实时算力\n            \"shares_1h\": 703.897,    //1小时算力\n            \"shares_24h\": 699.921,    //24小时算力\n            \"reject_15m\": 0,\n            \"reject_1h\": 0.12    //拒绝率\n        }\n    ]\n}"}],"_postman_id":"76e3b1f9-bb19-44ef-8563-5e48e7308309"},{"name":"根据币种查询子账户挖矿信息『Query information about a sub-account and currency』","id":"f79a00f1-1b71-4358-bdd4-413e40e1b1a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"url":"https://api-prod.poolin.com/api/public/v2/platform/subaccount/summary?puid=8888888&coin_type=eth","urlObject":{"protocol":"https","path":["api","public","v2","platform","subaccount","summary"],"host":["api-prod","poolin","com"],"query":[{"description":{"content":"<p>子账户id『sub-account id』</p>\n","type":"text/plain"},"key":"puid","value":"8888888"},{"description":{"content":"<p>币种</p>\n","type":"text/plain"},"key":"coin_type","value":"eth"}],"variable":[]}},"response":[{"id":"121f1a96-a149-46e4-8cb2-7ff0adb8ef1e","name":"请求成功(success)","originalRequest":{"method":"GET","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"url":{"raw":"https://api-prod.poolin.com/api/public/v2/platform/subaccount/summary?puid=8888888&coin_type=eth","protocol":"https","host":["api-prod","poolin","com"],"path":["api","public","v2","platform","subaccount","summary"],"query":[{"key":"puid","value":"8888888","description":"子账户id <sub-account id>"},{"key":"coin_type","value":"eth","description":"币种"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": [\n        {\n            \"puid\": \"8888888\",    //子账户id\n            \"name\": \"laxxe1\",    //子账户名称\n            \"workers_active\": 3,    //活跃矿机数\n            \"workers_inactive\": 0,    //非活跃矿机数\n            \"workers_dead\": 0,    //失效矿机数\n            \"accept_count\": 0,\n            \"updated_at\": \"2021-10-25 09:50:04\",\n            \"yesterday_amount\": 12998926,    //昨日收益\n            \"shares_1m\": 0,\n            \"shares_5m\": 0,\n            \"shares_15m\": 835.133,    //实时算力\n            \"shares_1h\": 739.689,    //1小时算力\n            \"shares_24h\": 704.047,    //24小时算力\n            \"shares_unit\": \"M\",    //算力单位\n            \"reject_15m\": 0,\n            \"reject_1h\": 0    //拒绝率\n        }\n    ]\n}"}],"_postman_id":"f79a00f1-1b71-4358-bdd4-413e40e1b1a4"},{"name":"批量获取子账户","id":"23d8a4a8-0cac-4e80-a2ba-0349061fe1b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"url":"https://api-prod.poolin.com/api/public/v2/platform/subaccount/list?page=1&page_size=10","urlObject":{"protocol":"https","path":["api","public","v2","platform","subaccount","list"],"host":["api-prod","poolin","com"],"query":[{"key":"page","value":"1"},{"key":"page_size","value":"10"}],"variable":[]}},"response":[{"id":"4cb20d51-2a85-402e-83ad-7c0129bc4805","name":"请求成功(success)","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer poolXnCbkduEESaAF3fqYtI6d7HzJpMKafzkuzbP3LsP2hVRvjZefqwWzsr7hS8u","type":"text"}],"url":{"raw":"https://api-prod.poolin.com/api/public/v2/platform/subaccount/list?page=1&page_size=10","protocol":"https","host":["api-prod","poolin","com"],"path":["api","public","v2","platform","subaccount","list"],"query":[{"key":"page","value":"1"},{"key":"page_size","value":"10"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Mar 2022 06:41:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"set-cookie","value":"laravel_session=eyJpdiI6IkxXc3VKVjY0SEtmQWpPOUxUYlp6U2c9PSIsInZhbHVlIjoieU5ES2FUOVdlTGJkc1V1eUQwVFRvT1dNaUhwenVoMEFOcFJcL0RMM3FUMWZnSTlXQll6aEJzamxoR2YydjhzWWRCcXN0ekpaQWRVN1hIRUVQVHFEY3M2aHZLb1dGRHd1bFdOa2UrejdoOGZcL1VJVEQySWZmWklqdnRjbnp1YzRCMiIsIm1hYyI6IjliNmVhZTYxZDY3OTE4ODJlNzk1NmIyNGUzMDcyZGNlMmQ4OGNmMTY1YWJmNjBkMWNmZTYwYmUzNTNiOGMzZjcifQ%3D%3D; expires=Thu, 03-Mar-2022 08:41:46 GMT; Max-Age=7200; path=/; httponly"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"6e606369b874227f-HKG"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": {\n        \"current_page\": 1,\n        \"data\": [\n            {\n                \"puid\": 9029648,\n                \"name\": \"aaa\",\n                \"default_coin_type\": \"btc\",\n                \"created_at\": \"2019-07-08 06:14:52\"\n            },\n            {\n                \"puid\": 9043266,\n                \"name\": \"bbb\",\n                \"default_coin_type\": \"btc\",\n                \"created_at\": \"2019-09-05 05:58:34\"\n            },\n            {\n                \"puid\": 9043268,\n                \"name\": \"ccc\",\n                \"default_coin_type\": \"ltc\",\n                \"created_at\": \"2019-09-05 06:08:54\"\n            },\n            {\n                \"puid\": 9043269,\n                \"name\": \"ddd\",\n                \"default_coin_type\": \"btc\",\n                \"created_at\": \"2019-09-05 06:15:17\"\n            },\n            {\n                \"puid\": 9043270,\n                \"name\": \"0905two\",\n                \"default_coin_type\": \"btc\",\n                \"created_at\": \"2019-09-05 06:29:11\"\n            },\n            {\n                \"puid\": 9111848,\n                \"name\": \"sssltc\",\n                \"default_coin_type\": \"ltc\",\n                \"created_at\": \"2020-06-17 02:32:00\"\n            },\n            {\n                \"puid\": 9136208,\n                \"name\": \"eth2020101518n1\",\n                \"default_coin_type\": \"eth\",\n                \"created_at\": \"2020-10-15 10:06:45\"\n            },\n            {\n                \"puid\": 9136209,\n                \"name\": \"eth2020101518n2\",\n                \"default_coin_type\": \"eth\",\n                \"created_at\": \"2020-10-15 10:07:18\"\n            },\n            {\n                \"puid\": 9136211,\n                \"name\": \"eth1015n3\",\n                \"default_coin_type\": \"eth\",\n                \"created_at\": \"2020-10-15 10:11:32\"\n            },\n            {\n                \"puid\": 9142815,\n                \"name\": \"zecwsdy111\",\n                \"default_coin_type\": \"zec\",\n                \"created_at\": \"2020-11-17 03:04:55\"\n            }\n        ],\n        \"first_page_url\": \"https://api-prod.poolin.com/api/public/v2/platform/subaccount/list?page=1\",\n        \"from\": 1,\n        \"last_page\": 4,\n        \"last_page_url\": \"https://api-prod.poolin.com/api/public/v2/platform/subaccount/list?page=4\",\n        \"next_page_url\": \"https://api-prod.poolin.com/api/public/v2/platform/subaccount/list?page=2\",\n        \"path\": \"https://api-prod.poolin.com/api/public/v2/platform/subaccount/list\",\n        \"per_page\": \"10\",\n        \"prev_page_url\": null,\n        \"to\": 10,\n        \"total\": 32\n    }\n}"}],"_postman_id":"23d8a4a8-0cac-4e80-a2ba-0349061fe1b5"},{"name":"根据名字获取puid","id":"e2de8996-fc7e-4f68-bf6a-1e6bfc64dd4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer poolXnCb********************************hS8u","type":"text"}],"url":"https://api-prod.poolin.me/api/public/v2/platform/subaccount/get-by-name?name=waesss,test23334","urlObject":{"protocol":"https","path":["api","public","v2","platform","subaccount","get-by-name"],"host":["api-prod","poolin","me"],"query":[{"key":"name","value":"waesss,test23334"}],"variable":[]}},"response":[{"id":"567c274f-6eac-4cd9-a66b-d386dd1bc124","name":"success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer poolXnCbkduEESaAF3fqYtI6d7HzJpMKafzkuzbP3LsP2hVRvjZefqwWzsr7hS8u","type":"text"}],"url":{"raw":"https://api-prod.poolin.me/api/public/v2/platform/subaccount/get-by-name?name=waesss,test23334","protocol":"https","host":["api-prod","poolin","me"],"path":["api","public","v2","platform","subaccount","get-by-name"],"query":[{"key":"name","value":"waesss,test23334"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 07 Mar 2022 03:27:05 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PHP/7.4.27"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"set-cookie","value":"laravel_session=eyJpdiI6InE3aEVQczF6ZkYrc0hDR3I3SmIrcGc9PSIsInZhbHVlIjoiYWI3WnpVSVVrZWpHMEJldWNHa1Q3dUYxZzZ0MHlOaXROOXl0MHNJS29UYjFiNzlBcXA4QWhUUlRleWgxSUpsXC84Zkx5ZVF3SnFGOEZIV0FobVFYSlNEVDVEVFpsbjNHYzB0dTMrTmVrUFNYQk1kdmVLcTl1QU15ZFZ3VW5NS3BkIiwibWFjIjoiZWM3MmQ0MDRjZWFhZGYwNTEyMTNhN2EwZmM3ZWM3ODliMTMyOWEzNDRkZDk4NDBjYTAyYzIzYzRjOTExNTkxOSJ9; expires=Mon, 07-Mar-2022 05:27:05 GMT; Max-Age=7200; path=/; httponly"},{"key":"Content-Encoding","value":"gzip"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"6e803bbc6ff43d3c-HKG"}],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": {\n        \"test23334\": 9414024,\n        \"waesss\": 9887144\n    }\n}"}],"_postman_id":"e2de8996-fc7e-4f68-bf6a-1e6bfc64dd4d"},{"name":"创建子账户『Create a sub-account』","id":"4d485f96-4ae9-42c1-aba7-bcc26f9364cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"laxxe6","description":"<p>子账户名称『sub-account name』</p>\n","type":"text"},{"key":"coin_type","value":"eth","description":"<p>默认币种『default coin type』</p>\n","type":"text"},{"key":"address","value":"0xe9e70C1Cebdd06**********141b2865180Fa82b","description":"<p>收款地址『payment address』,eg:'Blockinwallet,'(币印钱包地址，待开放);'Balance,'(币印矿池地址，待开放);0xe9e70C1Cebdd06**********141b2865180Fa82b(普通收款地址)</p>\n","type":"text"}]},"url":"https://api-prod.poolin.com/api/public/v2/platform/subaccount/create","description":"<p>需要<code>subaccount-create</code>权限</p>\n<p>Required <code>subaccount-create</code> permissions</p>\n","urlObject":{"protocol":"https","path":["api","public","v2","platform","subaccount","create"],"host":["api-prod","poolin","com"],"query":[],"variable":[]}},"response":[{"id":"a0f82a21-02f6-44f5-a05c-c8e9e5134ab5","name":"请求成功(success)","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"laxxe6","description":"子账户名称 <sub-account name>","type":"text"},{"key":"coin_type","value":"eth","description":"默认币种 <default coin type>","type":"text"},{"key":"address","value":"0xe9e70C1Cebdd06**********141b2865180Fa82b","description":"收款地址 <payment address>,eg:'Blockinwallet,'(币印钱包地址，待开放);'Balance,'(币印矿池地址，待开放);0xe9e70C1Cebdd06**********141b2865180Fa82b(普通收款地址)","type":"text"}]},"url":"https://api-prod.poolin.com/api/public/v2/platform/subaccount/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": {\n        \"puid\": 8888888,    //子账户id\n        \"name\": \"laxxe6\",    //子账户名称\n        \"default_coin_type\": \"eth\",    //默认币种\n        \"coins\": {},\n        \"created_at\": 1635157792\n    }\n}"},{"id":"2ddb602f-0c76-41dc-9bf9-13b1024fa9ef","name":"请求失败(error)","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"laxxe6","description":"子账户名称 <sub-account name>","type":"text"},{"key":"coin_type","value":"eth","description":"默认币种 <default coin type>","type":"text"},{"key":"address","value":"0xe9e70C1Cebdd06**********141b2865180Fa82b","description":"收款地址 <payment address>,eg:'Blockinwallet,'(币印钱包地址，待开放);'Balance,'(币印矿池地址，待开放);0xe9e70C1Cebdd06**********141b2865180Fa82b(普通收款地址)","type":"text"}]},"url":"https://api-prod.poolin.com/api/public/v2/platform/subaccount/create"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 100,\n    \"err_msg\": \"too many sub-accounts,maximum:200\"\n    \"errors\": []\n}\n{\n    \"err_no\": 101,\n    \"err_msg\": \"sub-account name already exists\",\n    \"errors\": []\n}\n{\n    \"err_no\": 102,\n    \"err_msg\": \"more than 24 hours limit,maximum:100\",\n    \"errors\": []\n}\n{\n    \"err_no\": 501 or 505,\n    \"err_msg\": \"address not validate\",\n    \"errors\": []\n}\n{\n    \"err_no\": 507,\n    \"err_msg\": \"Unexpected error\",\n    \"errors\": []\n}"}],"_postman_id":"4d485f96-4ae9-42c1-aba7-bcc26f9364cf"},{"name":"打开/关闭自动支付『Open|close automatic payment』","id":"4964319a-5a20-4049-b373-2f319f4a283e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"url":"https://api-prod.poolin.com/api/public/v2/platform/payment/auto?puid=8888888&coin_type=btc","description":"<p>需要<code>subaccount-create</code>权限</p>\n<p>Required <code>subaccount-create</code> permissions</p>\n<p><em>注：该接口会自动根据当前支付状态取反（当前状态是<code>关闭</code>，请求成功会更改为<code>打开</code>。反之同理）</em></p>\n<p><em>Note: the interface will be automatically reversed according to the current payment status (if the current status is <code>closed</code>, the request will be changed to <code>open</code>. Otherwise, the same is true)</em></p>\n","urlObject":{"protocol":"https","path":["api","public","v2","platform","payment","auto"],"host":["api-prod","poolin","com"],"query":[{"description":{"content":"<p>子账户id『sub-account id』</p>\n","type":"text/plain"},"key":"puid","value":"8888888"},{"description":{"content":"<p>币种</p>\n","type":"text/plain"},"key":"coin_type","value":"btc"}],"variable":[]}},"response":[{"id":"b5bee07e-ea2e-42b8-a814-1c213f96df16","name":"请求成功(success)","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"url":{"raw":"https://api-prod.poolin.com/api/public/v2/platform/payment/auto?puid=8888888&coin_type=btc","protocol":"https","host":["api-prod","poolin","com"],"path":["api","public","v2","platform","payment","auto"],"query":[{"key":"puid","value":"8888888"},{"key":"coin_type","value":"btc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": {\n        \"is_close\": 1    //当前状态 (0 open, 1 closed)\n    }\n}"}],"_postman_id":"4964319a-5a20-4049-b373-2f319f4a283e"},{"name":"获取自动支付状态『Get auto payment status』","id":"05b4225b-43fe-49ff-a01e-1eb418520c47","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"url":"https://api-prod.poolin.com/api/public/v2/platform/payment/auto?puid=8888888&coin_type=eth","description":"<p>需要<code>subaccount-create</code>权限</p>\n<p>Required <code>subaccount-create</code> permissions</p>\n","urlObject":{"protocol":"https","path":["api","public","v2","platform","payment","auto"],"host":["api-prod","poolin","com"],"query":[{"description":{"content":"<p>子账户id『sub-account id』</p>\n","type":"text/plain"},"key":"puid","value":"8888888"},{"description":{"content":"<p>币种</p>\n","type":"text/plain"},"key":"coin_type","value":"eth"}],"variable":[]}},"response":[{"id":"2fe2d9ef-f441-458f-8c24-47216b0c0c1c","name":"请求成功(success)","originalRequest":{"method":"GET","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"url":{"raw":"https://api-prod.poolin.com/api/public/v2/platform/payment/auto?puid=8888888&coin_type=eth","protocol":"https","host":["api-prod","poolin","com"],"path":["api","public","v2","platform","payment","auto"],"query":[{"key":"puid","value":"8888888"},{"key":"coin_type","value":"eth"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": {\n        \"is_close\": 0    //是否关闭 (0 open, 1 closed)\n    }\n}"}],"_postman_id":"05b4225b-43fe-49ff-a01e-1eb418520c47"},{"name":"修改子账户地址『Update sub-account address』","id":"93b9b57d-7cf7-4aca-b3b1-4730ae3e57ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"address","value":"0xe9e70C1Cebdd06**********141b2865180Fa82b","description":"<p>子账户收款地址</p>\n","type":"text"},{"key":"coin_type","value":"eth","description":"<p>币种</p>\n","type":"text"}]},"url":"https://api-prod.poolin.com/api/public/v2/platform/subaccount/{puid}/update/address","description":"<p>需要<code>address-update</code>权限</p>\n<p>Required <code>address-update</code> permissions</p>\n","urlObject":{"protocol":"https","path":["api","public","v2","platform","subaccount","{puid}","update","address"],"host":["api-prod","poolin","com"],"query":[],"variable":[]}},"response":[{"id":"d4888b9f-43b8-40f1-b465-f3908828d488","name":"请求成功(success)","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"address","value":"0xe9e70C1Cebdd06**********141b2865180Fa82b","type":"text"},{"key":"coin_type","value":"eth","type":"text"}]},"url":"https://api-prod.poolin.com/api/public/v2/platform/subaccount/{puid}/update/address"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": null\n}"},{"id":"cb8bb6e1-d306-474c-9e71-424448b9a07b","name":"请求失败(error)","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"address","value":"0xe9e70C1Cebdd06**********141b2865180Fa82b","type":"text"},{"key":"coin_type","value":"eth","type":"text"}]},"url":"https://api-prod.poolin.com/api/public/v2/platform/subaccount/{puid}/update/address"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 100,\n    \"err_msg\": \"subaccount not found\"\n    \"errors\": []\n}\n{\n    \"err_no\": 501|505,\n    \"err_msg\": \"address not validate\"\n    \"errors\": []\n}"}],"_postman_id":"93b9b57d-7cf7-4aca-b3b1-4730ae3e57ce"},{"name":"创建观察者(观察者token)『Create observer(observer token)』","id":"fcc09ce3-a375-4045-b76b-e556470319cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"laxxe1","description":"<p>观察者名称『watcher name』</p>\n","type":"text"},{"key":"coin_types[0]","value":"btc","description":"<p>币种集『coin types』 (array)</p>\n","type":"text"},{"key":"puid","value":"8888888","description":"<p>子账户id『sub-account id』</p>\n","type":"text"}]},"url":"https://api-prod.poolin.com/api/public/v2/platform/watcher/token/create","description":"<p>需要<code>watcher-create</code>权限</p>\n<p>Required <code>watcher-create</code> permissions</p>\n","urlObject":{"protocol":"https","path":["api","public","v2","platform","watcher","token","create"],"host":["api-prod","poolin","com"],"query":[],"variable":[]}},"response":[{"id":"d806eef1-12e9-4991-b5bb-677e2f471130","name":"请求成功(success)","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"laxxe1","description":"子账户名称 <sub-account name>","type":"text"},{"key":"coin_types[0]","value":"btc","description":"币种集 <coin types> (array)","type":"text"},{"key":"puid","value":"8888888","description":"子账户id <sub-account id>","type":"text"}]},"url":"https://api-prod.poolin.com/api/public/v2/platform/watcher/token/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": {\n        \"token\": \"wowCPH3qj4mYFvpTM*************************QXqkF8vwBhZ6LDBWAkkcWU\",    //观察者token（read_token）\n        \"puid\": 8888888,    //子账户id (sub-account id)\n        \"coin_types\": \"btc\",    //币种\n        \"regions\": \"*\",\n        \"name\": \"laxxe1\",    //观察者名称\n        \"created_at\": 1635216396,    //创建时间\n        \"expired_at\": 4790889996,    //过期时间\n        \"subaccount_name\": \"laxxe1\"    //子账户名称\n    }\n}"},{"id":"c905d120-5787-4acf-8902-d692f7ad9c45","name":"请求失败(error)","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"laxxe1","description":"子账户名称 <sub-account name>","type":"text"},{"key":"coin_types[0]","value":"btc","description":"币种集 <coin types> (array)","type":"text"},{"key":"puid","value":"8888888","description":"子账户id <sub-account id>","type":"text"}]},"url":"https://api-prod.poolin.com/api/public/v2/platform/watcher/token/create"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 100,\n    \"err_msg\": \"too many tokens,maximum:50\"\n    \"errors\": []\n}"}],"_postman_id":"fcc09ce3-a375-4045-b76b-e556470319cb"},{"name":"创建新版观察者(观察者token)『Create new version of the observer token(with observer permission)』","id":"8218013a-60c4-4052-b544-d432c8c82829","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"laxxe1","description":"<p>观察者名称『watcher name』</p>\n","type":"text"},{"key":"coin_types[0]","value":"btc","description":"<p>币种集『coin types』 (array)</p>\n","type":"text"},{"key":"puid","value":"8888888","description":"<p>子账户id『sub-account id』</p>\n","type":"text"},{"key":"watcher_type[0]","value":"dashboard","description":"<p>token权限『dashboard(面板),worker(矿机),payment(收益)』(array)</p>\n","type":"text"}]},"url":"https://api-prod.poolin.com/api/public/v2/platform/watcher/token/create/new","description":"<p>需要<code>watcher-create</code>权限</p>\n<p>Required <code>watcher-create</code> permissions</p>\n","urlObject":{"protocol":"https","path":["api","public","v2","platform","watcher","token","create","new"],"host":["api-prod","poolin","com"],"query":[],"variable":[]}},"response":[{"id":"dba5d86b-d183-4495-95c9-5dd6261d16f6","name":"请求成功(success)","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"laxxe1","description":"子账户名称 <sub-account name>","type":"text"},{"key":"coin_types[0]","value":"btc","description":"币种集 <coin types> (array)","type":"text"},{"key":"puid","value":"8888888","description":"子账户id <sub-account id>","type":"text"}]},"url":"https://api-prod.poolin.com/api/public/v2/platform/watcher/token/create/new"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": {\n        \"token\": \"wowCPH3qj4mYFvpTM*************************QXqkF8vwBhZ6LDBWAkkcWU\",    //观察者token（read_token）\n        \"puid\": 8888888,    //子账户id (sub-account id)\n        \"coin_types\": \"btc\",    //币种\n        \"regions\": \"*\",\n        \"name\": \"laxxe1\",    //观察者名称\n        \"created_at\": 1635216396,    //创建时间\n        \"expired_at\": 4790889996,    //过期时间\n        \"subaccount_name\": \"laxxe1\"    //子账户名称\n    }\n}"},{"id":"318d45a2-25cc-462f-abc3-49318d189833","name":"请求失败(error)","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"laxxe1","description":"子账户名称 <sub-account name>","type":"text"},{"key":"coin_types[0]","value":"btc","description":"币种集 <coin types> (array)","type":"text"},{"key":"puid","value":"8888888","description":"子账户id <sub-account id>","type":"text"}]},"url":"https://api-prod.poolin.com/api/public/v2/platform/watcher/token/create/new"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 100,\n    \"err_msg\": \"too many tokens,maximum:50\"\n    \"errors\": []\n}"}],"_postman_id":"8218013a-60c4-4052-b544-d432c8c82829"},{"name":"删除观察者『Delete observer』","id":"09e658fe-3433-43c6-afc7-894b99d28784","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"puid","value":"8888888","description":"<p>子账户id『sub-account id』</p>\n","type":"text"},{"key":"token","value":"wowIYTgam1ma6Nbdjg**************AbRHJuY1nbKXHyEIZsoHZLd0ffjUre0","description":"<p>观察者token</p>\n","type":"text"}]},"url":"https://api-prod.poolin.com/api/public/v2/platform/watcher/token/delete","description":"<p>需要<code>watcher-create</code>权限</p>\n<p>Required <code>watcher-create</code> permissions</p>\n","urlObject":{"protocol":"https","path":["api","public","v2","platform","watcher","token","delete"],"host":["api-prod","poolin","com"],"query":[],"variable":[]}},"response":[{"id":"8efedf6d-42df-4551-9703-c56cfc748595","name":"请求成功(success)","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"puid","value":"8888888","type":"text"},{"key":"token","value":"wowIYTgam1ma6Nbdjg**************AbRHJuY1nbKXHyEIZsoHZLd0ffjUre0","type":"text"}]},"url":"https://api-prod.poolin.com/api/public/v2/platform/watcher/token/delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": null\n}"}],"_postman_id":"09e658fe-3433-43c6-afc7-894b99d28784"},{"name":"云算力--可转让算力查询『Cloud Hashrate--query available hashrate』","id":"52247a17-5770-47fb-8795-f0da2cf80b07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"url":"https://api-prod.poolin.com/api/public/v2/platform/cloud/allow-sell?coin_type=eth&puid=8888888","description":"<p>需要<code>cloud</code>权限</p>\n<p>Required <code>cloud</code> permissions</p>\n","urlObject":{"protocol":"https","path":["api","public","v2","platform","cloud","allow-sell"],"host":["api-prod","poolin","com"],"query":[{"description":{"content":"<p>币种</p>\n","type":"text/plain"},"key":"coin_type","value":"eth"},{"description":{"content":"<p>子账户id『sub-acccount id』</p>\n","type":"text/plain"},"key":"puid","value":"8888888"}],"variable":[]}},"response":[{"id":"23ded164-7515-44dc-94bd-827df42e9c80","name":"请求成功(success)","originalRequest":{"method":"GET","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"url":{"raw":"https://api-prod.poolin.com/api/public/v2/platform/cloud/allow-sell?coin_type=eth&puid=8888888","protocol":"https","host":["api-prod","poolin","com"],"path":["api","public","v2","platform","cloud","allow-sell"],"query":[{"key":"coin_type","value":"eth"},{"key":"puid","value":"8888888"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": {\n        \"can_sell\": 682.42,    //允许转移的算力大小\n        \"unit\": \"M\"    //算力单位\n    }\n}"}],"_postman_id":"52247a17-5770-47fb-8795-f0da2cf80b07"},{"name":"云算力--创建合约(转移算力)『Cloud Hashrate--create contact』","id":"90e070ce-f797-4f5a-817c-cf4bd849be12","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"coin_type","value":"eth","description":"<p>币种</p>\n","type":"text"},{"key":"unit","value":"M","description":"<p>算力单位</p>\n","type":"text"},{"key":"hashrate","value":"1","description":"<p>转让算力大小</p>\n","type":"text"},{"key":"to","value":"laxxe","description":"<p>接收者子账户名称</p>\n","type":"text"},{"key":"start_time","value":"1635566400","description":"<p>开始时间戳</p>\n","type":"text"},{"key":"end_time","value":"1636689600","description":"<p>结束时间戳</p>\n","type":"text"}]},"url":"https://api-prod.poolin.com/api/public/v2/platform/cloud/{puid}/transfer","description":"<p>需要<code>cloud</code>权限</p>\n<p>Required <code>cloud</code> permissions</p>\n","urlObject":{"protocol":"https","path":["api","public","v2","platform","cloud","{puid}","transfer"],"host":["api-prod","poolin","com"],"query":[],"variable":[]}},"response":[{"id":"83ed2a4a-7134-42d6-8ee8-f21c59eac294","name":"请求成功(success)","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"coin_type","value":"eth","type":"text"},{"key":"unit","value":"M","type":"text"},{"key":"hashrate","value":"1","type":"text"},{"key":"to","value":"laxxe","type":"text"},{"key":"start_time","value":"1635566400","type":"text"},{"key":"end_time","value":"1636689600","type":"text"}]},"url":"https://api-prod.poolin.com/api/public/v2/platform/cloud/{puid}/transfer"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": 6804    //合约id(contract id)\n}"},{"id":"739b0177-d67f-4bcf-ae6c-6751cc82863e","name":"请求失败(error)","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"coin_type","value":"eth","type":"text"},{"key":"unit","value":"M","type":"text"},{"key":"hashrate","value":"1","type":"text"},{"key":"to","value":"laxxe","type":"text"},{"key":"start_time","value":"1635566400","type":"text"},{"key":"end_time","value":"1636689600","type":"text"}]},"url":"https://api-prod.poolin.com/api/public/v2/platform/cloud/{puid}/transfer"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 100,\n    \"err_msg\": \"to-subaccount not found\"\n    \"errors\": []\n}\n{\n    \"err_no\": 101,\n    \"err_msg\": \"to-subaccount cannot be a seller or service provider\"\n    \"errors\": []\n}\n{\n    \"err_no\": 102,\n    \"err_msg\": \"cannot exceed 90% of the hashrate\"\n    \"errors\": []\n}\n{\n    \"err_no\": 103,\n    \"err_msg\": \"buyer cannot sell\"\n    \"errors\": []\n}"}],"_postman_id":"90e070ce-f797-4f5a-817c-cf4bd849be12"},{"name":"云算力--合约、转移列表『Cloud Hashrate--contact list』","id":"7fc8fb92-25c2-47b7-a696-a964327f63cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"url":"https://api-prod.poolin.com/api/public/v2/platform/cloud/transfer-hashrate?coin_type=eth&puid=8888888&page=1","description":"<p>需要<code>cloud</code>权限</p>\n<p>Required <code>cloud</code> permissions</p>\n","urlObject":{"protocol":"https","path":["api","public","v2","platform","cloud","transfer-hashrate"],"host":["api-prod","poolin","com"],"query":[{"description":{"content":"<p>币种</p>\n","type":"text/plain"},"key":"coin_type","value":"eth"},{"description":{"content":"<p>子账户id『sub-account id』</p>\n","type":"text/plain"},"key":"puid","value":"8888888"},{"description":{"content":"<p>页码</p>\n","type":"text/plain"},"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"7a8925b7-64ad-4571-92f2-bdcb1c159ff3","name":"请求成功(success)","originalRequest":{"method":"GET","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"url":{"raw":"https://api-prod.poolin.com/api/public/v2/platform/cloud/transfer-hashrate?coin_type=eth&puid=8888888&page=1","protocol":"https","host":["api-prod","poolin","com"],"path":["api","public","v2","platform","cloud","transfer-hashrate"],"query":[{"key":"coin_type","value":"eth"},{"key":"puid","value":"8888888"},{"key":"page","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": {\n        \"total\": 11,\n        \"per_page\": \"10\",\n        \"last_page\": 2,\n        \"current_page\": 1,\n        \"data\": [\n            {\n                \"id\": 8888,    //合约id(contract id)\n                \"puid\": 8888888,\n                \"role\": \"seller\",    //合约身份\n                \"name\": \"laxxe1\",    //转让子账户名称\n                \"to\": \"laxxe\",    //接收子账户名称\n                \"to_puid\": 9999999,    //接收子账户id\n                \"hashrate\": 1,    //算力值\n                \"unit\": \"M\",    //算力单位\n                \"start_ts\": 1635206400,    //开始时间戳\n                \"end_ts\": 1642982400,    //结束时间戳\n                \"status\": 6,    //合约状态：1未开始(not start)，2进行中(in progress)，3已过期(expired), 4已删除(deleted), 6已撤销(revoke),\n                \"suspend\": 0,    //0 正常(normal),1 已暂停(suspend)\n                \"operate_status\": 20,\n                \"read_status\": 1,\n                \"type\": 1,\n                \"percent\": 0,\n                \"remark\": \"\",\n                \"total_diff_hashrate\": 0,\n                \"stats_recoup_data\": []\n            },\n            …………\n        ]\n    }\n}"}],"_postman_id":"7fc8fb92-25c2-47b7-a696-a964327f63cb"},{"name":"云算力--合约接收方查询『Cloud Hashrate--query transferee』","id":"68fd8297-cc0e-40fa-b855-50299979b802","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"url":"https://api-prod.poolin.com/api/public/v2/platform/cloud/check-name?name=laxxe&puid=9999999&coin_type=eth","description":"<p>需要<code>cloud</code>权限</p>\n<p>Required <code>cloud</code> permissions</p>\n","urlObject":{"protocol":"https","path":["api","public","v2","platform","cloud","check-name"],"host":["api-prod","poolin","com"],"query":[{"description":{"content":"<p>接收者子账户名称『recipient sub-account name』</p>\n","type":"text/plain"},"key":"name","value":"laxxe"},{"description":{"content":"<p>转让方子账户id『transferor sub-account id』</p>\n","type":"text/plain"},"key":"puid","value":"9999999"},{"description":{"content":"<p>币种</p>\n","type":"text/plain"},"key":"coin_type","value":"eth"}],"variable":[]}},"response":[{"id":"18672bb9-4e18-484f-8092-25764258d162","name":"请求成功(success)","originalRequest":{"method":"GET","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"url":{"raw":"https://api-prod.poolin.com/api/public/v2/platform/cloud/check-name?name=laxxe&puid=9999999&coin_type=eth","protocol":"https","host":["api-prod","poolin","com"],"path":["api","public","v2","platform","cloud","check-name"],"query":[{"key":"name","value":"laxxe"},{"key":"puid","value":"9999999"},{"key":"coin_type","value":"eth"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": true    //true:存在 false:不存在\n}"},{"id":"f789e8bb-102e-4c96-a63f-3987e8d55c6a","name":"请求失败(error)","originalRequest":{"method":"GET","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"url":{"raw":"https://api-prod.poolin.com/api/public/v2/platform/cloud/check-name?name=laxxe&puid=9999999&coin_type=eth","protocol":"https","host":["api-prod","poolin","com"],"path":["api","public","v2","platform","cloud","check-name"],"query":[{"key":"name","value":"laxxe"},{"key":"puid","value":"9999999"},{"key":"coin_type","value":"eth"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 101,\n    \"err_msg\": \"to-subaccount cannot be a seller or service provider\"\n    \"errors\": []\n}\n{\n    \"err_no\": 103,\n    \"err_msg\": \"buyer cannot sell\"\n    \"errors\": []\n}\n{\n    \"err_no\": 105,\n    \"err_msg\": \"can't transfer to yourself\"\n    \"errors\": []\n}"}],"_postman_id":"68fd8297-cc0e-40fa-b855-50299979b802"},{"name":"云算力--删除合约『Cloud Hashrate--delete contact』","id":"3870b96b-49e5-45ca-bc59-d809cd8bcc11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"puid","value":"8888888","description":"<p>子账户id『sub-account id』</p>\n","type":"text"},{"key":"id","value":"8888","description":"<p>合约id『contract id』</p>\n","type":"text"}]},"url":"https://api-prod.poolin.com/api/public/v2/platform/cloud/delete","description":"<p>需要<code>cloud</code>权限</p>\n<p>Required <code>cloud</code> permissions</p>\n","urlObject":{"protocol":"https","path":["api","public","v2","platform","cloud","delete"],"host":["api-prod","poolin","com"],"query":[],"variable":[]}},"response":[{"id":"0136be3b-b7c6-41a0-bfd8-47b87a6dc560","name":"请求成功(success)","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"puid","value":"8888888","type":"text"},{"key":"id","value":"8888","type":"text"}]},"url":"https://api-prod.poolin.com/api/public/v2/platform/cloud/delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": null\n}"}],"_postman_id":"3870b96b-49e5-45ca-bc59-d809cd8bcc11"},{"name":"云算力--暂停/开启合约『Cloud Hashrate--suspend or begin contract』","id":"37d39080-0ad7-4c95-b1d2-0b6898bc8ea2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"id","value":"6804","description":"<p>合约id『contract id』</p>\n","type":"text"}]},"url":"https://api-prod.poolin.com/api/public/v2/platform/cloud/suspend","description":"<p>需要<code>cloud</code>权限</p>\n<p>Required <code>cloud</code> permissions</p>\n<p><em>注：该接口会根据当前合约的状态开或关（已暂停的合约会切换为正常，正常的合约会切换为暂停）</em></p>\n<p><em>Note: this interface is not idempotent. It will turn on or off according to the current contract status (the suspended contract will switch to normal, and the normal contract will switch to suspended)</em></p>\n","urlObject":{"protocol":"https","path":["api","public","v2","platform","cloud","suspend"],"host":["api-prod","poolin","com"],"query":[],"variable":[]}},"response":[{"id":"209cee31-c756-41b6-9ed5-b4925f21dcb3","name":"请求成功(success)","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"id","value":"6804","type":"text"}]},"url":"https://api-prod.poolin.com/api/public/v2/platform/cloud/suspend"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": {\n        \"suspend\": 1    //合约当前状态(0 normal,1 suspend)\n    }\n}\n"},{"id":"212c0467-fecf-49d9-9e16-b8fa88211032","name":"请求失败(error)","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"id","value":"6804","type":"text"}]},"url":"https://api-prod.poolin.com/api/public/v2/platform/cloud/suspend"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 113,\n    \"err_msg\": \"not found contract\"\n    \"errors\": []\n}\n{\n    \"err_no\": 114,\n    \"err_msg\": \"the contract hasn't started yet\"\n    \"errors\": []\n}\n{\n    \"err_no\": 115,\n    \"err_msg\": \"contract closed\"\n    \"errors\": []\n}"}],"_postman_id":"37d39080-0ad7-4c95-b1d2-0b6898bc8ea2"},{"name":"云算力--转让方合约列表『Cloud Hashrate--contract lists』","id":"aac2742d-f5d9-446f-b0b7-463e0ffe18b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"url":"https://api-prod.poolin.com/api/public/v2/platform/cloud/sells?puid=8888888&coin_type=eth&page=1&page_size=20","description":"<p>需要<code>cloud</code>权限</p>\n<p>Required <code>cloud</code> permissions</p>\n","urlObject":{"protocol":"https","path":["api","public","v2","platform","cloud","sells"],"host":["api-prod","poolin","com"],"query":[{"description":{"content":"<p>子账户id『sub-account id』</p>\n","type":"text/plain"},"key":"puid","value":"8888888"},{"description":{"content":"<p>币种</p>\n","type":"text/plain"},"key":"coin_type","value":"eth"},{"description":{"content":"<p>页码</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>每页数量</p>\n","type":"text/plain"},"key":"page_size","value":"20"}],"variable":[]}},"response":[{"id":"cb5db7ee-80dc-4c07-a63b-d738dd5ae1eb","name":"请求成功(success)","originalRequest":{"method":"GET","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"url":{"raw":"https://api-prod.poolin.com/api/public/v2/platform/cloud/sells?puid=8888888&coin_type=eth&page=1&page_size=20","protocol":"https","host":["api-prod","poolin","com"],"path":["api","public","v2","platform","cloud","sells"],"query":[{"key":"puid","value":"8888888"},{"key":"coin_type","value":"eth"},{"key":"page","value":"1"},{"key":"page_size","value":"20"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": {\n        \"total\": 13,\n        \"per_page\": 20,\n        \"last_page\": 1,\n        \"current_page\": 1,\n        \"data\": [\n            {\n                \"id\": 6218,    //合约id(contract id)\n                \"name\": \"laxxe1\",    //转让方子账户名称\n                \"to\": \"kkdkd\",    //接收方子账户名称\n                \"hashrate\": \"1.00000\",    //转让算力值\n                \"unit\": \"M\",    //算力单位\n                \"start_ts\": 1636416000,    //开始时间戳\n                \"end_ts\": 1636502400,    //结束时间戳\n                \"status\": 1,    //合约状态：1未开始(not start)，2进行中(in progress)，3已过期(expired), 4已删除(deleted), 6已撤销(revoke)\n                \"suspend\": 0    //暂停与否 0正常(normal)，1已暂停(suspend)\n            },\n            …………\n        ]\n    }\n}"}],"_postman_id":"aac2742d-f5d9-446f-b0b7-463e0ffe18b2"},{"name":"云算力--根据合约ID获取合约信息『Cloud Hashrate--get info by contract id』","id":"ebd27949-be57-4561-ae26-ed1a0ffc2a62","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"url":"https://api-prod.poolin.com/api/public/v2/platform/cloud/contracts/{contract id}","description":"<p>需要<code>cloud</code>权限</p>\n<p>Required <code>cloud</code> permissions</p>\n","urlObject":{"protocol":"https","path":["api","public","v2","platform","cloud","contracts","{contract id}"],"host":["api-prod","poolin","com"],"query":[],"variable":[]}},"response":[{"id":"2ffdd734-6c42-44b7-b234-ca0f59bd7725","name":"请求成功(success)","originalRequest":{"method":"GET","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"url":"https://api-prod.poolin.com/api/public/v2/platform/cloud/contracts/{contract id}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": {\n        \"id\": 6804,    //合约id(contract id)\n        \"name\": \"lakie1\",    //转让方子账户名称\n        \"to\": \"lakie\",    //接收方子账户名称\n        \"hashrate\": \"1.00000\",    //转让算力\n        \"unit\": \"M\",    //算力单位\n        \"start_ts\": 1635566400,    //开始时间戳\n        \"end_ts\": 1636689600,    //结束时间戳\n        \"status\": 1,    //合约状态：1未开始(not start)，2进行中(in progress)，3已过期(expired), 4已删除(deleted), 6已撤销(revoke)\n        \"suspend\": 0    //暂停与否 0正常(normal)，1已暂停(suspend)\n    }\n}"},{"id":"77dc5d8b-ea6d-45fc-8171-8a40d405f386","name":"请求失败(error)","originalRequest":{"method":"GET","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"url":"https://api-prod.poolin.com/api/public/v2/platform/cloud/contracts/{contract id}"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 404,\n    \"err_msg\": \"not found contract\"\n    \"errors\": []\n}"}],"_postman_id":"ebd27949-be57-4561-ae26-ed1a0ffc2a62"},{"name":"【Discarded】设置多账户分账『Set multiple address』","id":"b275b4bb-ba6c-4206-aa1f-e52011188911","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"language","value":"zh-CN","type":"text","description":"<p>in:en-US,zh-CN</p>\n"},{"key":"puid","value":"10****91","type":"text"},{"key":"config[0][uid]","value":"11******0","type":"text","description":"<p>配置（array）</p>\n"},{"key":"config[0][remark]","value":"test","type":"text"},{"key":"config[0][pool_account]","value":"1","type":"text","description":"<p>收款地址类型『address type』(0:poolin wallet address;1:poolin pool address)</p>\n"},{"key":"config[0][proportion]","value":"30","type":"text","description":"<p>分账比例，比例之和必须等于100</p>\n"},{"key":"config[1][uid]","value":"77*****74","type":"text"},{"key":"config[1][remark]","value":"test","type":"text"},{"key":"config[1][pool_account]","value":"0","type":"text"},{"key":"config[1][proportion]","value":"70","type":"text"}]},"url":"https://api-prod.poolin.one/api/public/v2/platform/subaccount/set-multiple-address","urlObject":{"protocol":"https","path":["api","public","v2","platform","subaccount","set-multiple-address"],"host":["api-prod","poolin","one"],"query":[],"variable":[]}},"response":[{"id":"aef52122-2571-43ff-9d8c-7550a0630aaf","name":"请求成功(success)","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"language","value":"zh-CN","type":"text","description":"in:en-US,zh-CN"},{"key":"puid","value":"10****91","type":"text"},{"key":"config[0][uid]","value":"11******0","type":"text","description":"配置（array）"},{"key":"config[0][remark]","value":"test","type":"text"},{"key":"config[0][pool_account]","value":"1","type":"text","description":"收款地址类型『address type』(1:poolin pool address；0:poolin wallet address)"},{"key":"config[0][proportion]","value":"30","type":"text","description":"分账比例，比例之和必须等于100"},{"key":"config[1][uid]","value":"77*****74","type":"text"},{"key":"config[1][remark]","value":"test","type":"text"},{"key":"config[1][pool_account]","value":"0","type":"text"},{"key":"config[1][proportion]","value":"70","type":"text"}]},"url":"https://api-prod.poolin.one/api/public/v2/platform/subaccount/set-multiple-address"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 02 Sep 2022 10:56:42 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.0.23"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Vary","value":"Origin"},{"key":"Set-Cookie","value":"laravel_session=eyJpdiI6InY4dEFZMjZ5NTNjejlpUlJtdElOZHc9PSIsInZhbHVlIjoieU4xMVRhS0RPd2g2YURCVW5taHB2aVYvTS8yUWNRcFVZVTZqNmtDRnhtbVYxV1REM1ZOOW9zZithVmR3aHN2eTJ3ZmdoSVdVekpNSnRsNittc3JEY2tuemcyZG1Cek9GU0NxQjFhQmVhNlo2c2Vzd3pvbHYvKzlaWlh0MDBMclMiLCJtYWMiOiJjMDE3MTI5Zjk3OTY1NzA4NmFiY2VmZGE2NzU0YjdkZDk5OWRlNTdiMzBmNmYyYTUyNjgwMDU0ZTk1NmU5ZTNiIiwidGFnIjoiIn0%3D; expires=Fri, 02-Sep-2022 12:56:42 GMT; Max-Age=7200; path=/; httponly; samesite=lax"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7445b8724ee23ca0-HKG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 0,\n    \"data\": null\n}"},{"id":"5c30a5f2-f6cf-469b-a9a6-a2cf108d0d90","name":"请求失败(error)","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"Bearer poolOt4dpKTUMiyIgGw0MihfQ9*************************04PeuppZyOaTC","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"language","value":"zh-CN","type":"text"},{"key":"puid","value":"10019291","type":"text"},{"key":"config[0][uid]","value":"118544839","type":"text"},{"key":"config[0][remark]","value":"test1","type":"text"},{"key":"config[0][pool_account]","value":"1","type":"text"},{"key":"config[0][proportion]","value":"30","type":"text"},{"key":"config[1][uid]","value":"773292974","type":"text"},{"key":"config[1][remark]","value":"886","type":"text"},{"key":"config[1][pool_account]","value":"0","type":"text"},{"key":"config[1][proportion]","value":"70","type":"text"}]},"url":"https://api-prod.poolin.one/api/public/v2/platform/subaccount/set-multiple-address"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"err_no\": 710,\n    \"err_msg\": \"cloud transfer disabled\"\n    \"errors\": []\n}\n{\n    \"err_no\": 711,\n    \"err_msg\": \"subaccount is not found\"\n    \"errors\": []\n}\n{\n    \"err_no\": 712,\n    \"err_msg\": \"the count of address settings reaches the limit\"\n    \"errors\": []\n}\n{\n    \"err_no\": 713,\n    \"err_msg\": \"the proportion setting is illegal\"\n    \"errors\": []\n}\n{\n    \"err_no\": 714,\n    \"err_msg\": \"existing duplicate address\"\n    \"errors\": []\n}\n{\n    \"err_no\": 715,\n    \"err_msg\": \"existing illegal wallet UID\"\n    \"errors\": []\n}\n{\n    \"err_no\": 716,\n    \"err_msg\": \"some uid not found\"\n    \"errors\": []\n}\n{\n    \"err_no\": 717,\n    \"err_msg\": \"set multi address failed\"\n    \"errors\": []\n}"}],"_postman_id":"b275b4bb-ba6c-4206-aa1f-e52011188911"}],"id":"af23fef2-32e6-444d-a29b-9a26348d39f6","description":"<p><em>具有可操作子账户的更高权限</em></p>\n<p><em>Higher authority to operate sub accounts</em></p>\n<h2 id=\"获取api-key方式\">获取API Key方式</h2>\n<ol>\n<li>web端登录账号</li>\n<li>在右上角点击头像图标，在下拉框中选择<code>API 管理</code></li>\n<li>根据自己需求创建不同权限的API Key</li>\n</ol>\n<p><em>注：最多创建5个API Key</em></p>\n<h2 id=\"how-to-get-api-key\">How to get API Key</h2>\n<ol>\n<li>Web log in account</li>\n<li>Click on the avatar icon in the upper right corner, select <code>API Key</code> in the drop-down box</li>\n<li>Create an API Key from your own needs</li>\n</ol>\n<h2 id=\"云算力板块说明\">云算力板块说明</h2>\n<ol>\n<li>不允许一个子账户既出让算力又接收算力，同一时间只能是一种状态</li>\n<li>现在仅支持比特币btc和以太币eth的算力转移</li>\n<li>最多只能转让实时算力的90%，多个合约累计计算</li>\n</ol>\n<h2 id=\"description-of-the-cloud\">Description of the cloud</h2>\n<ol>\n<li>A sub account cannot be both a seller and a buyer. It can only be in one state at the same time</li>\n<li>Now only support BTC and ETH</li>\n<li>Up to only 90%, multiple contracts accumulated</li>\n</ol>\n","_postman_id":"af23fef2-32e6-444d-a29b-9a26348d39f6"}]}