{"_id":"@adamsoffer/livepeer-sdk","_rev":"21-a98dafbee4350b53fb82772eb5d72599","name":"@adamsoffer/livepeer-sdk","dist-tags":{"latest":"1.0.1-alpha.2","streamflow":"1.0.0-streamflow.16"},"versions":{"1.0.0-alpha.6":{"name":"@adamsoffer/livepeer-sdk","description":"A module for interacting with Livepeer's smart contracts. The SDK is a core dependency of most LivepeerJS packages.","version":"1.0.0-alpha.6","license":"MIT","main":"main/index.js","module":"lib/index.js","scripts":{"build":"run-p --npm-path npm build-main build-module","build-main":"cross-env NODE_ENV=production babel src --out-dir main --ignore spec.js,test.js --plugins=@babel/plugin-transform-modules-commonjs --source-maps inline","build-module":"cross-env NODE_ENV=production babel src --out-dir lib --ignore spec.js,test.js --source-maps inline","start":"run-p \"build-** -- --watch\"","copy-etc":"f(){ rimraf etc; mkdir etc; printf 'Importing truffle artifacts...'; tput sc; for x in $@/*.json; do tput rc; tput el; echo \"$(basename $x)\"; node -e \"const {contractName,abi,networks}=require('$x');const [address]=Object.values(networks).sort((a, b) => b.updated_at - a.updated_at);console.log(JSON.stringify({name:contractName,abi,address: (address && address.address) || address}, null, 2));\" > etc/$(basename $x); done; tput rc; tput el; echo 'done! :)'; };f","compile":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && yarn compile && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","deploy":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && truffle migrate --reset && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","docs":"documentation readme src/index.js --section=API","copy-docs":"rimraf ../../docs/sdk && mkdir ../../docs/sdk && cp docs/index.html ../../docs/sdk && cp README.md ../../docs/sdk","prebuild":"rimraf lib && rimraf main","prepack":"npm -s run build","test":"nyc ava main/index.test.js","coverage":"nyc report --reporter=lcov","lcov-badge":"lcov-badge -o coverage.svg coverage/lcov.info && sed -i .bak 's/3\"/0\"/g' coverage.svg && rm *.bak"},"dependencies":{"@babel/runtime":"^7.4.3","cross-env":"^5.2.0","ethereumjs-tx":"^1.3.4","ethjs":"^0.4.0","ethjs-abi":"^0.2.1","ethjs-ens":"^2.0.1","ethjs-provider-signer":"^0.1.4","ethjs-query":"^0.3.1"},"devDependencies":{"@babel/cli":"^7.4.3","@babel/core":"^7.4.3","@babel/plugin-proposal-object-rest-spread":"^7.4.3","@babel/plugin-transform-flow-strip-types":"^7.4.0","@babel/plugin-transform-modules-commonjs":"^7.4.3","@babel/plugin-transform-runtime":"^7.4.3","@babel/preset-env":"^7.4.3","@babel/register":"^7.4.0","ava":"1.4.1","documentation":"10.0.0","lcov-badge":"^1.0.4","npm-run-all":"^4.1.5","nyc":"^14.0.0","protocol":"git+https://github.com/livepeer/protocol.git#65d6eaaa7875ee4f66029eee519f8c3fa9af89da","rimraf":"^2.6.3","yup":"0.27.0"},"homepage":"https://livepeer.org","repository":{"type":"git","url":"git+https://github.com/livepeer/livepeerjs.git"},"bugs":{"url":"https://github.com/livepeer/livepeerjs/issues"},"_id":"@adamsoffer/livepeer-sdk@1.0.0-alpha.6","_nodeVersion":"11.10.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-wFN1VW5mU89rlt71u/np/vaTqXnLQfVAgrqiC3XEUv7W/eWmaIc2mgi3cU5JMZKP44ZKCMc28P/Q1WNBTeiZKw==","shasum":"6d64949cb13ffc7b2939297c8bb9ef943f320265","tarball":"https://registry.npmjs.org/@adamsoffer/livepeer-sdk/-/livepeer-sdk-1.0.0-alpha.6.tgz","fileCount":66,"unpackedSize":1410376,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddSPFCRA9TVsSAnZWagAAAYIQAJIbmdLrj4Y9et+X8gEH\n4c6/9snyNA1/yYwGqE6x0cSrQLS6U7BZUARgfmdOPyZQqRQvyfnc616ua/H0\nZKdM4t6nqYzGqKNJ/Sd7Uv350UXFzez9uguDg453Ok+Gda75OmbIidef9IHm\ndj+BFCmg0NDnr59LFch0ImmiaW9QGm0kXU6uGJxd25Ao6es8lGhPAnN0aaKp\nCGLffQqzVxAeGwIWfTzgeR41yxWR8Qde1MHvpOZiYOHob5Oz0rXj1fV2wBiv\n3NpKTrz4bNHAsuq20AH3BDb9e0vv9/WeQvGv0K6uSGHe7kzDnHi7NWTLo2xD\nDmmoWlXvECWSRHZDVKgDhZcBCWpw0z8jOdK0joNgXF2+BrBd0rzbfKuEiuGs\n29f6Cb12jnb+VjE3RTwclek/yuwl3UCFQgES0USKpgc8okqO8BhzAlpfKHxM\nvA1wM9F3MZfZGT+P77IorbD/wVrAlDCUI4P2iL4asCtKV1pVmpvdVHsKrJSM\nBJrWTMaolQ0JKzwDbxtaDLmgq2w7566dcTN4LJceKBk6RRewfH9HTnCR2TpZ\n+AN9iuN9b4U+bvBkoxWURhwxf8qn8Ik8Hxw4yECY8Rymr55I5t4t+oy8FTNs\nUxLzyUkYi7/M3u39t1dpWVCzAgY9yNhdvWnPxG0KjKvH4x+tUqu8TgcHRPPs\nZVa3\r\n=gBCj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFmEBu43Fc/ZLbyUJL6p334mbnS/4UR9+cYqafd+82lIAiEAsCGgfWUYyL83Y6b+ldJOcS5O3qyyY9RJAmL3Fok7FGY="}]},"maintainers":[{"name":"ads1018","email":"ads1018@gmail.com"}],"_npmUser":{"name":"ads1018","email":"ads1018@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/livepeer-sdk_1.0.0-alpha.6_1567957956452_0.07433192368937847"},"_hasShrinkwrap":false},"1.0.0-alpha.7":{"name":"@adamsoffer/livepeer-sdk","description":"A module for interacting with Livepeer's smart contracts. The SDK is a core dependency of most LivepeerJS packages.","version":"1.0.0-alpha.7","license":"MIT","main":"main/index.js","module":"lib/index.js","scripts":{"build":"run-p --npm-path npm build-main build-module","build-main":"cross-env NODE_ENV=production babel src --out-dir main --ignore spec.js,test.js --plugins=@babel/plugin-transform-modules-commonjs --source-maps inline","build-module":"cross-env NODE_ENV=production babel src --out-dir lib --ignore spec.js,test.js --source-maps inline","start":"run-p \"build-** -- --watch\"","copy-etc":"f(){ rimraf etc; mkdir etc; printf 'Importing truffle artifacts...'; tput sc; for x in $@/*.json; do tput rc; tput el; echo \"$(basename $x)\"; node -e \"const {contractName,abi,networks}=require('$x');const [address]=Object.values(networks).sort((a, b) => b.updated_at - a.updated_at);console.log(JSON.stringify({name:contractName,abi,address: (address && address.address) || address}, null, 2));\" > etc/$(basename $x); done; tput rc; tput el; echo 'done! :)'; };f","compile":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && yarn compile && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","deploy":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && truffle migrate --reset && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","docs":"documentation readme src/index.js --section=API","copy-docs":"rimraf ../../docs/sdk && mkdir ../../docs/sdk && cp docs/index.html ../../docs/sdk && cp README.md ../../docs/sdk","prebuild":"rimraf lib && rimraf main","prepack":"npm -s run build","test":"nyc ava main/index.test.js","coverage":"nyc report --reporter=lcov","lcov-badge":"lcov-badge -o coverage.svg coverage/lcov.info && sed -i .bak 's/3\"/0\"/g' coverage.svg && rm *.bak"},"dependencies":{"@babel/runtime":"^7.4.3","cross-env":"^5.2.0","ethereumjs-tx":"^1.3.4","ethjs":"^0.4.0","ethjs-abi":"^0.2.1","ethjs-ens":"^2.0.1","ethjs-provider-signer":"^0.1.4","ethjs-query":"^0.3.1"},"devDependencies":{"@babel/cli":"^7.4.3","@babel/core":"^7.4.3","@babel/plugin-proposal-object-rest-spread":"^7.4.3","@babel/plugin-transform-flow-strip-types":"^7.4.0","@babel/plugin-transform-modules-commonjs":"^7.4.3","@babel/plugin-transform-runtime":"^7.4.3","@babel/preset-env":"^7.4.3","@babel/register":"^7.4.0","ava":"1.4.1","documentation":"10.0.0","lcov-badge":"^1.0.4","npm-run-all":"^4.1.5","nyc":"^14.0.0","protocol":"git+https://github.com/livepeer/protocol.git#65d6eaaa7875ee4f66029eee519f8c3fa9af89da","rimraf":"^2.6.3","yup":"0.27.0"},"homepage":"https://livepeer.org","repository":{"type":"git","url":"git+https://github.com/livepeer/livepeerjs.git"},"bugs":{"url":"https://github.com/livepeer/livepeerjs/issues"},"_id":"@adamsoffer/livepeer-sdk@1.0.0-alpha.7","_nodeVersion":"11.10.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-y93pfZhGLEB4eAKxuourQrbcnNseSVViuyxOBIbHua5VLsZt/Ge35YvIBY1su9maMyvQxgQoemzSRSyiT+aQ8Q==","shasum":"545a696c7282045e1544d8089233c0f45d74dc29","tarball":"https://registry.npmjs.org/@adamsoffer/livepeer-sdk/-/livepeer-sdk-1.0.0-alpha.7.tgz","fileCount":66,"unpackedSize":1387108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddp0yCRA9TVsSAnZWagAA0y4P/jR5491QBwjIYUyVjd4j\n9wzogz+Ci6Kx1h+DFz+db0c+U+gLHagSGBEe9r6rZ9cV+t5mVv+T2rzIcSny\njRm3kuxf3RUaI5hffEyDvm5ZC3A5NFzWK7ZVCiqfSC/N26ugywP1QUDFJgbM\nh89OvxfQ008XVVy07Xl3bPKMJhSrZO1vUvHyK5SY8eqQotXe0PsU5PLbo12F\n2eTR6ShhF/1XcBgA4HOqSIuE/qbCWkQR9gl/DC6Id8RUuMU1A5hGmehK/vJh\n1r0g8xh/U8WREdb5JuOAVDPgFOPPvXSjVuT0l9Smjz2N1d1UQhcQX3B3r72M\nwV7/5jbu9Wdke4AvC3hov3vjIvb4bBcMJkRtg3W92WJgki+cBORIOlul3xNR\n/DhqGJknq4HgVD8rKl4sWmUCBIVPlzmcYN6POOePYd6OjSlyDGLuFVWBRXIl\n4yoHuAxpW6sia5RavWACbm3lz9QgzOyZ3ZaWHCZlKzmJC31HU//RT0EV0Tni\nVs1hO9XEVsfIU6OAv8tfx96e4p1svp3/fSlhuuhVxG41+1BcU2z4+n5elDI8\no5/ZujXEy9KFnLinRQkbTTgyDtMoPg60b2l7IsZAoEwMfvhTG4nPgy19Icz4\n/tpLIc51kHSV+Ykr/UwPM83B+3L13SmdoiOxgVpkG2X47puWf5XYa+4rneJE\ngOb/\r\n=5GXS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGcZstvfKxRcuzPVhhWkQYZn2kV5+y1SObQpIf+T/S8mAiBLSwEcfV8HbdzaB/eL/WZLNHgrvTlWthUICd3M1wbcBA=="}]},"maintainers":[{"name":"ads1018","email":"ads1018@gmail.com"}],"_npmUser":{"name":"ads1018","email":"ads1018@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/livepeer-sdk_1.0.0-alpha.7_1568054577578_0.2547271479503872"},"_hasShrinkwrap":false},"1.0.0-alpha.10":{"name":"@adamsoffer/livepeer-sdk","description":"A module for interacting with Livepeer's smart contracts. The SDK is a core dependency of most LivepeerJS packages.","version":"1.0.0-alpha.10","license":"MIT","main":"main/index.js","module":"lib/index.js","scripts":{"build":"run-p --npm-path npm build-main build-module","build-main":"cross-env NODE_ENV=production babel src --out-dir main --ignore spec.js,test.js --plugins=@babel/plugin-transform-modules-commonjs --source-maps inline","build-module":"cross-env NODE_ENV=production babel src --out-dir lib --ignore spec.js,test.js --source-maps inline","start":"run-p \"build-** -- --watch\"","copy-etc":"f(){ rimraf etc; mkdir etc; printf 'Importing truffle artifacts...'; tput sc; for x in $@/*.json; do tput rc; tput el; echo \"$(basename $x)\"; node -e \"const {contractName,abi,networks}=require('$x');const [address]=Object.values(networks).sort((a, b) => b.updated_at - a.updated_at);console.log(JSON.stringify({name:contractName,abi,address: (address && address.address) || address}, null, 2));\" > etc/$(basename $x); done; tput rc; tput el; echo 'done! :)'; };f","compile":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && yarn compile && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","deploy":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && truffle migrate --reset && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","docs":"documentation readme src/index.js --section=API","copy-docs":"rimraf ../../docs/sdk && mkdir ../../docs/sdk && cp docs/index.html ../../docs/sdk && cp README.md ../../docs/sdk","prebuild":"rimraf lib && rimraf main","prepack":"npm -s run build","test":"nyc ava main/index.test.js","coverage":"nyc report --reporter=lcov","lcov-badge":"lcov-badge -o coverage.svg coverage/lcov.info && sed -i .bak 's/3\"/0\"/g' coverage.svg && rm *.bak"},"dependencies":{"@babel/runtime":"^7.4.3","cross-env":"^5.2.0","ethereumjs-tx":"^1.3.4","ethjs":"^0.4.0","ethjs-abi":"^0.2.1","ethjs-ens":"^2.0.1","ethjs-provider-signer":"^0.1.4","ethjs-query":"^0.3.1"},"devDependencies":{"@babel/cli":"^7.4.3","@babel/core":"^7.4.3","@babel/plugin-proposal-object-rest-spread":"^7.4.3","@babel/plugin-transform-flow-strip-types":"^7.4.0","@babel/plugin-transform-modules-commonjs":"^7.4.3","@babel/plugin-transform-runtime":"^7.4.3","@babel/preset-env":"^7.4.3","@babel/register":"^7.4.0","ava":"1.4.1","documentation":"10.0.0","lcov-badge":"^1.0.4","npm-run-all":"^4.1.5","nyc":"^14.0.0","protocol":"git+https://github.com/livepeer/protocol.git#65d6eaaa7875ee4f66029eee519f8c3fa9af89da","rimraf":"^2.6.3","yup":"0.27.0"},"homepage":"https://livepeer.org","repository":{"type":"git","url":"git+https://github.com/livepeer/livepeerjs.git"},"bugs":{"url":"https://github.com/livepeer/livepeerjs/issues"},"_id":"@adamsoffer/livepeer-sdk@1.0.0-alpha.10","_nodeVersion":"11.15.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-S4on6SnHQhTe2tTsyvbzhYn+Jsx9SWDO5bmFeGVYML7k11xATsgLnDzaE62CbsvIWDSb7itJDCe/fl8UdVP4vQ==","shasum":"069799eca11a7ad92cd64663bbee7e8c661d09c5","tarball":"https://registry.npmjs.org/@adamsoffer/livepeer-sdk/-/livepeer-sdk-1.0.0-alpha.10.tgz","fileCount":66,"unpackedSize":1389270,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdlT8bCRA9TVsSAnZWagAAsKgP/1wOS5WyHBtAasP6nGsn\nHtlmrcBj+bGaiVlk4EAZEBlLLEqtSQZAoHRAFiiU0ujT8KyTpX+EYxVCLosA\nRhzJRMN9lqrXrEIzip5CfIMt7ILWey0+D6xuSljtWE8749qokzS1EsWBgNxU\nXtl2Dr3P5/9RJyIP9Q67YHRtFN6JF6tvOqaf8wbWnKoe74tE1488hEgmEQvM\nfy7h5Odq7MR0FjeZXTvrZ7Xxe5wufoU8H/2E2s9e7SsbV1iNIV0a3/Dn+L1S\ng+MzUxNeHf7oGrqTR3yvvP1OgLi1aaymmQINumJJHpa80/9kjiwczXbgQOYZ\nYTC/9FXrYrXVYcoxASekTtzAZPsfev9Uo7+d8HCAUIpAh0i+A8Hpy/jAtYFx\nlWmv9qOUT/DvTq7/Z78fk3N3HUc2PKhOiM/n/KK5qWQJoFqU2ciSfRGZ2j/2\ni8C5W2H0sWjuS2PR5RVpCOqp6pxOuYYRmwXVT7v6VoIdUNGRflFJMCs5/XrP\naDO2z4HKkpfcVmVyPVDp1HaDVKZ0uru5Afg5C3n7Bca+rfL7uTRYaq16mRC8\nMXkc+H8AwOujOQJCXM3xBuxvsV62Xw2w9kXL5CWm2yyELCw+5USWh304s0ye\nrJLZ1c8NwwzDSunSqfyX7riyD7R4oh+rjTzM4mawZ8M0XyYS35Kt++CjrCVN\nGiQJ\r\n=/njq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGR5RT7gJUVNQJQxaelOm9UYS3ZDO+yKuDGJqjYJ7LSBAiEAnNFaqJKzdQcy4krWhuStUAEzeTfslQwV3Ro9XAPzrME="}]},"maintainers":[{"name":"ads1018","email":"ads1018@gmail.com"}],"_npmUser":{"name":"ads1018","email":"ads1018@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/livepeer-sdk_1.0.0-alpha.10_1570062107115_0.01298964603651398"},"_hasShrinkwrap":false},"1.0.0-alpha.11":{"name":"@adamsoffer/livepeer-sdk","description":"A module for interacting with Livepeer's smart contracts. The SDK is a core dependency of most LivepeerJS packages.","version":"1.0.0-alpha.11","license":"MIT","main":"main/index.js","module":"lib/index.js","scripts":{"build":"run-p --npm-path npm build-main build-module","build-main":"cross-env NODE_ENV=production babel src --out-dir main --ignore spec.js,test.js --plugins=@babel/plugin-transform-modules-commonjs --source-maps inline","build-module":"cross-env NODE_ENV=production babel src --out-dir lib --ignore spec.js,test.js --source-maps inline","start":"run-p \"build-** -- --watch\"","copy-etc":"f(){ rimraf etc; mkdir etc; printf 'Importing truffle artifacts...'; tput sc; for x in $@/*.json; do tput rc; tput el; echo \"$(basename $x)\"; node -e \"const {contractName,abi,networks}=require('$x');const [address]=Object.values(networks).sort((a, b) => b.updated_at - a.updated_at);console.log(JSON.stringify({name:contractName,abi,address: (address && address.address) || address}, null, 2));\" > etc/$(basename $x); done; tput rc; tput el; echo 'done! :)'; };f","compile":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && yarn compile && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","deploy":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && truffle migrate --reset && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","docs":"documentation readme src/index.js --section=API","copy-docs":"rimraf ../../docs/sdk && mkdir ../../docs/sdk && cp docs/index.html ../../docs/sdk && cp README.md ../../docs/sdk","prebuild":"rimraf lib && rimraf main","prepack":"npm -s run build","test":"nyc ava main/index.test.js","coverage":"nyc report --reporter=lcov","lcov-badge":"lcov-badge -o coverage.svg coverage/lcov.info && sed -i .bak 's/3\"/0\"/g' coverage.svg && rm *.bak"},"dependencies":{"@babel/runtime":"^7.4.3","cross-env":"^5.2.0","ethereumjs-tx":"^1.3.4","ethjs":"^0.4.0","ethjs-abi":"^0.2.1","ethjs-ens":"^2.0.1","ethjs-provider-signer":"^0.1.4","ethjs-query":"^0.3.1"},"devDependencies":{"@babel/cli":"^7.4.3","@babel/core":"^7.4.3","@babel/plugin-proposal-object-rest-spread":"^7.4.3","@babel/plugin-transform-flow-strip-types":"^7.4.0","@babel/plugin-transform-modules-commonjs":"^7.4.3","@babel/plugin-transform-runtime":"^7.4.3","@babel/preset-env":"^7.4.3","@babel/register":"^7.4.0","ava":"1.4.1","documentation":"10.0.0","lcov-badge":"^1.0.4","npm-run-all":"^4.1.5","nyc":"^14.0.0","protocol":"git+https://github.com/livepeer/protocol.git#65d6eaaa7875ee4f66029eee519f8c3fa9af89da","rimraf":"^2.6.3","yup":"0.27.0"},"homepage":"https://livepeer.org","repository":{"type":"git","url":"git+https://github.com/livepeer/livepeerjs.git"},"bugs":{"url":"https://github.com/livepeer/livepeerjs/issues"},"_id":"@adamsoffer/livepeer-sdk@1.0.0-alpha.11","_nodeVersion":"11.15.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-3ZafkC1kSpUH4kC5g/Kyg4ASzPMQVev59ERvtVb8CxjMx1pwNB++GlVFw9p1Iv2y95yjipVvaEM9guVhayFDxw==","shasum":"db8fc73981cef84ac114febdb0cee0bd8bff2b1c","tarball":"https://registry.npmjs.org/@adamsoffer/livepeer-sdk/-/livepeer-sdk-1.0.0-alpha.11.tgz","fileCount":66,"unpackedSize":1389281,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdlUQcCRA9TVsSAnZWagAAB48P/2UhhhKsfw5ARVEMGPp0\nSHHvpbjR4Zx9peQD96IBXbd7NgA32vVve/7CuD83zrxmyIOdmjh6ypev01fq\nSCi3gOFpOmETfDMLTQUAroe33bWdbIqa6gH5MgHW14zyfjfsVBDqzbIgd9Tn\nXjdOUc4kQxZJiB5ZF5ycbGckDqsNT2gXnrpp+d+2ecCmOKJtI+CLvBI0S8iT\nhnAmVu287Amcm6fECG0FooGKicGyCa/+TBJTTic4EFac9AZRtfyJv4PkWlfU\ndeyOM0vKQLBy5cbdr6VZWtw5yHmiAzX862HXVQKZAhIeWWSPz7pig4nRllgL\nmO2sB6C2kTqQyW48HT09feWRf71xSd13pFRBfcPYVM5pK1nT70nygnsoTVvi\nqu2ooTR16M4d8Jv5ywGjV5yuCTd/SZRHTAFTj8ziUDv3LTIQ4S6bDNYEeXF0\njkCkW3KDoRQ4OPRvQo83kxHnVte9RkiqkdnlyyGYQfyRG1FqsyJ5kEo8uA8f\nVyl7vgcmNF9qJ7e0CS+wqN0lHZ6lXtPyh0HSPpgznxK0WLdc5HG3+PBavv8R\nE0CuHHhxYgPtsPQbNI9capa9zFfL2/cXHUoYUzQBPSEZUglZUNTxdHmbTuDy\nxkDaDvs2sMHHPyphw+GrWm9IVCpcQbPBQOZ46rtPnX5vvgojbLiqj4Pj+pKn\nr6Sz\r\n=AXZq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKfumJvYVKQHQhdPC9r1S25e9Z4J51WxEDT6QyssF0mwIgI761hifFJl9i+ZfErVKOsfjaUSqFnZcyNx2HmazAsFo="}]},"maintainers":[{"name":"ads1018","email":"ads1018@gmail.com"}],"_npmUser":{"name":"ads1018","email":"ads1018@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/livepeer-sdk_1.0.0-alpha.11_1570063387329_0.710458837976248"},"_hasShrinkwrap":false},"1.0.0-alpha.12":{"name":"@adamsoffer/livepeer-sdk","description":"A module for interacting with Livepeer's smart contracts. The SDK is a core dependency of most LivepeerJS packages.","version":"1.0.0-alpha.12","license":"MIT","main":"main/index.js","module":"lib/index.js","scripts":{"build":"run-p --npm-path npm build-main build-module","build-main":"cross-env NODE_ENV=production babel src --out-dir main --ignore spec.js,test.js --plugins=@babel/plugin-transform-modules-commonjs --source-maps inline","build-module":"cross-env NODE_ENV=production babel src --out-dir lib --ignore spec.js,test.js --source-maps inline","start":"run-p \"build-** -- --watch\"","copy-etc":"f(){ rimraf etc; mkdir etc; printf 'Importing truffle artifacts...'; tput sc; for x in $@/*.json; do tput rc; tput el; echo \"$(basename $x)\"; node -e \"const {contractName,abi,networks}=require('$x');const [address]=Object.values(networks).sort((a, b) => b.updated_at - a.updated_at);console.log(JSON.stringify({name:contractName,abi,address: (address && address.address) || address}, null, 2));\" > etc/$(basename $x); done; tput rc; tput el; echo 'done! :)'; };f","compile":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && yarn compile && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","deploy":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && truffle migrate --reset && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","docs":"documentation readme src/index.js --section=API","copy-docs":"rimraf ../../docs/sdk && mkdir ../../docs/sdk && cp docs/index.html ../../docs/sdk && cp README.md ../../docs/sdk","prebuild":"rimraf lib && rimraf main","prepack":"npm -s run build","test":"nyc ava main/index.test.js","coverage":"nyc report --reporter=lcov","lcov-badge":"lcov-badge -o coverage.svg coverage/lcov.info && sed -i .bak 's/3\"/0\"/g' coverage.svg && rm *.bak"},"dependencies":{"@babel/runtime":"^7.4.3","cross-env":"^5.2.0","ethereumjs-tx":"^1.3.4","ethjs":"^0.4.0","ethjs-abi":"^0.2.1","ethjs-ens":"^2.0.1","ethjs-provider-signer":"^0.1.4","ethjs-query":"^0.3.1"},"devDependencies":{"@babel/cli":"^7.4.3","@babel/core":"^7.4.3","@babel/plugin-proposal-object-rest-spread":"^7.4.3","@babel/plugin-transform-flow-strip-types":"^7.4.0","@babel/plugin-transform-modules-commonjs":"^7.4.3","@babel/plugin-transform-runtime":"^7.4.3","@babel/preset-env":"^7.4.3","@babel/register":"^7.4.0","ava":"1.4.1","documentation":"10.0.0","lcov-badge":"^1.0.4","npm-run-all":"^4.1.5","nyc":"^14.0.0","protocol":"git+https://github.com/livepeer/protocol.git#65d6eaaa7875ee4f66029eee519f8c3fa9af89da","rimraf":"^2.6.3","yup":"0.27.0"},"homepage":"https://livepeer.org","repository":{"type":"git","url":"git+https://github.com/livepeer/livepeerjs.git"},"bugs":{"url":"https://github.com/livepeer/livepeerjs/issues"},"_id":"@adamsoffer/livepeer-sdk@1.0.0-alpha.12","_nodeVersion":"11.15.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-UhvoIPx1EWh1lH0RW5ewFsfqPG857MOAvxUzs0QHc5/KbNvgTmWe7D8KMfThPxOQmma4S7QSk0EFb2RDsOKnSw==","shasum":"7e48d6fa30c46468d1c326fb8d5bd2b8a4d63dad","tarball":"https://registry.npmjs.org/@adamsoffer/livepeer-sdk/-/livepeer-sdk-1.0.0-alpha.12.tgz","fileCount":66,"unpackedSize":1382377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdlUnTCRA9TVsSAnZWagAAxzoP/1HcV+rjXAklnQP3CveD\nP0Iqwib9agKEILCHotAGmHSKzH3Gv21B7kLVh/gBE6RxS8XWyXySGgsGUIFm\nybwh8u/MiVks+bB1Ulbv0BjgGAr/17AkGccruMxUjHiUbqn8Jk/i5Ab1F8wC\nEgkqIigPqSIdSHR2FDSB2idEezfptdxLWGHyDNkYO2UPSdXvjbZ1q/Vy2zId\nenkrwzZ38Rr1A5g1WvwcVjGUelm2Hh7zDtmh8ewv/HEnJk7gK66tebYefWRb\nLQEnJT+TGDvCxpjaM3sZyvcq954yNPce5JBLDgpNskn9GjxUXndei/DUPhVz\n6abUxrvVav53Z3D0yodi2qnESmsZqIESqPvrjnszNQx1t+akFIGIqDG4XvO8\n9/8SAY1HkXOH5bs5t2Kb3AbjqApqm0Dil8ZcBbmMBors9FXBqST4/WcNplYm\n8R7R9KAktw1DrGXv+aHO/N0r7XWXp4Q8LfPODB1ptVRACVv+uUQedo9MNUtw\nu7y2Frb0zlcnym316T5reMTJ7hYTPjMUmsjZQDUFTxtwZTO0ZLru9YNw2lmf\nJR3knXjSMxMvljP2V6XQ62z3r8kfmoVfjD2utJDlEmsoJcbj4DuKjzp7grr1\nuHBBrj+xerkuGhUyyACUPmvQYvnJoDagJOtLnI8CtD7/5OxzXfHpL7gx3cQQ\nvFV5\r\n=HNwp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0pyemZBkRJ03Z5YoKgkJCs70Jfah1iSltvqNUlY1iWAIgMJ6Eza/1Al5PV8w+0JY2xmhPLhZ1kKoXVjteC+M+n/U="}]},"maintainers":[{"name":"ads1018","email":"ads1018@gmail.com"}],"_npmUser":{"name":"ads1018","email":"ads1018@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/livepeer-sdk_1.0.0-alpha.12_1570064850296_0.2891980122145177"},"_hasShrinkwrap":false},"1.0.0-alpha.13":{"name":"@adamsoffer/livepeer-sdk","description":"A module for interacting with Livepeer's smart contracts. The SDK is a core dependency of most LivepeerJS packages.","version":"1.0.0-alpha.13","license":"MIT","main":"main/index.js","module":"lib/index.js","scripts":{"build":"run-p --npm-path npm build-main build-module","build-main":"cross-env NODE_ENV=production babel src --out-dir main --ignore spec.js,test.js --plugins=@babel/plugin-transform-modules-commonjs --source-maps inline","build-module":"cross-env NODE_ENV=production babel src --out-dir lib --ignore spec.js,test.js --source-maps inline","start":"run-p \"build-** -- --watch\"","copy-etc":"f(){ rimraf etc; mkdir etc; printf 'Importing truffle artifacts...'; tput sc; for x in $@/*.json; do tput rc; tput el; echo \"$(basename $x)\"; node -e \"const {contractName,abi,networks}=require('$x');const [address]=Object.values(networks).sort((a, b) => b.updated_at - a.updated_at);console.log(JSON.stringify({name:contractName,abi,address: (address && address.address) || address}, null, 2));\" > etc/$(basename $x); done; tput rc; tput el; echo 'done! :)'; };f","compile":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && yarn compile && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","deploy":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && truffle migrate --reset && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","docs":"documentation readme src/index.js --section=API","copy-docs":"rimraf ../../docs/sdk && mkdir ../../docs/sdk && cp docs/index.html ../../docs/sdk && cp README.md ../../docs/sdk","prebuild":"rimraf lib && rimraf main","prepack":"npm -s run build","test":"nyc ava main/index.test.js","coverage":"nyc report --reporter=lcov","lcov-badge":"lcov-badge -o coverage.svg coverage/lcov.info && sed -i .bak 's/3\"/0\"/g' coverage.svg && rm *.bak"},"dependencies":{"@babel/runtime":"^7.4.3","cross-env":"^5.2.0","ethereumjs-tx":"^1.3.4","ethjs":"^0.4.0","ethjs-abi":"^0.2.1","ethjs-ens":"^2.0.1","ethjs-provider-signer":"^0.1.4","ethjs-query":"^0.3.1"},"devDependencies":{"@babel/cli":"^7.4.3","@babel/core":"^7.4.3","@babel/plugin-proposal-object-rest-spread":"^7.4.3","@babel/plugin-transform-flow-strip-types":"^7.4.0","@babel/plugin-transform-modules-commonjs":"^7.4.3","@babel/plugin-transform-runtime":"^7.4.3","@babel/preset-env":"^7.4.3","@babel/register":"^7.4.0","ava":"1.4.1","documentation":"10.0.0","lcov-badge":"^1.0.4","npm-run-all":"^4.1.5","nyc":"^14.0.0","protocol":"git+https://github.com/livepeer/protocol.git#65d6eaaa7875ee4f66029eee519f8c3fa9af89da","rimraf":"^2.6.3","yup":"0.27.0"},"homepage":"https://livepeer.org","repository":{"type":"git","url":"git+https://github.com/livepeer/livepeerjs.git"},"bugs":{"url":"https://github.com/livepeer/livepeerjs/issues"},"_id":"@adamsoffer/livepeer-sdk@1.0.0-alpha.13","_nodeVersion":"11.15.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-k7do3g2ZmtytQ7ZoPphabtZyg+PSltI8Mn38Tf5kHKri3l+aVSziLkIxW7Q368wQl+D4SJ0yyXiilQPUlrLAaw==","shasum":"98e398a8910c5448cbc72b4fd0ec2cc089acab86","tarball":"https://registry.npmjs.org/@adamsoffer/livepeer-sdk/-/livepeer-sdk-1.0.0-alpha.13.tgz","fileCount":66,"unpackedSize":1373469,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdlWJaCRA9TVsSAnZWagAACHwP/0mafln3PN+dALudw/Ty\nGPpXHUSa6+VYikybPOgtqqudoZ0ENaTi7ZOZiFDMJcNv9ezrbEyxIRieXqq4\nG6bCNUkSufTteeFkJU5bEkP6wnhrmoqFBANjjGaO1smK++kf3guM5g1ynJpE\np0acUEICC9PQnCfnKetAmX3eN0XfUN/7jL9bmmE+AC0n/hI+Fn/qFUzLvvNm\nPcbWv977YR8SW2d0VyjiR9OpJKplyURoGiUs1bkrTbZEsYo0OyuZW0MtlYne\nAwDdmUaRTVDA4EB6GMpRsSs0sZtUKk4U6HL4JrKYuTfpUHXRv12R87vVFjiM\nkM2x07776Weg59X7RDLtCx70qi0aY0JehqQDstqMwxLHp5Zdm8XZ2N5BMLHV\nQxW9CuKqdOgVqwCYI3hhco3iz3Su79ZOTGPJJwrj2HicXhjWSeD1qztHYn97\n5100lvWPKX7wUubMQfOkE/XAw5zxHzZ7Z/b3C9nT4Phrbe/DjLebNzcJ7Bya\n3qiHEjcjLUUv4sMnNL0aKkTmFRPGAdTBV0UgpXB/lq0P/o6W1m6gOmkLvfPw\nEUQNrnH5oy+j9Y4AJoQm83GkkFCJxmmUB9eUM/eS/cUaV3rgMS/SHLqyiPy8\nCHBEIeKpn9hzI8EbPlqSJDCEK7ARKsKDF3Dv7BbBg73824poQS/icXiRiiex\nLqMq\r\n=rAZZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmqmg9RV+yPmCZ7Ul8IJXDpAPhBS8vuVtR7GFpGBDVzAIgdyTa56hfjixWk8LMfPKR3QWHXL7tEehexa04ad564uc="}]},"maintainers":[{"name":"ads1018","email":"ads1018@gmail.com"}],"_npmUser":{"name":"ads1018","email":"ads1018@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/livepeer-sdk_1.0.0-alpha.13_1570071129498_0.5138936918628589"},"_hasShrinkwrap":false},"1.0.0-alpha.14":{"name":"@adamsoffer/livepeer-sdk","description":"A module for interacting with Livepeer's smart contracts. The SDK is a core dependency of most LivepeerJS packages.","version":"1.0.0-alpha.14","license":"MIT","main":"main/index.js","module":"lib/index.js","scripts":{"build":"run-p --npm-path npm build-main build-module","build-main":"cross-env NODE_ENV=production babel src --out-dir main --ignore spec.js,test.js --plugins=@babel/plugin-transform-modules-commonjs --source-maps inline","build-module":"cross-env NODE_ENV=production babel src --out-dir lib --ignore spec.js,test.js --source-maps inline","start":"run-p \"build-** -- --watch\"","copy-etc":"f(){ rimraf etc; mkdir etc; printf 'Importing truffle artifacts...'; tput sc; for x in $@/*.json; do tput rc; tput el; echo \"$(basename $x)\"; node -e \"const {contractName,abi,networks}=require('$x');const [address]=Object.values(networks).sort((a, b) => b.updated_at - a.updated_at);console.log(JSON.stringify({name:contractName,abi,address: (address && address.address) || address}, null, 2));\" > etc/$(basename $x); done; tput rc; tput el; echo 'done! :)'; };f","compile":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && yarn compile && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","deploy":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && truffle migrate --reset && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","docs":"documentation readme src/index.js --section=API","copy-docs":"rimraf ../../docs/sdk && mkdir ../../docs/sdk && cp docs/index.html ../../docs/sdk && cp README.md ../../docs/sdk","prebuild":"rimraf lib && rimraf main","prepack":"npm -s run build","test":"nyc ava main/index.test.js","coverage":"nyc report --reporter=lcov","lcov-badge":"lcov-badge -o coverage.svg coverage/lcov.info && sed -i .bak 's/3\"/0\"/g' coverage.svg && rm *.bak"},"dependencies":{"@babel/runtime":"^7.4.3","cross-env":"^5.2.0","ethereumjs-tx":"^1.3.4","ethjs":"^0.4.0","ethjs-abi":"^0.2.1","ethjs-ens":"^2.0.1","ethjs-provider-signer":"^0.1.4","ethjs-query":"^0.3.1"},"devDependencies":{"@babel/cli":"^7.4.3","@babel/core":"^7.4.3","@babel/plugin-proposal-object-rest-spread":"^7.4.3","@babel/plugin-transform-flow-strip-types":"^7.4.0","@babel/plugin-transform-modules-commonjs":"^7.4.3","@babel/plugin-transform-runtime":"^7.4.3","@babel/preset-env":"^7.4.3","@babel/register":"^7.4.0","ava":"1.4.1","documentation":"10.0.0","lcov-badge":"^1.0.4","npm-run-all":"^4.1.5","nyc":"^14.0.0","protocol":"git+https://github.com/livepeer/protocol.git#65d6eaaa7875ee4f66029eee519f8c3fa9af89da","rimraf":"^2.6.3","yup":"0.27.0"},"homepage":"https://livepeer.org","repository":{"type":"git","url":"git+https://github.com/livepeer/livepeerjs.git"},"bugs":{"url":"https://github.com/livepeer/livepeerjs/issues"},"_id":"@adamsoffer/livepeer-sdk@1.0.0-alpha.14","_nodeVersion":"11.15.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-sbejE9NbgD/9CG1iavNXXB8mPUhZ+0r3rKMBMtzFZF1dIT/eVyBVrjTwq96CnQ0Y5+fKQdTLRzSvwAFBHIT24w==","shasum":"deaf4919f90cdae29c2f9b4cc51a63fa79b1218f","tarball":"https://registry.npmjs.org/@adamsoffer/livepeer-sdk/-/livepeer-sdk-1.0.0-alpha.14.tgz","fileCount":66,"unpackedSize":1372403,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdlWWNCRA9TVsSAnZWagAAZEIP/3ffE0W/w80MtaVljHex\nznnMgT39OUPWPwGi1Zf7FiJusazEzTwQEufwOdBih1bTu4hUyUTghjKEOOXj\nd3gq0VC8+yIbVkWr8PAohg/60XXflGumJujQGHeMPYswICgwit1FFw/NtqIR\nxf4zR2Jm4HJ1HjTHzf/Yv/IcQfXKuuGPBs2GddOBARnvPDO2t7YE8I17b7ZQ\nOR/qJ63xcERhNiGpM/+1mGRfJHRH2FpfvZtcEhv3nomO0YmUQWPIeVq7rmNb\n7QnAvgavEXgDUqC1mFJK00oXYfIgmIfhaJmQfMy+BnsEBzM8hK2FomlQXW7K\nF4zWVzcOn10JGpg2LeLiIetLIqheP3WD/jUg+iEa6aT3htI+J3d/GAWcQfp3\nGIGdtTO6Rg47SlJiqdOzdQOJ7jFC7R0YqBOmAs4aUWr+L5L7yMXDj/eZnErJ\nyk91wvE0kXXUWQrfddYpmFoyc4yW0M4gjLoxGdlZ/W30Ui2k5sydskbwh1cS\nDot2LuP/RlN7z5flOVOBKYk2rjdtBmxhYBNaxqOtRS71GEITbuJbjfTIolDo\nVm+KDSrcB7k8/nlHfmIwa9iLTwObTKEwv5MUrgOeD9O5mVU9cbQZJxetWCte\nAbTP6kOLQA9vD7OoVseoqXC+EXUzxKO1Jko3qdtyzWaZZYuD1b3G9oD/pxlz\n3U9m\r\n=YhV5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDXaM5FrOO8LrC/xHJounn4UTj8cHBQ6wnoY6nnsKbYiAiANxeUqN6arfUWhBClrkt4cy9xojdnznJAwIjF+On0MHQ=="}]},"maintainers":[{"name":"ads1018","email":"ads1018@gmail.com"}],"_npmUser":{"name":"ads1018","email":"ads1018@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/livepeer-sdk_1.0.0-alpha.14_1570071948639_0.1927939569989079"},"_hasShrinkwrap":false},"1.0.0-alpha.15":{"name":"@adamsoffer/livepeer-sdk","description":"A module for interacting with Livepeer's smart contracts. The SDK is a core dependency of most LivepeerJS packages.","version":"1.0.0-alpha.15","license":"MIT","main":"main/index.js","module":"lib/index.js","scripts":{"build":"run-p --npm-path npm build-main build-module","build-main":"cross-env NODE_ENV=production babel src --out-dir main --ignore spec.js,test.js --plugins=@babel/plugin-transform-modules-commonjs --source-maps inline","build-module":"cross-env NODE_ENV=production babel src --out-dir lib --ignore spec.js,test.js --source-maps inline","start":"run-p \"build-** -- --watch\"","copy-etc":"f(){ rimraf etc; mkdir etc; printf 'Importing truffle artifacts...'; tput sc; for x in $@/*.json; do tput rc; tput el; echo \"$(basename $x)\"; node -e \"const {contractName,abi,networks}=require('$x');const [address]=Object.values(networks).sort((a, b) => b.updated_at - a.updated_at);console.log(JSON.stringify({name:contractName,abi,address: (address && address.address) || address}, null, 2));\" > etc/$(basename $x); done; tput rc; tput el; echo 'done! :)'; };f","compile":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && yarn compile && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","deploy":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && truffle migrate --reset && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","docs":"documentation readme src/index.js --section=API","copy-docs":"rimraf ../../docs/sdk && mkdir ../../docs/sdk && cp docs/index.html ../../docs/sdk && cp README.md ../../docs/sdk","prebuild":"rimraf lib && rimraf main","prepack":"npm -s run build","test":"nyc ava main/index.test.js","coverage":"nyc report --reporter=lcov","lcov-badge":"lcov-badge -o coverage.svg coverage/lcov.info && sed -i .bak 's/3\"/0\"/g' coverage.svg && rm *.bak"},"dependencies":{"@babel/runtime":"^7.4.3","cross-env":"^5.2.0","ethereumjs-tx":"^1.3.4","ethjs":"^0.4.0","ethjs-abi":"^0.2.1","ethjs-ens":"^2.0.1","ethjs-provider-signer":"^0.1.4","ethjs-query":"^0.3.1"},"devDependencies":{"@babel/cli":"^7.4.3","@babel/core":"^7.4.3","@babel/plugin-proposal-object-rest-spread":"^7.4.3","@babel/plugin-transform-flow-strip-types":"^7.4.0","@babel/plugin-transform-modules-commonjs":"^7.4.3","@babel/plugin-transform-runtime":"^7.4.3","@babel/preset-env":"^7.4.3","@babel/register":"^7.4.0","ava":"1.4.1","documentation":"10.0.0","lcov-badge":"^1.0.4","npm-run-all":"^4.1.5","nyc":"^14.0.0","protocol":"git+https://github.com/livepeer/protocol.git#65d6eaaa7875ee4f66029eee519f8c3fa9af89da","rimraf":"^2.6.3","yup":"0.27.0"},"homepage":"https://livepeer.org","repository":{"type":"git","url":"git+https://github.com/livepeer/livepeerjs.git"},"bugs":{"url":"https://github.com/livepeer/livepeerjs/issues"},"_id":"@adamsoffer/livepeer-sdk@1.0.0-alpha.15","_nodeVersion":"11.15.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-/S8ZiRuJXOcUTTZc8EaX+ZNUU1MNwd1PGxSDpGWa0602cRDAW7LYpupVl5s7nBfglQp5kuzady2RgqlvDS1OUA==","shasum":"3c4a5b7f99aa3cf47c8fbb914ab39db724b6e56a","tarball":"https://registry.npmjs.org/@adamsoffer/livepeer-sdk/-/livepeer-sdk-1.0.0-alpha.15.tgz","fileCount":66,"unpackedSize":1372027,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdlXasCRA9TVsSAnZWagAAFH0P/3s2FQDZbF7sfI1WuKLq\nAVpWCrKnfNgWYNntzPAcgQ7r6szOtURPFpx+KJ2RRQXi4ZpKkiuY4EHlMCgl\nH44MKDWf0+qusGcddg4Xi9WdsGWpsYJN1K3k5rVV4sZdRs+AYAk/JVTUTZ03\nn8186w7WLiuVrpEkOE0xsHkWwSr++EyOFZaawwByEWaIyHQFboIsyRhCA7xo\nCN3vj9mtNZnRWHuPAJhI+0PzLDSQJKYj9BYarMfqosK4Efgc06xUQqtj1QJ5\n/ZTLLut1sS58Ifx8AydrmI3vdFWwboanlbg80t6EUKeMVzwAvFQPCp1AEjId\nR6inx8vFYAg9aQE0czpvQJ+8RxNgwAXBhX0Ihn4PCvIxSg1zd47bgKV674qb\nAuhZ1DJEe90wX9llpdW006WsINBLkD7uYkWrtkhnSzGHuG1Xio8lhEH12xmT\nqME78iIMri1lRJ0WUubAO7cR4Spi7g499kl0jBkZv65W141bUqsgmJPNvQ7L\ngMZSurseocQbFC91LFeGs8eyktKjNOmCG9gFGmLS6gbOQPgToHeoz1BPdEE4\nVIYTTXFxo0l+gxzCs3ANhqOWdl1ZufZq4YmtEYdA96H31YpCp9/0Jhl/I9ST\nmW5gppAsH9I9+07iDL8bSi202KFXJoI6pDbjK+w6lsFOlx9byFOkTkC5uQcf\nuSeh\r\n=D51Z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGIrPbb+HJ9Aj46cVx+ISvGICh9vQ6NL067ASjx1HkpaAiEApTYgZz9b0CtsHMN1oJdXnjCdKFMN8mrgmzWCHPvLM+w="}]},"maintainers":[{"name":"ads1018","email":"ads1018@gmail.com"}],"_npmUser":{"name":"ads1018","email":"ads1018@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/livepeer-sdk_1.0.0-alpha.15_1570076331403_0.4460712715290449"},"_hasShrinkwrap":false},"1.0.0-alpha.16":{"name":"@adamsoffer/livepeer-sdk","description":"A module for interacting with Livepeer's smart contracts. The SDK is a core dependency of most LivepeerJS packages.","version":"1.0.0-alpha.16","license":"MIT","main":"main/index.js","module":"lib/index.js","scripts":{"build":"run-p --npm-path npm build-main build-module","build-main":"cross-env NODE_ENV=production babel src --out-dir main --ignore spec.js,test.js --plugins=@babel/plugin-transform-modules-commonjs --source-maps inline","build-module":"cross-env NODE_ENV=production babel src --out-dir lib --ignore spec.js,test.js --source-maps inline","start":"run-p \"build-** -- --watch\"","copy-etc":"f(){ rimraf etc; mkdir etc; printf 'Importing truffle artifacts...'; tput sc; for x in $@/*.json; do tput rc; tput el; echo \"$(basename $x)\"; node -e \"const {contractName,abi,networks}=require('$x');const [address]=Object.values(networks).sort((a, b) => b.updated_at - a.updated_at);console.log(JSON.stringify({name:contractName,abi,address: (address && address.address) || address}, null, 2));\" > etc/$(basename $x); done; tput rc; tput el; echo 'done! :)'; };f","compile":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && yarn compile && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","deploy":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && truffle migrate --reset && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","docs":"documentation readme src/index.js --section=API","copy-docs":"rimraf ../../docs/sdk && mkdir ../../docs/sdk && cp docs/index.html ../../docs/sdk && cp README.md ../../docs/sdk","prebuild":"rimraf lib && rimraf main","prepack":"npm -s run build","test":"nyc ava main/index.test.js","coverage":"nyc report --reporter=lcov","lcov-badge":"lcov-badge -o coverage.svg coverage/lcov.info && sed -i .bak 's/3\"/0\"/g' coverage.svg && rm *.bak"},"dependencies":{"@babel/runtime":"^7.4.3","cross-env":"^5.2.0","ethereumjs-tx":"^1.3.4","ethjs":"^0.4.0","ethjs-abi":"^0.2.1","ethjs-ens":"^2.0.1","ethjs-provider-signer":"^0.1.4","ethjs-query":"^0.3.1"},"devDependencies":{"@babel/cli":"^7.4.3","@babel/core":"^7.4.3","@babel/plugin-proposal-object-rest-spread":"^7.4.3","@babel/plugin-transform-flow-strip-types":"^7.4.0","@babel/plugin-transform-modules-commonjs":"^7.4.3","@babel/plugin-transform-runtime":"^7.4.3","@babel/preset-env":"^7.4.3","@babel/register":"^7.4.0","ava":"1.4.1","documentation":"10.0.0","lcov-badge":"^1.0.4","npm-run-all":"^4.1.5","nyc":"^14.0.0","protocol":"git+https://github.com/livepeer/protocol.git#63b2278211f0912799416a16b53a6bcfa38107f9","rimraf":"^2.6.3","yup":"0.27.0"},"homepage":"https://livepeer.org","repository":{"type":"git","url":"git+https://github.com/livepeer/livepeerjs.git"},"bugs":{"url":"https://github.com/livepeer/livepeerjs/issues"},"_id":"@adamsoffer/livepeer-sdk@1.0.0-alpha.16","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"ads1018","email":"ads1018@gmail.com"},"dist":{"integrity":"sha512-tI7vLZsiDQvnat69f9tF0oCBuVvAMtNmMmedAb1VMpjgvuxf8Hgv85O8hCKLWgr8jB7TbQOF43q/xWh8N3rI4w==","shasum":"ed91acddac27576e9a4a565fe57da238047dfd83","tarball":"https://registry.npmjs.org/@adamsoffer/livepeer-sdk/-/livepeer-sdk-1.0.0-alpha.16.tgz","fileCount":86,"unpackedSize":1425130,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdvuqrCRA9TVsSAnZWagAAvpQP/1X96Gsq0zspKoGYGBGX\nL0wTcshhzJKa4xgQW1OMVnBc1/H8NhvTU7Ssi+daTOEQKuXF3DduKU5YU4g4\n9nvsg4u+zboho8k4L9mMOLy7DJM2k9ZnBTAhqmxPb0utq9mVjFVxTvB8HWt5\n1t56kWSDxAHzrHXPdVLxYWfYVatc68hhBb4a2nZBm7Jk6BKLpW1L62BCjKlg\n4p6SpYyr10fKGz7j6RHo/9a5b2uQKnhOKgrOluraY1ddTGrqi2wuQWuGPxrP\nqH6+TkP7odqxXYsUjXbHwNBA5k2riD2KgkI0r4VgWUO9QMswXCHKoH/OlAwp\nddYl7hN0Bu4YzYm172PD3bKFO6mdsTyxx/yTQPKRpIoqm+JtJ9ZdDGYT0ysG\nZgbOnPB3xuD5pyI3AkSzc6ZL/UbCEiHyHHbBmK0b05Fj4LPAiVOBKJIuoKE/\nXPLUk+LdsJEp8ipm0BelQhLadUAzklWuajLJe502poad/qHdcue+gpuzKeWw\nPOz0EEHgXgPrbqNVOIqvSfYh+KUwlZv+wa4tGYperPD/Hz2iAekv1pHckQNP\ns1xughNka7w9Zg5RCIp8l1podxg/LxLxkDytu388bpnqLZe1L6jivtPD01bm\nwHohXIakFoafxFhDshHn0AOPA4SEuqfIKItn3yGD2vqHq+jpymf8dWmdeV1O\nBZnW\r\n=fMfa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6zpnUaVhjpF7B0aEeyi8d5VBXEqY1uuVpGMbtucopBQIhAPhixMZRF9xO5MHlctIEYpuFViIbyVPiNGA/5PFIGttV"}]},"maintainers":[{"name":"ads1018","email":"ads1018@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/livepeer-sdk_1.0.0-alpha.16_1572793002580_0.8271721202550562"},"_hasShrinkwrap":false},"1.0.0-streamflow.16":{"name":"@adamsoffer/livepeer-sdk","description":"A module for interacting with Livepeer's smart contracts. The SDK is a core dependency of most LivepeerJS packages.","version":"1.0.0-streamflow.16","license":"MIT","main":"main/index.js","module":"lib/index.js","scripts":{"build":"run-p --npm-path npm build-main build-module","build-main":"cross-env NODE_ENV=production babel src --out-dir main --ignore spec.js,test.js --plugins=@babel/plugin-transform-modules-commonjs --source-maps inline","build-module":"cross-env NODE_ENV=production babel src --out-dir lib --ignore spec.js,test.js --source-maps inline","start":"run-p \"build-** -- --watch\"","copy-etc":"f(){ rimraf etc; mkdir etc; printf 'Importing truffle artifacts...'; tput sc; for x in $@/*.json; do tput rc; tput el; echo \"$(basename $x)\"; node -e \"const {contractName,abi,networks}=require('$x');const [address]=Object.values(networks).sort((a, b) => b.updated_at - a.updated_at);console.log(JSON.stringify({name:contractName,abi,address: (address && address.address) || address}, null, 2));\" > etc/$(basename $x); done; tput rc; tput el; echo 'done! :)'; };f","compile":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && yarn compile && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","deploy":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && truffle migrate --reset && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","docs":"documentation readme src/index.js --section=API","copy-docs":"rimraf ../../docs/sdk && mkdir ../../docs/sdk && cp docs/index.html ../../docs/sdk && cp README.md ../../docs/sdk","prebuild":"rimraf lib && rimraf main","prepack":"npm -s run build","test":"nyc ava main/index.test.js","coverage":"nyc report --reporter=lcov","lcov-badge":"lcov-badge -o coverage.svg coverage/lcov.info && sed -i .bak 's/3\"/0\"/g' coverage.svg && rm *.bak"},"dependencies":{"@babel/runtime":"^7.4.3","cross-env":"^5.2.0","ethereumjs-tx":"^1.3.4","ethjs":"^0.4.0","ethjs-abi":"^0.2.1","ethjs-ens":"^2.0.1","ethjs-provider-signer":"^0.1.4","ethjs-query":"^0.3.1"},"devDependencies":{"@babel/cli":"^7.4.3","@babel/core":"^7.4.3","@babel/plugin-proposal-object-rest-spread":"^7.4.3","@babel/plugin-transform-flow-strip-types":"^7.4.0","@babel/plugin-transform-modules-commonjs":"^7.4.3","@babel/plugin-transform-runtime":"^7.4.3","@babel/preset-env":"^7.4.3","@babel/register":"^7.4.0","ava":"1.4.1","documentation":"10.0.0","lcov-badge":"^1.0.4","npm-run-all":"^4.1.5","nyc":"^14.0.0","protocol":"git+https://github.com/livepeer/protocol.git#63b2278211f0912799416a16b53a6bcfa38107f9","rimraf":"^2.6.3","yup":"0.27.0"},"homepage":"https://livepeer.org","repository":{"type":"git","url":"git+https://github.com/livepeer/livepeerjs.git"},"readme":"# LivepeerJS SDK\n\n[![home](https://img.shields.io/badge/%E2%97%80-home-lightgrey.svg?style=flat-square)](https://github.com/livepeer/livepeerjs#readme)\n[![npm](https://img.shields.io/npm/v/@livepeer/sdk.svg?style=flat-square)](https://www.npmjs.com/package/@livepeer/sdk)\n[![Discord](https://img.shields.io/discord/423160867534929930.svg?style=flat-square)](https://discord.gg/7wRSUGX)\n[![coverage](https://github.com/livepeer/livepeerjs/raw/master/packages/sdk/coverage.svg?sanitize=true)](https://codeclimate.com/github/livepeer/livepeerjs/code?q=packages%2Fsdk%2Fsrc)\n[![GitHub issues](https://img.shields.io/github/issues/livepeer/livepeerjs/sdk.svg?style=flat-square)](https://github.com/livepeer/livepeerjs/labels/sdk)\n\nA module for interacting with Livepeer's smart contracts. The SDK is a core dependency of most LivepeerJS packages.\n\n<!-- hide-on-docup-start -->\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [API](#api)\n\n<!-- hide-on-docup-stop -->\n\n## Installation\n\n```bash\nyarn add @livepeer/sdk\n```\n\n## Usage\n\nHere's a code snippet showing instantiation and basic usage of the Livepeer SDK.\n\n```js\nimport LivepeerSDK from '@livepeer/sdk'\n\n// Or if you prefer require\n// const { LivepeerSDK } = require('@livepeer/sdk')\n//\n// First, call the SDK factory function\n// pass it any configuration options\nLivepeerSDK({ ... }).then(async (sdk) => {\n\n  // Once initialized, you can access the methods under the `rpc` namespace\n  const { rpc } = sdk\n\n  // For example, you can get the total supply of Livepeer Tokens like so\n  const tokens = await rpc.getTokenTotalSupply()\n\n  console.log(tokens)\n  // => string representation of some absurdly high number, maybe \"9999999999999999999999\" or something like that :)\n})\n```\n\nTo use with a testnet please instantiate with the following params:\n\n```js\nconst provider = \"https://rinkeby.infura.io\" #or your testnet of choice\nconst controllerAddress = \"0x37dC71366Ec655093b9930bc816E16e6b587F968\"\n\nLivepeerSDK({ provider, controllerAddress }).then(async sdk => {\n  mycode...\n})\n```\n\nThe following section details the rpc API's function signatures and typedefs.\n\n## API\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n#### Table of Contents\n\n- [module~exports](#moduleexports)\n  - [default](#default)\n- [livepeer~rpc](#livepeerrpc)\n  - [getENSName](#getensname)\n  - [getENSAddress](#getensaddress)\n  - [getBlock](#getblock)\n  - [getEthBalance](#getethbalance)\n  - [getUnbondingPeriod](#getunbondingperiod)\n  - [getNumActiveTranscoders](#getnumactivetranscoders)\n  - [getMaxEarningsClaimsRounds](#getmaxearningsclaimsrounds)\n  - [getTotalBonded](#gettotalbonded)\n  - [getTokenTotalSupply](#gettokentotalsupply)\n  - [getTokenBalance](#gettokenbalance)\n  - [getTokenInfo](#gettokeninfo)\n  - [transferToken](#transfertoken)\n  - [getFaucetAmount](#getfaucetamount)\n  - [getFaucetWait](#getfaucetwait)\n  - [getFaucetNext](#getfaucetnext)\n  - [getFaucetInfo](#getfaucetinfo)\n  - [getInflation](#getinflation)\n  - [getInflationChange](#getinflationchange)\n  - [getBroadcaster](#getbroadcaster)\n  - [getDelegatorStatus](#getdelegatorstatus)\n  - [getDelegator](#getdelegator)\n  - [getTranscoderIsActive](#gettranscoderisactive)\n  - [getTranscoderStatus](#gettranscoderstatus)\n  - [getTranscoderTotalStake](#gettranscodertotalstake)\n  - [getTranscoderPoolMaxSize](#gettranscoderpoolmaxsize)\n  - [getTranscoder](#gettranscoder)\n  - [getTranscoders](#gettranscoders)\n  - [getProtocolPaused](#getprotocolpaused)\n  - [getProtocol](#getprotocol)\n  - [getRoundLength](#getroundlength)\n  - [getRoundsPerYear](#getroundsperyear)\n  - [getCurrentRound](#getcurrentround)\n  - [getCurrentRoundIsInitialized](#getcurrentroundisinitialized)\n  - [getCurrentRoundStartBlock](#getcurrentroundstartblock)\n  - [getLastInitializedRound](#getlastinitializedround)\n  - [getCurrentRoundInfo](#getcurrentroundinfo)\n  - [getTotalJobs](#gettotaljobs)\n  - [getJobVerificationRate](#getjobverificationrate)\n  - [getJobVerificationPeriod](#getjobverificationperiod)\n  - [getJobVerificationSlashingPeriod](#getjobverificationslashingperiod)\n  - [getJobFinderFee](#getjobfinderfee)\n  - [getJobsInfo](#getjobsinfo)\n  - [getJob](#getjob)\n  - [getJobs](#getjobs)\n  - [tapFaucet](#tapfaucet)\n  - [initializeRound](#initializeround)\n  - [claimEarnings](#claimearnings)\n  - [estimateGas](#estimategas)\n  - [unbond](#unbond)\n  - [setupTranscoder](#setuptranscoder)\n  - [getTargetBondingRate](#gettargetbondingrate)\n  - [deposit](#deposit)\n  - [withdraw](#withdraw)\n  - [withdrawStake](#withdrawstake)\n  - [withdrawFees](#withdrawfees)\n  - [createJob](#createjob)\n- [getDelegatorUnbondingLock](#getdelegatorunbondinglock)\n- [ABIPropDescriptor](#abipropdescriptor)\n- [ContractArtifact](#contractartifact)\n- [LivepeerSDKOptions](#livepeersdkoptions)\n- [LivepeerSDK](#livepeersdk)\n- [TokenInfo](#tokeninfo)\n- [TxConfig](#txconfig)\n- [TxReceipt](#txreceipt)\n- [Protocol](#protocol)\n- [FaucetInfo](#faucetinfo)\n- [Broadcaster](#broadcaster)\n- [Delegator](#delegator)\n- [Transcoder](#transcoder)\n- [UnbondingLock](#unbondinglock)\n- [RoundInfo](#roundinfo)\n- [Block](#block)\n- [JobsInfo](#jobsinfo)\n- [Job](#job)\n- [Log](#log)\n\n### module~exports\n\nLivepeer SDK main module exports\n\n#### default\n\nLivepeer SDK factory function. Creates an instance of the Livepeer SDK -- an object with useful methods for interacting with Livepeer protocol smart contracts\n\n**Parameters**\n\n- `opts` **[LivepeerSDKOptions](#livepeersdkoptions)** SDK configuration options\n\n**Examples**\n\n```javascript\n// Here we're naming the default export \"LivepeerSDK\"\nimport LivepeerSDK from '@livepeer/sdk'\n\n// Call the factory function and await its Promise\nLivepeerSDK().then(sdk => {\n  // Your Livepeer SDK instance is now ready to use\n})\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[LivepeerSDK](#livepeersdk)>**\n\n### livepeer~rpc\n\n\"rpc\" namespace of a Livepeer SDK instance\n\n**Examples**\n\n```javascript\nimport LivepeerSDK from '@livepeer/sdk'\n\nLivepeerSDK().then(({ rpc }) => {\n  // Here, we're destructuring the sdk to expose only its rpc namespace\n  // Now, you you are able call rpc.<method-name>()\n  // All rpc method yield Promises. Their usage is further explained below.\n})\n```\n\n#### getENSName\n\nGets the ENS name for an address. This is known as a reverse lookup.\nUnfortunately, users must explicitly set their own resolver.\nSo most of the time, this method just returns an empty string\nMore info here:\n(<https://docs.ens.domains/en/latest/userguide.html#reverse-name-resolution>)\n\n**Parameters**\n\n- `address` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** address to look up an ENS name for\n\n**Examples**\n\n```javascript\nawait rpc.getENSName('0xd34db33f...')\n// => string\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getENSAddress\n\nGets the address for an ENS name\n\n**Parameters**\n\n- `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** ENS name to look up an address for\n\n**Examples**\n\n```javascript\nawait rpc.getENSAddress('vitalik.eth')\n// => string\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getBlock\n\nGets a block by number, hash, or keyword ('earliest' | 'latest')\n\n**Parameters**\n\n- `id` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n- `block` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Number of block to get\n\n**Examples**\n\n```javascript\nawait rpc.getBlock('latest')\n// => {\n  \"number\": string,\n  \"hash\": string,\n  \"parentHash\": string,\n  \"nonce\": string,\n  \"sha3Uncles\": string,\n  \"logsBloom\": string,\n  \"transactionsRoot\": string,\n  \"stateRoot\": string,\n  \"receiptsRoot\": string,\n  \"miner\": string,\n  \"mixHash\": string,\n  \"difficulty\": string,\n  \"totalDifficulty\": string,\n  \"extraData\": string,\n  \"size\": string,\n  \"gasLimit\": string,\n  \"gasUsed\": string,\n  \"timestamp\": number,\n  \"transactions\": Array<Transaction>,\n  \"transactionsRoot\": string,\n  \"uncles\": Array<Uncle>,\n}\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[Block](#block)>**\n\n#### getEthBalance\n\nGets the ETH balance for an account\n\n**Parameters**\n\n- `addr` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** ETH account address\n\n**Examples**\n\n```javascript\nawait rpc.getEthBalance('0xf00...')\n// => string\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getUnbondingPeriod\n\nGets the unbonding period for transcoders\n\n**Examples**\n\n```javascript\nawait rpc.getUnbondingPeriod()\n// => string\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getNumActiveTranscoders\n\nGets the number of active transcoders\n\n**Examples**\n\n```javascript\nawait rpc.getNumActiveTranscoders()\n// => string\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getMaxEarningsClaimsRounds\n\nGets the maximum earnings for claims rounds\n\n**Examples**\n\n```javascript\nawait rpc.getMaxEarningsClaimsRounds()\n// => string\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getTotalBonded\n\nGets the total amount of bonded tokens\n\n**Examples**\n\n```javascript\nawait rpc.getTotalBonded()\n// => string\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getTokenTotalSupply\n\nGets the total supply of token (LTPU) available in the protocol\n\n**Examples**\n\n```javascript\nawait rpc.getTokenTotalSupply()\n// => string\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getTokenBalance\n\nGets a user's token balance (LPTU)\n\n**Parameters**\n\n- `addr` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** user's ETH address\n\n**Examples**\n\n```javascript\nawait rpc.getTokenBalance('0xf00...')\n// => string\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getTokenInfo\n\nGets general information about tokens\n\n**Parameters**\n\n- `addr` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** user's ETH address\n\n**Examples**\n\n```javascript\nawait rpc.getTokenInfo()\n// => TokenInfo { totalSupply: string, balance: string }\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[TokenInfo](#tokeninfo)>**\n\n#### transferToken\n\nTransfers tokens (LPTU) from one account to another\n\n**Parameters**\n\n- `to` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the account ETH address to send tokens to\n- `amount` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the amount of token to send (LPTU)\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` and `gas` values of the transaction (optional, default `config.defaultTx`)\n\n**Examples**\n\n```javascript\nawait rpc.transferToken('0xf00...', '10')\n// => TxReceipt {\n//   transactionHash: string,\n//   transactionIndex\": BN,\n//   blockHash: string,\n//   blockNumber: BN,\n//   cumulativeGasUsed: BN,\n//   gasUsed: BN,\n//   contractAddress: string,\n//   logs: Array<Log {\n//     logIndex: BN,\n//     blockNumber: BN,\n//     blockHash: string,\n//     transactionHash: string,\n//     transactionIndex: string,\n//     address: string,\n//     data: string,\n//     topics: Array<string>\n//   }>\n// }\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[TxReceipt](#txreceipt)>**\n\n#### getFaucetAmount\n\nThe amount of LPT the faucet distributes when tapped\n\n**Examples**\n\n```javascript\nawait rpc.getFaucetAmount()\n// => string\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getFaucetWait\n\nHow often an address can tap the faucet (in hours)\n\n**Examples**\n\n```javascript\nawait rpc.getFaucetWait()\n// => string\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getFaucetNext\n\nNext timestamp at which the given address will be allowed to tap the faucet\n\n**Parameters**\n\n- `addr` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** user's ETH address\n\n**Examples**\n\n```javascript\nawait rpc.getFaucetNext()\n// => string\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getFaucetInfo\n\nInfo about the state of the LPT faucet\n\n**Parameters**\n\n- `addr` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** user's ETH address\n\n**Examples**\n\n```javascript\nawait rpc.getFaucetInfo('0xf00...')\n// => FaucetInfo {\n//   amount: string,\n//   wait: string,\n//   next: string,\n// }\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[FaucetInfo](#faucetinfo)>**\n\n#### getInflation\n\nGets the per round inflation rate\n\n**Examples**\n\n```javascript\nawait rpc.getInflation()\n// => string\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getInflationChange\n\nGets the change in inflation rate per round until the target bonding rate is achieved\n\n**Examples**\n\n```javascript\nawait rpc.getInflationChange()\n// => string\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getBroadcaster\n\nInfo about a broadcaster\n\n**Parameters**\n\n- `addr` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** user's ETH address\n\n**Examples**\n\n```javascript\nawait rpc.getBroadcaster('0xf00...')\n// => Broadcaster {\n//   address: string,\n//   deposit: string,\n//   withdrawBlock: string,\n// }\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[Broadcaster](#broadcaster)>**\n\n#### getDelegatorStatus\n\nThe delegator status of the given address\n\n**Parameters**\n\n- `addr` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** user's ETH address\n\n**Examples**\n\n```javascript\nawait rpc.getDelegatorStatus('0xf00...')\n// => 'Pending' | 'Bonded' | 'Unbonded'\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getDelegator\n\nGeneral info about a delegator\n\n**Parameters**\n\n- `addr` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** user's ETH address\n\n**Examples**\n\n```javascript\nawait rpc.getDelegator('0xf00...')\n// => Delegator {\n//   allowance: string,\n//   address: string,\n//   bondedAmount: string,\n//   delegateAddress: string,\n//   delegateAmount: string,\n//   fees: string,\n//   lastClaimRound: string,\n//   pendingFees: string,\n//   pendingStake: string,\n//   startRound: string,\n//   status: 'Pending' | 'Bonded' | 'Unbonding' | 'Unbonded',\n//   withdrawRound: string,\n//   nextUnbondingLockId: string,\n// }\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[Delegator](#delegator)>**\n\n#### getTranscoderIsActive\n\nWhether or not the transcoder is active\n\n**Parameters**\n\n- `addr` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** user's ETH address\n\n**Examples**\n\n```javascript\nawait rpc.getTranscoderIsActive('0xf00...')\n// => boolean\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)>**\n\n#### getTranscoderStatus\n\nGets the status of a transcoder\n\n**Parameters**\n\n- `addr` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** user's ETH address\n\n**Examples**\n\n```javascript\nawait rpc.getTranscoderStatus('0xf00...')\n// => 'NotRegistered' | 'Registered'\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getTranscoderTotalStake\n\nGets a transcoder's total stake\n\n**Parameters**\n\n- `addr` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** user's ETH address\n\n**Examples**\n\n```javascript\nawait rpc.getTranscoderTotalStake('0xf00...')\n// => string\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getTranscoderPoolMaxSize\n\nGets a transcoder's pool max size\n\n**Examples**\n\n```javascript\nawait rpc.getTranscoderPoolMaxSize()\n// => string\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getTranscoder\n\nGets info about a transcoder\n\n**Parameters**\n\n- `addr` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** user's ETH address\n\n**Examples**\n\n```javascript\nawait rpc.getTranscoder('0xf00...')\n// => Transcoder {\n//   active: boolean,\n//   address: string,\n//   rewardCut: string,\n//   feeShare: string,\n//   lastRewardRound: string,\n//   pendingRewardCut string,\n//   pendingFeeShare: string,\n//   pendingPricePerSegment: string,\n//   pricePerSegment: string,\n//   status: 'NotRegistered' | 'Registered',\n//   totalStake: string,\n// }\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[Transcoder](#transcoder)>**\n\n#### getTranscoders\n\nGets transcoders\n\n**Examples**\n\n```javascript\nawait rpc.getTranscoders()\n// => Array<Transcoder>\n```\n\nReturns **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[Transcoder](#transcoder)>**\n\n#### getProtocolPaused\n\nWhether the protocol is paused\n\n**Examples**\n\n```javascript\nawait rpc.getProtocolPaused()\n// => boolean\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)>**\n\n#### getProtocol\n\nGets the protocol\n\n**Examples**\n\n```javascript\nawait rpc.getProtocol()\n// => Protocol {\npaused\ntotalTokenSupply\ntotalBondedToken\ntargetBondingRate\ntranscoderPoolMaxSize\n}\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[Protocol](#protocol)>**\n\n#### getRoundLength\n\nGets the length of a round (in blocks)\n\n**Examples**\n\n```javascript\nawait rpc.getRoundLength()\n// => string\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getRoundsPerYear\n\nGets the estimated number of rounds per year\n\n**Examples**\n\n```javascript\nawait rpc.getRoundsPerYear()\n// => string\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getCurrentRound\n\nGets the number of the current round\n\n**Examples**\n\n```javascript\nawait rpc.getCurrentRound()\n// => string\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getCurrentRoundIsInitialized\n\nWhether or not the current round is initalized\n\n**Examples**\n\n```javascript\nawait rpc.getCurrentRoundIsInitialized()\n// => boolean\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)>**\n\n#### getCurrentRoundStartBlock\n\nThe block at which the current round started\n\n**Examples**\n\n```javascript\nawait rpc.getCurrentRoundStartBlock()\n// => string\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getLastInitializedRound\n\nThe previously intitialized round\n\n**Examples**\n\n```javascript\nawait rpc.getLastInitializedRound()\n// => string\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getCurrentRoundInfo\n\nGets general information about the rounds in the protocol\n\n**Examples**\n\n```javascript\nawait rpc.getCurrentRoundInfo()\n// => RoundInfo {\n//   id: string,\n//   initialized: boolean,\n//   startBlock: string,\n//   lastInitializedRound: string,\n//   length: string,\n// }\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[RoundInfo](#roundinfo)>**\n\n#### getTotalJobs\n\nTotal jobs that have been created\n\n**Examples**\n\n```javascript\nawait rpc.getTotalJobs()\n// => string\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getJobVerificationRate\n\nVerification rate for jobs\n\n**Examples**\n\n```javascript\nawait rpc.getJobVerificationRate()\n// => string\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getJobVerificationPeriod\n\nVerification period for jobs\n\n**Examples**\n\n```javascript\nawait rpc.getJobVerificationPeriod()\n// => string\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getJobVerificationSlashingPeriod\n\nSlashing period for jobs\n\n**Examples**\n\n```javascript\nawait rpc.getJobVerificationSlashingPeriod()\n// => string\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getJobFinderFee\n\nFinder fee for jobs\n\n**Examples**\n\n```javascript\nawait rpc.getJobFinderFee()\n// => string\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getJobsInfo\n\nGets general info about the state of jobs in the protocol\n\n**Examples**\n\n```javascript\nawait rpc.getJobsInfo()\n// => JobsInfo {\n//   total: string,\n//   verificationRate: string,\n//   verificationPeriod: string,\n//   verificationSlashingPeriod: string,\n//   finderFee: string,\n// }\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[JobsInfo](#jobsinfo)>**\n\n#### getJob\n\nGets a job by id\n\n**Parameters**\n\n- `id` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the job id\n\n**Examples**\n\n```javascript\nawait rpc.getJob('1337')\n// => Job {\n//   id: string,\n//   streamId: string,\n//   transcodingOptions: Array<JobProfile>\n//   transcoder: string,\n//   broadcaster: string,\n// }\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[Job](#job)>**\n\n#### getJobs\n\nGets a list of jobs\n\n**Parameters**\n\n- `$0` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** (optional, default `{}`)\n  - `$0.to`\n  - `$0.from`\n  - `$0.blocksAgo` (optional, default `100*10000`)\n  - `$0.filters` **...any**\n\n**Examples**\n\n```javascript\nawait rpc.getJobs()\n// => Array<Job>\n```\n\nReturns **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[Job](#job)>**\n\n#### tapFaucet\n\nGets LPT from the faucet\n\n**Parameters**\n\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` and `gas` values of the transaction (optional, default `config.defaultTx`)\n\n**Examples**\n\n```javascript\nawait rpc.tapFaucet('1337')\n// => TxReceipt {\n//   transactionHash: string,\n//   transactionIndex\": BN,\n//   blockHash: string,\n//   blockNumber: BN,\n//   cumulativeGasUsed: BN,\n//   gasUsed: BN,\n//   contractAddress: string,\n//   logs: Array<Log {\n//     logIndex: BN,\n//     blockNumber: BN,\n//     blockHash: string,\n//     transactionHash: string,\n//     transactionIndex: string,\n//     address: string,\n//     data: string,\n//     topics: Array<string>\n//   }>\n// }\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[TxReceipt](#txreceipt)>**\n\n#### initializeRound\n\nInitializes the round\n\n**Parameters**\n\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` and `gas` values of the transaction (optional, default `config.defaultTx`)\n\n**Examples**\n\n```javascript\nawait rpc.initializeRound()\n// => TxReceipt {\n//   transactionHash: string,\n//   transactionIndex\": BN,\n//   blockHash: string,\n//   blockNumber: BN,\n//   cumulativeGasUsed: BN,\n//   gasUsed: BN,\n//   contractAddress: string,\n//   logs: Array<Log {\n//     logIndex: BN,\n//     blockNumber: BN,\n//     blockHash: string,\n//     transactionHash: string,\n//     transactionIndex: string,\n//     address: string,\n//     data: string,\n//     topics: Array<string>\n//   }>\n// }\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[TxReceipt](#txreceipt)>**\n\n#### claimEarnings\n\nClaims token and eth earnings from the sender's `lastClaimRound + 1` through a given `endRound`\n\n**Parameters**\n\n- `endRound` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the round to claim earnings until\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` and `gas` values of the transaction (optional, default `config.defaultTx`)\n\n**Examples**\n\n```javascript\nawait rpc.claimEarnings()\n// => string\n```\n\nReturns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n\n#### estimateGas\n\nGets the estimated amount of gas to be used by a smart contract\nmethod.\n\n**Parameters**\n\n- `contractName` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** : name of contract containing method you wish to find gas price for.\n  methodName: name of method on contract.\n  methodArgs: array of argument to be passed to the contract in specified order.\n  tx: (optioanl){\n  from: address - 0x...,\n  gas: number,\n  value: (optional) number or string containing number\n  }\n- `methodName` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n- `methodArgs` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)**\n- `tx` (optional, default `config.defaultTx`)\n\n**Examples**\n\n```javascript\nawait rpc.estimateGas('BondingManager', 'bond', [10, '0x00.....'])\n// => 33454\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)>** containing estimated gas price\n\n#### unbond\n\nUnbonds LPT from an address\n\n**Parameters**\n\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` and `gas` values of the transaction (optional, default `config.defaultTx`)\n\n**Examples**\n\n```javascript\nawait rpc.unbond()\n// => TxReceipt {\n//   transactionHash: string,\n//   transactionIndex\": BN,\n//   blockHash: string,\n//   blockNumber: BN,\n//   cumulativeGasUsed: BN,\n//   gasUsed: BN,\n//   contractAddress: string,\n//   logs: Array<Log {\n//     logIndex: BN,\n//     blockNumber: BN,\n//     blockHash: string,\n//     transactionHash: string,\n//     transactionIndex: string,\n//     address: string,\n//     data: string,\n//     topics: Array<string>\n//   }>\n// }\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[TxReceipt](#txreceipt)>**\n\n#### setupTranscoder\n\nSets transcoder parameters\n\n**Parameters**\n\n- `rewardCut` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the block reward cut you wish to set\n- `feeShare` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the fee share you wish to set\n- `pricePerSegment` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the price per segment you wish to set\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` and `gas` values of the transaction (optional, default `config.defaultTx`)\n\n**Examples**\n\n```javascript\nawait rpc.setupTranscoder('10', '10', '5')\n// => TxReceipt {\n//   transactionHash: string,\n//   transactionIndex\": BN,\n//   blockHash: string,\n//   blockNumber: BN,\n//   cumulativeGasUsed: BN,\n//   gasUsed: BN,\n//   contractAddress: string,\n//   logs: Array<Log {\n//     logIndex: BN,\n//     blockNumber: BN,\n//     blockHash: string,\n//     transactionHash: string,\n//     transactionIndex: string,\n//     address: string,\n//     data: string,\n//     topics: Array<string>\n//   }>\n// }\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[TxReceipt](#txreceipt)>**\n\n#### getTargetBondingRate\n\nGet target bonding rate\n\n**Examples**\n\n```javascript\nawait rpc.getTargetBondingRate()\n// => string\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### deposit\n\nDeposits ETH for broadcasting\n\n**Parameters**\n\n- `amount` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** amount of ETH to deposit\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` and `gas` values of the transaction (optional, default `config.defaultTx`)\n\n**Examples**\n\n```javascript\nawait rpc.deposit('100')\n// => TxReceipt {\n//   transactionHash: string,\n//   transactionIndex\": BN,\n//   blockHash: string,\n//   blockNumber: BN,\n//   cumulativeGasUsed: BN,\n//   gasUsed: BN,\n//   contractAddress: string,\n//   logs: Array<Log {\n//     logIndex: BN,\n//     blockNumber: BN,\n//     blockHash: string,\n//     transactionHash: string,\n//     transactionIndex: string,\n//     address: string,\n//     data: string,\n//     topics: Array<string>\n//   }>\n// }\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[TxReceipt](#txreceipt)>**\n\n#### withdraw\n\nWithdraws deposited ETH\n\n**Parameters**\n\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` and `gas` values of the transaction (optional, default `config.defaultTx`)\n\n**Examples**\n\n```javascript\nawait rpc.withdraw()\n// => TxReceipt {\n//   transactionHash: string,\n//   transactionIndex\": BN,\n//   blockHash: string,\n//   blockNumber: BN,\n//   cumulativeGasUsed: BN,\n//   gasUsed: BN,\n//   contractAddress: string,\n//   logs: Array<Log {\n//     logIndex: BN,\n//     blockNumber: BN,\n//     blockHash: string,\n//     transactionHash: string,\n//     transactionIndex: string,\n//     address: string,\n//     data: string,\n//     topics: Array<string>\n//   }>\n// }\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[TxReceipt](#txreceipt)>**\n\n#### withdrawStake\n\nWithdraws earned token (Transfers a sender's delegator `bondedAmount` to their `tokenBalance`)\n\n**Parameters**\n\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` and `gas` values of the transaction (optional, default `config.defaultTx`)\n\n**Examples**\n\n```javascript\nawait rpc.withdrawStake()\n// => TxReceipt {\n//   transactionHash: string,\n//   transactionIndex\": BN,\n//   blockHash: string,\n//   blockNumber: BN,\n//   cumulativeGasUsed: BN,\n//   gasUsed: BN,\n//   contractAddress: string,\n//   logs: Array<Log {\n//     logIndex: BN,\n//     blockNumber: BN,\n//     blockHash: string,\n//     transactionHash: string,\n//     transactionIndex: string,\n//     address: string,\n//     data: string,\n//     topics: Array<string>\n//   }>\n// }\n```\n\nReturns **[TxReceipt](#txreceipt)**\n\n#### withdrawFees\n\nWithdraws earned fees (Transfers a sender's delegator `fees` to their `ethBalance`)\n\n**Parameters**\n\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` and `gas` values of the transaction (optional, default `config.defaultTx`)\n\n**Examples**\n\n```javascript\nawait rpc.withdrawFees()\n// => TxReceipt {\n//   transactionHash: string,\n//   transactionIndex\": BN,\n//   blockHash: string,\n//   blockNumber: BN,\n//   cumulativeGasUsed: BN,\n//   gasUsed: BN,\n//   contractAddress: string,\n//   logs: Array<Log {\n//     logIndex: BN,\n//     blockNumber: BN,\n//     blockHash: string,\n//     transactionHash: string,\n//     transactionIndex: string,\n//     address: string,\n//     data: string,\n//     topics: Array<string>\n//   }>\n// }\n```\n\nReturns **[TxReceipt](#txreceipt)**\n\n#### createJob\n\nCreates a job\n\n**Parameters**\n\n- `streamId` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the stream id for the job\n- `profiles` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** a list of profiles to transcode the job into (optional, default `[// default profiles 'P240p30fps4x3','P360p30fps16x9']`)\n- `maxPricePerSegment` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the maximum LPTU price the broadcaster is willing to pay per segment\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` and `gas` values of the transaction (optional, default `config.defaultTx`)\n\n**Examples**\n\n```javascript\nawait rpc.createJob('foo', [P240p30fps4x3', 'P360p30fps16x9'], '5')\n// => TxReceipt {\n//   transactionHash: string,\n//   transactionIndex\": BN,\n//   blockHash: string,\n//   blockNumber: BN,\n//   cumulativeGasUsed: BN,\n//   gasUsed: BN,\n//   contractAddress: string,\n//   logs: Array<Log {\n//     logIndex: BN,\n//     blockNumber: BN,\n//     blockHash: string,\n//     transactionHash: string,\n//     transactionIndex: string,\n//     address: string,\n//     data: string,\n//     topics: Array<string>\n//   }>\n// }\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[TxReceipt](#txreceipt)>**\n\n### getDelegatorUnbondingLock\n\nGet an unbonding lock for a delegator\n\n**Parameters**\n\n- `addr` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** delegator's ETH address\n- `unbondingLockId` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** unbonding lock ID\n\n**Examples**\n\n```javascript\nawait rpc.getDelegatorUnbondingLock('0xf00...', 1)\n// => UnbondingLock {\n//   id: string,\n//   delegator: string,\n//   amount: string,\n//   withdrawRound: string\n// }\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[UnbondingLock](#unbondinglock)>**\n\n### ABIPropDescriptor\n\nABI property descriptor\n\nType: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n**Properties**\n\n- `constants` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** is the method constant?\n- `inputs` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;{name: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}>** the method params\n- `outputs` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;{name: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}>** method return values\n- `payable` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** is the method payable?\n- `stateMutability` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** type of state mutability\n- `type` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** type of contract property\n\n### ContractArtifact\n\nMostly \"`truffle`-style\" ABI artifacts but no bytecode/network properties required\n\nType: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n**Properties**\n\n- `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** name of the contract\n- `abi` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[ABIPropDescriptor](#abipropdescriptor)>** lists info about contract properties\n\n### LivepeerSDKOptions\n\nSDK configuration options\n\nType: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n**Properties**\n\n- `controllerAddress` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** The address of the delpoyed Controller contract\n- `provider` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** The ETH http provider for rpc methods\n- `gas` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)?** the amount of gas to include with transactions by default\n- `artifacts` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), [ContractArtifact](#contractartifact)>** an object containing contract name -> ContractArtifact mappings\n- `privateKeys` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** an object containing public -> private key mappings. Should be specified if using the SDK for transactions without MetaMask (via CLI, etc)\n- `account` **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) \\| [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number))** the account that will be used for transacting and data-fetching. Can be one of the publicKeys specified in the `privateKeys` option or an index of an account available via MetaMask\n\n### LivepeerSDK\n\nAn object containing contract info and utility methods for interacting with the Livepeer protocol's smart contracts\n\nType: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n**Properties**\n\n- `config` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), any>** this prop is mostly for debugging purposes and could change a lot in the future. Currently, it contains the following props: `abis`, `accounts`, `contracts`, `defaultTx`, `eth`\n- `constants` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), any>** Exposes some constant values. Currently, it contains the following props: `ADDRESS_PAD`, `DELEGATOR_STATUS`, `EMPTY_ADDRESS`, `TRANSCODER_STATUS`, `VIDEO_PROFILES`, `VIDEO_PROFILE_ID_SIZE`\n- `create` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** same as the `createLivepeerSDK` function\n- `events` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)>** Object mapping an event name -> contract event descriptor object\n- `rpc` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), [Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)>** contains all of the rpc methods available for interacting with the Livepeer protocol\n- `utils` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), [Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)>** contains utility methods. Mostly here just because. Could possibly be removed or moved into its own module in the future\n\n### TokenInfo\n\nAn object containing the total token supply and a user's account balance.\n\nType: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n**Properties**\n\n- `totalSupply` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** total supply of token available in the protocol (LPTU)\n- `balance` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** user's token balance (LPTU)\n\n### TxConfig\n\nTransaction config object\n\nType: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n**Properties**\n\n- `from` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the ETH account address to sign the transaction from\n- `gas` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** the amount of gas to include in the transaction\n\n### TxReceipt\n\nTransaction receipt\n\nType: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n**Properties**\n\n- `transactionHash` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the transaction hash\n- `transactionIndex` **BN** the transaction index\n- `blockHash` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the transaction block hash\n- `blockNumber` **BN** the transaction block number\n- `cumulativeGasUsed` **BN** the cumulative gas used in the transaction\n- `gasUsed` **BN** the gas used in the transaction\n- `contractAddress` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the contract address of the transaction method\n- `logs` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[Log](#log)>** an object containing logs that were fired during the transaction\n\n### Protocol\n\nA Protocol struct\n\nType: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n**Properties**\n\n- `paused` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** the protocol paused or not\n- `totalTokenSupply` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** total token supply for protocol\n- `totalBondedToken` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** total bonded token for protocol\n- `targetBondingRate` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** target bonding rate for protocol\n- `transcoderPoolMaxSize` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** transcoder pool max size\n\n### FaucetInfo\n\nInformation about the status of the LPT faucet\n\nType: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n**Properties**\n\n- `amount` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the amount distributed by the faucet\n- `wait` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the faucet request cooldown time\n- `next` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the next time a valid faucet request may be made\n\n### Broadcaster\n\nA Broadcaster struct\n\nType: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n**Properties**\n\n- `address` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the ETH address of the broadcaster\n- `deposit` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the amount of LPT the broadcaster has deposited\n- `withdrawBlock` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the next block at which a broadcaster may withdraw their deposit\n\n### Delegator\n\nA Delegator struct\n\nType: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n**Properties**\n\n- `allowance` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the delegator's LivepeerToken approved amount for transfer\n- `address` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the delegator's ETH address\n- `bondedAmount` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** The amount of LPTU a delegator has bonded\n- `delegateAddress` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the ETH address of the delegator's delegate\n- `delegatedAmount` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the amount of LPTU the delegator has delegated\n- `fees` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the amount of LPTU a delegator has collected\n- `lastClaimRound` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the last round that the delegator claimed reward and fee pool shares\n- `pendingFees` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the amount of ETH the delegator has earned up to the current round\n- `pendingStake` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the amount of token the delegator has earned up to the current round\n- `startRound` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the round the delegator becomes bonded and delegated to its delegate\n- `status` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the delegator's status\n- `withdrawableAmount` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the amount of LPTU a delegator can withdraw\n- `withdrawRound` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the round the delegator can withdraw its stake\n- `nextUnbondingLockId` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the next unbonding lock ID for the delegator\n\n### Transcoder\n\nA Transcoder struct\n\nType: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n**Properties**\n\n- `active` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** whether or not the transcoder is active\n- `address` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the transcoder's ETH address\n- `rewardCut` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** % of block reward cut paid to transcoder by a delegator\n- `feeShare` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** % of fees paid to delegators by transcoder\n- `lastRewardRound` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** last round that the transcoder called reward\n- `pendingRewardCut` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** pending block reward cut for next round if the transcoder is active\n- `pendingFeeShare` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** pending fee share for next round if the transcoder is active\n- `pendingPricePerSegment` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** pending price per segment for next round if the transcoder is active\n- `pricePerSegment` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** price per segment for a stream (LPTU)\n- `status` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the transcoder's status\n- `totalStake` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** total tokens delegated toward a transcoder (including their own)\n\n### UnbondingLock\n\nAn UnbondingLock struct\n\nType: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n**Properties**\n\n- `id` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the unbonding lock ID\n- `delegator` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the delegator's ETH address\n- `amount` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the amount of tokens being unbonded\n- `withdrawRound` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the round at which unbonding period is over and tokens can be withdrawn\n\n### RoundInfo\n\nAn object containing information about the current round\n\nType: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n**Properties**\n\n- `id` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the number of the current round\n- `initialized` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** whether or not the current round is initialized\n- `startBlock` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the start block of the current round\n- `lastInitializedRound` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the last round that was initialized prior to the current\n- `length` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the length of rounds\n\n### Block\n\nAn object containing information about an Ethereum block\n\nType: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n**Properties**\n\n- `number` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** block number\n- `hash` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** block hash\n- `parentHash` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** parent has of the block\n- `nonce` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** block nonce\n- `sha3Uncles` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** block sha3 uncles\n- `logsBloom` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** logss bloom for the block\n- `transactionsRoot` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** block transaction root hash\n- `stateRoot` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** block state root hash\n- `receiptsRoot` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** block receipts root hash\n- `miner` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** block miner hash\n- `mixHash` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** block mixHash\n- `difficulty` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** difficulty int\n- `totalDifficulty` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** total difficulty int\n- `extraData` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** hash of extra data\n- `size` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** block size\n- `gasLimit` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** block gas limit\n- `gasUsed` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** gas used in block\n- `timestamp` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** block timestamp\n- `transactions` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** block transactions hash\n- `uncles` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** block uncles hash\n- `transactions` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;Transaction>** transactions in the block\n- `transactionsRoot` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** root transaction hash\n- `uncles` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;Uncle>** block uncles\n\n### JobsInfo\n\nAn object containing overview information about the jobs in the protocol\n\nType: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n**Properties**\n\n- `total` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the total number of jobs created\n- `verificationRate` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** the verification rate for jobs\n- `verificationPeriod` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the verification period for jobs\n- `verificationSlashingPeriod` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the slashing period for jobs\n- `finderFee` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the finder fee for jobs\n\n### Job\n\nA Job struct\n\nType: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n**Properties**\n\n- `jobId` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the id of the job\n- `streamId` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the job's stream id\n- `transcodingOptions` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;TranscodingProfile>** transcoding profiles\n- `transcoder` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** the ETH address of the assigned transcoder\n- `broadcaster` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the ETH address of the broadcaster who created the job\n\n### Log\n\nAn object representing a contract log\n\nType: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n**Properties**\n\n- `logIndex` **BN** the log index\n- `blockNumber` **BN** the log block number\n- `blockHash` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the log block hash\n- `transactionHash` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the log's transaction hash\n- `transactionIndex` **BN** the log's transaction index\n- `address` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the log's address\n- `data` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the log's data\n- `topics` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** the log's topics\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/livepeer/livepeerjs/issues"},"_id":"@adamsoffer/livepeer-sdk@1.0.0-streamflow.16","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"ads1018","email":"ads1018@gmail.com"},"dist":{"integrity":"sha512-JEUou5hY+rDEtM9xSNNo8WFqAWDM76VuVw2mkxBLFhiu1aVGuU05iGraWxwj1EN53+hhtIBQbp4x716VYTRkmA==","shasum":"666aee3eefd05b00cf05ec6727a29a581ebabb06","tarball":"https://registry.npmjs.org/@adamsoffer/livepeer-sdk/-/livepeer-sdk-1.0.0-streamflow.16.tgz","fileCount":86,"unpackedSize":1425135,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdvusyCRA9TVsSAnZWagAAo0EP/2NN5w8uTzEUF9sc7t51\nTd4QQjR3two1L4o3qzUCN3s6hkI6xos3dX3Oy1YGKCu1uq2KjDRdckgazdcE\n20fcKpzDHyRYSx0JlPdpYgOsfs+Yc800rAXJf+kONtKzXb3qc9cFepO51Ttg\n7yhbVOQ+msFAM+G5+JyP+ZcUB9PUO6oaBytAw9wQaNn1MIekIzBxToaFO+xf\ndVo/IB031US2WQc7YxNZCKrERSlfmn3bE80kuS7oJSDuQu6BfWulEZmzQAjc\n+XtifLonIC4S8i7C4mq7jSnTU1L6/i70PoddDpY0r5v3/6PyAy1866xd2u3D\nf7b9IT7NWDDpwXiRDT+aqeW1nOLEE+sOFeQx2KYTrxqsYCbjlRHaWTcUR4OR\nwD5+qEkV3GgsxWLok+fXH0FNnNU47nYvfkv1VW0zjRJJNdlf5pD7rG2uFEjg\nCTZeCZUZCfCOujSClXgZDmed6XX7TQ1mTVQmubicN8/qox20nYdJOET6+TcA\nPefwNI4Ue5vS7p5qoxr8V1//1TPpi66QAeUbp0nc6or14p2jjL+dkHQQft1Y\nYxF8ivLvq4dQ6FxNaf+LjQMd/iSYAbsqVGGQW2vPa4yR5xN19G2M9Xyvoji0\nHC9oecIec+TCtnmu9xD0gKIVHJB9p4IBhvvqrQsgbnwvpEwJR2Q4OIFgi7dL\nt1gj\r\n=goUt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfeDi8sJ0n9wXXfgYsleD2zOOU6goWbRXqbEJ0H/5phwIhAMB0+EwkTHAax9q+E2dthTAeOEznVIa3P8d9R+1Yafme"}]},"maintainers":[{"name":"ads1018","email":"ads1018@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/livepeer-sdk_1.0.0-streamflow.16_1572793137799_0.6045647845892361"},"_hasShrinkwrap":false},"1.0.0-streamflow-alpha.17":{"name":"@adamsoffer/livepeer-sdk","description":"A module for interacting with Livepeer's smart contracts. The SDK is a core dependency of most LivepeerJS packages.","version":"1.0.0-streamflow-alpha.17","license":"MIT","main":"main/index.js","module":"lib/index.js","scripts":{"build":"run-p --npm-path npm build-main build-module","build-main":"cross-env NODE_ENV=production babel src --out-dir main --ignore spec.js,test.js --plugins=@babel/plugin-transform-modules-commonjs --source-maps inline","build-module":"cross-env NODE_ENV=production babel src --out-dir lib --ignore spec.js,test.js --source-maps inline","start":"run-p \"build-** -- --watch\"","copy-etc":"f(){ rimraf etc; mkdir etc; printf 'Importing truffle artifacts...'; tput sc; for x in $@/*.json; do tput rc; tput el; echo \"$(basename $x)\"; node -e \"const {contractName,abi,networks}=require('$x');const [address]=Object.values(networks).sort((a, b) => b.updated_at - a.updated_at);console.log(JSON.stringify({name:contractName,abi,address: (address && address.address) || address}, null, 2));\" > etc/$(basename $x); done; tput rc; tput el; echo 'done! :)'; };f","compile":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && yarn compile && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","deploy":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && truffle migrate --reset && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","docs":"documentation readme src/index.js --section=API","copy-docs":"rimraf ../../docs/sdk && mkdir ../../docs/sdk && cp docs/index.html ../../docs/sdk && cp README.md ../../docs/sdk","prebuild":"rimraf lib && rimraf main","prepack":"npm -s run build","test":"nyc ava main/index.test.js","coverage":"nyc report --reporter=lcov","lcov-badge":"lcov-badge -o coverage.svg coverage/lcov.info && sed -i .bak 's/3\"/0\"/g' coverage.svg && rm *.bak"},"dependencies":{"@babel/runtime":"^7.4.3","cross-env":"^5.2.0","ethereumjs-tx":"^1.3.4","ethjs":"^0.4.0","ethjs-abi":"^0.2.1","ethjs-ens":"^2.0.1","ethjs-provider-signer":"^0.1.4","ethjs-query":"^0.3.1"},"devDependencies":{"@babel/cli":"^7.4.3","@babel/core":"^7.4.3","@babel/plugin-proposal-object-rest-spread":"^7.4.3","@babel/plugin-transform-flow-strip-types":"^7.4.0","@babel/plugin-transform-modules-commonjs":"^7.4.3","@babel/plugin-transform-runtime":"^7.4.3","@babel/preset-env":"^7.4.3","@babel/register":"^7.4.0","ava":"1.4.1","documentation":"10.0.0","lcov-badge":"^1.0.4","npm-run-all":"^4.1.5","nyc":"^14.0.0","protocol":"git+https://github.com/livepeer/protocol.git#63b2278211f0912799416a16b53a6bcfa38107f9","rimraf":"^2.6.3","yup":"0.27.0"},"homepage":"https://livepeer.org","repository":{"type":"git","url":"git+https://github.com/livepeer/livepeerjs.git"},"bugs":{"url":"https://github.com/livepeer/livepeerjs/issues"},"_id":"@adamsoffer/livepeer-sdk@1.0.0-streamflow-alpha.17","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"ads1018","email":"ads1018@gmail.com"},"dist":{"integrity":"sha512-+TKtsVPte0Msvq1z7AmGdPZF2vmvPaKjUW2z8YeQWU1r8WaW83I9S/GspuRNQr+SzdBHuZU9t2SpTkaj4MbIGQ==","shasum":"05a8093273e30e4f8a66c5d4dc35a84037d42cbf","tarball":"https://registry.npmjs.org/@adamsoffer/livepeer-sdk/-/livepeer-sdk-1.0.0-streamflow-alpha.17.tgz","fileCount":91,"unpackedSize":1534065,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdv5RMCRA9TVsSAnZWagAAk88P/237onIgl+iFCav1CeIE\nN6Q+hLDaW1TIzQUN2c3EzEfHfR/1y63UuA0g24POes4Px790OEAH1l+ahrAR\nghpd/2Ul7p6AJDPkMqCE2gKzB3zor4lHu9Lumrh29ndryP1VVvmLfExVhUQl\nwnaiTi0NOJvlOEsXOExWmE4U1ZmjzJhm/ocMvsc9yEm6tvBTt6zjno+4xZWn\neXzi++5I8kaiRHAcvjMKqNLtM45rQHRytDBHP4HNzrJgdQs4q106BAMMGArS\ntK9Q/CYDWdROWxtH1AbbkrVjzaE6lL/lxxDgrbUKoDenxaIpe8ROZij9j7ZR\nQx6UGUaDHGEBSPsVGMDxyuCh9SwTY3ENEL43Vi4nDhl4PxHbH/TvmK5XgHQU\ne6vLIel9qovK5AzaWNTLAIz+jSaiVikrW22ivRlQTaInSZgrbp9bTPdw3MJl\nWj6Vw4SI1TTZpfWhAqNGkWSAKUJh0A/3/09ZBqqt1OSNzLlT1H3Zoo9k5TGk\n/9my7pipt1pp3njK0anVx5wJfH1xLzgqUuXFroLbI1ZOyFi5hHWl9VUbc2KM\nwfktJ9B2kLsK1aOQRMdH0tT9HMiUw5rBYXmDN6bA6gLauid1KYfSJpNiiyHB\ngwpTb4un4sQ83ekhw0pJfk2WgMoeXUT+9iHNCnziXKfsI9dKTfoWOByeRoXJ\nnbqM\r\n=+8Ne\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDereYwgDGSLtsmbZ7dVikc8qFeqsO9g5KoR3QP8s04dAIgVIEcHCOw8flzykQRvoce/ElJKxgSWsaN8/jrOG6NDEw="}]},"maintainers":[{"name":"ads1018","email":"ads1018@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/livepeer-sdk_1.0.0-streamflow-alpha.17_1572836427687_0.8199796325416684"},"_hasShrinkwrap":false},"1.0.0-streamflow-alpha.18":{"name":"@adamsoffer/livepeer-sdk","description":"A module for interacting with Livepeer's smart contracts. The SDK is a core dependency of most LivepeerJS packages.","version":"1.0.0-streamflow-alpha.18","license":"MIT","main":"main/index.js","module":"lib/index.js","scripts":{"build":"run-p --npm-path npm build-main build-module","build-main":"cross-env NODE_ENV=production babel src --out-dir main --ignore spec.js,test.js --plugins=@babel/plugin-transform-modules-commonjs --source-maps inline","build-module":"cross-env NODE_ENV=production babel src --out-dir lib --ignore spec.js,test.js --source-maps inline","dev":"run-p \"build-** -- --watch\"","copy-etc":"f(){ rimraf etc; mkdir etc; printf 'Importing truffle artifacts...'; tput sc; for x in $@/*.json; do tput rc; tput el; echo \"$(basename $x)\"; node -e \"const {contractName,abi,networks}=require('$x');const [address]=Object.values(networks).sort((a, b) => b.updated_at - a.updated_at);console.log(JSON.stringify({name:contractName,abi,address: (address && address.address) || address}, null, 2));\" > etc/$(basename $x); done; tput rc; tput el; echo 'done! :)'; };f","compile":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && yarn compile && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","deploy":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && truffle migrate --reset && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","docs":"documentation readme src/index.js --section=API","copy-docs":"rimraf ../../docs/sdk && mkdir ../../docs/sdk && cp docs/index.html ../../docs/sdk && cp README.md ../../docs/sdk","prebuild":"rimraf lib && rimraf main","prepack":"npm -s run build","test":"nyc ava main/index.test.js","coverage":"nyc report --reporter=lcov","lcov-badge":"lcov-badge -o coverage.svg coverage/lcov.info && sed -i .bak 's/3\"/0\"/g' coverage.svg && rm *.bak"},"dependencies":{"@babel/runtime":"^7.4.3","cross-env":"^5.2.0","ethereumjs-tx":"^1.3.4","ethjs":"^0.4.0","ethjs-abi":"^0.2.1","ethjs-ens":"^2.0.1","ethjs-provider-signer":"^0.1.4","ethjs-query":"^0.3.1"},"devDependencies":{"@babel/cli":"^7.4.3","@babel/core":"^7.4.3","@babel/plugin-proposal-object-rest-spread":"^7.4.3","@babel/plugin-transform-flow-strip-types":"^7.4.0","@babel/plugin-transform-modules-commonjs":"^7.4.3","@babel/plugin-transform-runtime":"^7.4.3","@babel/preset-env":"^7.4.3","@babel/register":"^7.4.0","ava":"1.4.1","documentation":"10.0.0","lcov-badge":"^1.0.4","npm-run-all":"^4.1.5","nyc":"^14.0.0","protocol":"git+https://github.com/livepeer/protocol.git#63b2278211f0912799416a16b53a6bcfa38107f9","rimraf":"^2.6.3","yup":"0.27.0"},"homepage":"https://livepeer.org","repository":{"type":"git","url":"git+https://github.com/livepeer/livepeerjs.git"},"bugs":{"url":"https://github.com/livepeer/livepeerjs/issues"},"_id":"@adamsoffer/livepeer-sdk@1.0.0-streamflow-alpha.18","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"ads1018","email":"ads1018@gmail.com"},"dist":{"integrity":"sha512-QiI5MILSy/hktkg4rgD/iNDUViAWFHqUl+ZOpGPUQMtMCNOuawKKPsogQMHUSIx4I7eFdABa+W7Bqb7KnhEpPQ==","shasum":"a9783091af6628faa577be6f3bd98ef27c708edb","tarball":"https://registry.npmjs.org/@adamsoffer/livepeer-sdk/-/livepeer-sdk-1.0.0-streamflow-alpha.18.tgz","fileCount":91,"unpackedSize":1502527,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdv6rvCRA9TVsSAnZWagAAEeEQAIpTBSDbX/KndtAYohE9\nMg4TdfOvE1ZxyoM/+oiTI6LeNFY96XLLSorsKFdG7saHEwKak062eyPJJ8q6\n8S2Ug7fYexeUH7QfI61LDt654lf6i2CxAI/0zKdC6JulHysCEeX2Yg+fYYKB\nBN4qGL4jiETH2Ahp9JpI10WaceACX+CzYvJ46Pqcl/Y+IN1KCat+1wAkZdRu\nsWB9IXekYu2iNk3gLL99yzLYQqVvMNhxj5pJKMIoVPbXKIiFeaf1OmbA2C7m\nQKZ6mMMBVJGvqhoLV4UjxjcSfvk9BaWUY2ffzODCYaBJcqkZ3xWOKVgwwVsj\n87+bewCKf+ZXqhOmvJrprm3u8QdVhZ3+mvey6Bv6bysfPeJdT2nMrALvYVqC\nOElgLFknlUjV/iQ4vu1NwCDhW9u+cDm1WyWEsRw47G6L7oYcNh7OWnV06Bhe\nVrnIpP5sAjCqLd7jVPqgj4wNIMdrNIREBK8iNtKc3lEjvYhaM6tPiXK1pQZg\ncESGr1n6OUkGnFw4QfrLXE5EQCFy9vkjv0uII2g+H7+hhyReXLsqL7zhsWZ6\nMGUhjFUFCKeqLTU5P46VdLyJkiRLkZuc2P0sVuJ0Kel3ZKrqme4j+qK4cmt+\nvigkHTTj1Jt5yVO9TA7jWqErzNNlSR5FsbtI0aAQdO18paMW4AWOJTXYLMSC\nATIV\r\n=Sm22\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJJazefddBvEX2C0/06a7HFyveRWetcpA3QPLjvz5fugIhAJ5VG18XYbLmV2k1xXMnmKKPbo0h81ql/8ltlJYdwkvY"}]},"maintainers":[{"name":"ads1018","email":"ads1018@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/livepeer-sdk_1.0.0-streamflow-alpha.18_1572842222924_0.2715455099928483"},"_hasShrinkwrap":false},"1.0.0-streamflow-alpha.19":{"name":"@adamsoffer/livepeer-sdk","description":"A module for interacting with Livepeer's smart contracts. The SDK is a core dependency of most LivepeerJS packages.","version":"1.0.0-streamflow-alpha.19","license":"MIT","main":"main/index.js","module":"lib/index.js","scripts":{"build":"run-p --npm-path npm build-main build-module","build-main":"cross-env NODE_ENV=production babel src --out-dir main --ignore spec.js,test.js --plugins=@babel/plugin-transform-modules-commonjs --source-maps inline","build-module":"cross-env NODE_ENV=production babel src --out-dir lib --ignore spec.js,test.js --source-maps inline","dev":"run-p \"build-** -- --watch\"","copy-etc":"f(){ rimraf etc; mkdir etc; printf 'Importing truffle artifacts...'; tput sc; for x in $@/*.json; do tput rc; tput el; echo \"$(basename $x)\"; node -e \"const {contractName,abi,networks}=require('$x');const [address]=Object.values(networks).sort((a, b) => b.updated_at - a.updated_at);console.log(JSON.stringify({name:contractName,abi,address: (address && address.address) || address}, null, 2));\" > etc/$(basename $x); done; tput rc; tput el; echo 'done! :)'; };f","compile":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && yarn compile && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","deploy":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && truffle migrate --reset && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","docs":"documentation readme src/index.js --section=API","copy-docs":"rimraf ../../docs/sdk && mkdir ../../docs/sdk && cp docs/index.html ../../docs/sdk && cp README.md ../../docs/sdk","prebuild":"rimraf lib && rimraf main","prepack":"npm -s run build","test":"nyc ava main/index.test.js","coverage":"nyc report --reporter=lcov","lcov-badge":"lcov-badge -o coverage.svg coverage/lcov.info && sed -i .bak 's/3\"/0\"/g' coverage.svg && rm *.bak"},"dependencies":{"@babel/runtime":"^7.4.3","cross-env":"^5.2.0","ethereumjs-tx":"^1.3.4","ethjs":"^0.4.0","ethjs-abi":"^0.2.1","ethjs-ens":"^2.0.1","ethjs-provider-signer":"^0.1.4","ethjs-query":"^0.3.1"},"devDependencies":{"@babel/cli":"^7.4.3","@babel/core":"^7.4.3","@babel/plugin-proposal-object-rest-spread":"^7.4.3","@babel/plugin-transform-flow-strip-types":"^7.4.0","@babel/plugin-transform-modules-commonjs":"^7.4.3","@babel/plugin-transform-runtime":"^7.4.3","@babel/preset-env":"^7.4.3","@babel/register":"^7.4.0","ava":"1.4.1","documentation":"10.0.0","lcov-badge":"^1.0.4","npm-run-all":"^4.1.5","nyc":"^14.0.0","protocol":"git+https://github.com/livepeer/protocol.git#63b2278211f0912799416a16b53a6bcfa38107f9","rimraf":"^2.6.3","yup":"0.27.0"},"homepage":"https://livepeer.org","repository":{"type":"git","url":"git+https://github.com/livepeer/livepeerjs.git"},"bugs":{"url":"https://github.com/livepeer/livepeerjs/issues"},"_id":"@adamsoffer/livepeer-sdk@1.0.0-streamflow-alpha.19","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"ads1018","email":"ads1018@gmail.com"},"dist":{"integrity":"sha512-HZdsfAZyyLi7eyX+99LejxEOL+m30ly0y7x7gOYA9g8JywAHi5ZRSfJmx5kNF/KcZo1xsxUXH5noszsg5KYeJw==","shasum":"37076ecbb94811ea0ea1eb7087fc41c9866adbc8","tarball":"https://registry.npmjs.org/@adamsoffer/livepeer-sdk/-/livepeer-sdk-1.0.0-streamflow-alpha.19.tgz","fileCount":91,"unpackedSize":1490635,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdv7kjCRA9TVsSAnZWagAAVEwP/0fYgMwLeFSDWmIrn4kU\nndKtBmAxwTmD5g56M+LEvpaWR5jS/yQ7ue2sY+bq5wT0HCxtPDpjO5Klnb4o\nmzD3MdtjzelPxW9nna9K+owuSWwRkEdI53nAGHDJzgmdkZDOmz8ZZo6O/VFl\nawitHOYH/8pSIvEhmwgNbDt+aXgj0RIFDGHdligHCabiyP4BfwoAF4LwqbsJ\nVeYyHa7yhRGnbcgctLuRtWR0rpMkpgObY4QUfNnGN6WBKNbVApggZBBNv/xC\n8nmhOuHpIde2m8+GKC7KSBRBylaeI5be4dp7hYnCXU8MC9BglmtEpduz6SmV\nHQ5p34k1xV07zCzSAxyKtB2zxvpP+uEIKj4/TJzlVWmOtM5g9xbLCPziAoEK\nKU8C4cxdZR2fEx03yOXJxj8DrBDoKuUipI8T3XxdM4bcHubT1+0PkOBWfrGJ\namSkda5mEknTHxMJ3beJVVTsAxwZL9rhD4695gcenkjaDYkOltq4EIToKm67\nqAaGbqAc+bt37kl4xRgmR3G7Uo+hmGr3QDv3C8ccqV624rXDSWXJ97jlzHcO\n8uIYIWiYmWrXnq9MvcNn7fyn3ZLxTbl5Yq4x/NBNYfXfV86BN+EbVMP9gqD3\nxbKinCZrIi73lvjsuK/NycQh7RU4DhvJVGo6oepqtlsIU5TWdiyPGX6VyMAF\nqajy\r\n=MW/Y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCacI3F1xNdVt7oq7Nnw1+wG9L26QGB/SUsroalIRMOgwIhAOepDwfFX5LxLRgNFQaMPZvSxNIGsWW3cUPnLGswvkyH"}]},"maintainers":[{"name":"ads1018","email":"ads1018@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/livepeer-sdk_1.0.0-streamflow-alpha.19_1572845858578_0.3354125962880721"},"_hasShrinkwrap":false},"1.0.0-streamflow-alpha.20":{"name":"@adamsoffer/livepeer-sdk","description":"A module for interacting with Livepeer's smart contracts. The SDK is a core dependency of most LivepeerJS packages.","version":"1.0.0-streamflow-alpha.20","license":"MIT","main":"main/index.js","module":"lib/index.js","scripts":{"build":"run-p --npm-path npm build-main build-module","build-main":"cross-env NODE_ENV=production babel src --out-dir main --ignore spec.js,test.js --plugins=@babel/plugin-transform-modules-commonjs --source-maps inline","build-module":"cross-env NODE_ENV=production babel src --out-dir lib --ignore spec.js,test.js --source-maps inline","dev":"run-p \"build-** -- --watch\"","copy-etc":"f(){ rimraf etc; mkdir etc; printf 'Importing truffle artifacts...'; tput sc; for x in $@/*.json; do tput rc; tput el; echo \"$(basename $x)\"; node -e \"const {contractName,abi,networks}=require('$x');const [address]=Object.values(networks).sort((a, b) => b.updated_at - a.updated_at);console.log(JSON.stringify({name:contractName,abi,address: (address && address.address) || address}, null, 2));\" > etc/$(basename $x); done; tput rc; tput el; echo 'done! :)'; };f","compile":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && yarn compile && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","deploy":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && truffle migrate --reset && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","docs":"documentation readme src/index.js --section=API","copy-docs":"rimraf ../../docs/sdk && mkdir ../../docs/sdk && cp docs/index.html ../../docs/sdk && cp README.md ../../docs/sdk","prebuild":"rimraf lib && rimraf main","prepack":"npm -s run build","test":"nyc ava main/index.test.js","coverage":"nyc report --reporter=lcov","lcov-badge":"lcov-badge -o coverage.svg coverage/lcov.info && sed -i .bak 's/3\"/0\"/g' coverage.svg && rm *.bak"},"dependencies":{"@babel/runtime":"^7.4.3","cross-env":"^5.2.0","ethereumjs-tx":"^1.3.4","ethjs":"^0.4.0","ethjs-abi":"^0.2.1","ethjs-ens":"^2.0.1","ethjs-provider-signer":"^0.1.4","ethjs-query":"^0.3.1"},"devDependencies":{"@babel/cli":"^7.4.3","@babel/core":"^7.4.3","@babel/plugin-proposal-object-rest-spread":"^7.4.3","@babel/plugin-transform-flow-strip-types":"^7.4.0","@babel/plugin-transform-modules-commonjs":"^7.4.3","@babel/plugin-transform-runtime":"^7.4.3","@babel/preset-env":"^7.4.3","@babel/register":"^7.4.0","ava":"1.4.1","documentation":"10.0.0","lcov-badge":"^1.0.4","npm-run-all":"^4.1.5","nyc":"^14.0.0","protocol":"git+https://github.com/livepeer/protocol.git#5af2f3291ac5f76ecca393e58e53878db4ad22a8","rimraf":"^2.6.3","yup":"0.27.0"},"homepage":"https://livepeer.org","repository":{"type":"git","url":"git+https://github.com/livepeer/livepeerjs.git"},"bugs":{"url":"https://github.com/livepeer/livepeerjs/issues"},"_id":"@adamsoffer/livepeer-sdk@1.0.0-streamflow-alpha.20","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"ads1018","email":"ads1018@gmail.com"},"dist":{"integrity":"sha512-hCPvLNTemRVsBVfVMy8408U7gwexg1HYlWbWuiopxvacJTTwgqLDCaVW/q6fo0oMBtE5EM86zK7DpocQTHOlPA==","shasum":"806c039b1e574cf303db6fff1069b1ea244f877a","tarball":"https://registry.npmjs.org/@adamsoffer/livepeer-sdk/-/livepeer-sdk-1.0.0-streamflow-alpha.20.tgz","fileCount":91,"unpackedSize":1495529,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd9SNWCRA9TVsSAnZWagAAxgkP/RsyBRisy1rjEvf1U6am\nJlrwOcIPOpZ4MKFTJAuSfiLjVM/YEw5CHUdMRLxDRJ+Fp953gYfzuF0PdTej\n/a7AG+/hE2qptXS3/bT/Q2mu8dCzQaxxbmwWx8hUVcXXP3xC9ux4RVccz5v+\nyCYGl1VcpJVTiWg9sMIHYV/sz577D5abv9gtzCK2r8GUU90UBeLQC+PMnP3p\nuv+Et9gHfp68y1UV2SIsFC10wZIYKpn6waZRWlXmRrTTeeRQmN327Ya2PqK4\njctGc+pnD5bmebObapA42t+3v/9dHuV9IS5+IrIXz9atMn7ubtYtxvpdE686\nhFUILKXXjX+RQRVktGsxHVRXb0qNibPtW2D36LduB0YiVEZpR/Tmz/OuvNK1\nNrmszSfozJgnoQpCsjIYTe9oL5AjSFo3R+bSjRSJiDWUQ5sVmnowr2qjByK9\nFSW7XYLI4Lx0t+upBtnBRKTTyYzngAnsycmiSBLCQ3Me/rJ6tiIEBl++mAOI\nocN6803IoXOWkRP9FKaGFQhuej6mcmn7YMbqYkFZlb02z+BgETRxScNjOb5L\n1S+P0bd9o0lziHySI0/sfQarB00DlBSpL4vg2/ZjNPSF3sN/hYLW0nTsCJpK\n7A0scwg5kbxsbTvze0b6a1LsnT24sF1nNWSyg0q0F07uv0moWn8LaVhtkXPc\nZCQ7\r\n=sVz5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD02l+UFRB+Uywbcxz+wRlmke71PlSULM0iV5AhWohKqgIhAJ0oZFxt55hlDG6HIydLWRgxAZ2DDRJSdBnQYxr8vm4S"}]},"maintainers":[{"name":"ads1018","email":"ads1018@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/livepeer-sdk_1.0.0-streamflow-alpha.20_1576346454004_0.702311594179067"},"_hasShrinkwrap":false},"1.0.0-streamflow-alpha.21":{"name":"@adamsoffer/livepeer-sdk","description":"A module for interacting with Livepeer's smart contracts. The SDK is a core dependency of most LivepeerJS packages.","version":"1.0.0-streamflow-alpha.21","license":"MIT","main":"main/index.js","module":"lib/index.js","scripts":{"build":"run-p --npm-path npm build-main build-module","build-main":"cross-env NODE_ENV=production babel src --out-dir main --ignore spec.js,test.js --plugins=@babel/plugin-transform-modules-commonjs --source-maps inline","build-module":"cross-env NODE_ENV=production babel src --out-dir lib --ignore spec.js,test.js --source-maps inline","dev":"run-p \"build-** -- --watch\"","copy-etc":"f(){ rimraf etc; mkdir etc; printf 'Importing truffle artifacts...'; tput sc; for x in $@/*.json; do tput rc; tput el; echo \"$(basename $x)\"; node -e \"const {contractName,abi,networks}=require('$x');const [address]=Object.values(networks).sort((a, b) => b.updated_at - a.updated_at);console.log(JSON.stringify({name:contractName,abi,address: (address && address.address) || address}, null, 2));\" > etc/$(basename $x); done; tput rc; tput el; echo 'done! :)'; };f","compile":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && yarn compile && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","deploy":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && truffle migrate --reset && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","docs":"documentation readme src/index.js --section=API","copy-docs":"rimraf ../../docs/sdk && mkdir ../../docs/sdk && cp docs/index.html ../../docs/sdk && cp README.md ../../docs/sdk","prebuild":"rimraf lib && rimraf main","prepack":"npm -s run build","test":"nyc ava main/index.test.js","coverage":"nyc report --reporter=lcov","lcov-badge":"lcov-badge -o coverage.svg coverage/lcov.info && sed -i .bak 's/3\"/0\"/g' coverage.svg && rm *.bak"},"dependencies":{"@babel/runtime":"^7.4.3","cross-env":"^5.2.0","ethereumjs-tx":"^1.3.4","ethjs":"^0.4.0","ethjs-abi":"^0.2.1","ethjs-ens":"^2.0.1","ethjs-provider-signer":"^0.1.4","ethjs-query":"^0.3.1"},"devDependencies":{"@babel/cli":"^7.4.3","@babel/core":"^7.4.3","@babel/plugin-proposal-object-rest-spread":"^7.4.3","@babel/plugin-transform-flow-strip-types":"^7.4.0","@babel/plugin-transform-modules-commonjs":"^7.4.3","@babel/plugin-transform-runtime":"^7.4.3","@babel/preset-env":"^7.4.3","@babel/register":"^7.4.0","ava":"1.4.1","documentation":"10.0.0","lcov-badge":"^1.0.4","npm-run-all":"^4.1.5","nyc":"^14.0.0","protocol":"git+https://github.com/livepeer/protocol.git#5af2f3291ac5f76ecca393e58e53878db4ad22a8","rimraf":"^2.6.3","yup":"0.27.0"},"homepage":"https://livepeer.org","repository":{"type":"git","url":"git+https://github.com/livepeer/livepeerjs.git"},"bugs":{"url":"https://github.com/livepeer/livepeerjs/issues"},"_id":"@adamsoffer/livepeer-sdk@1.0.0-streamflow-alpha.21","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"ads1018","email":"ads1018@gmail.com"},"dist":{"integrity":"sha512-E9WoOvV6RHSmo/aHYGrpVJSrjknEsQz9HvcVkzEqGssCeUE34zeNXTAKkrmLgpQiT2aPBPmNLzGNn7oeE5fCVg==","shasum":"084e97a8314503381ffa581324128c3e31a4b17d","tarball":"https://registry.npmjs.org/@adamsoffer/livepeer-sdk/-/livepeer-sdk-1.0.0-streamflow-alpha.21.tgz","fileCount":91,"unpackedSize":1403521,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeIKcUCRA9TVsSAnZWagAA0QoQAJr/cMmc65yfgA4uurLS\n6Wr0kDZ75UBW/IOmmK2n/wGva8YsUhSpbE6CGNDocfoesLIGXfSePh1HKn0i\n7f/mI6RFcN2JKdXUe7Z4HBjD2uEEv6G1zVWOgfC2iIJkOnXrBwL92aMlFa5D\nfCsfvKE4DKAdvAiUVxHeJpaxSvEzYC79vkIHuZg86UX9iJSTdgvnMkZ3X7HQ\n20pldOA/jtwxUPSUw6WrDF6lqVKCDXdbgidjo1pBWUSYE6LJg3SyfWLwSdmq\nNofb8dFXdBdYf/4a58/HsJtCn8+5Ta2/FzCpxUiQt0y+8ACGjaeyPfD7E9ED\nURZhdOTGjaWfTa3FCGj8yZo91zNhdkZbAAKgYC2HhSZGPgdc6Js9k5+wtBY1\nPiyD+r6tS2IELtC84xkOTEBAaXsgP+tR3FerqG2OTOVhzJO3dPfb7PjeOwHW\nEtXtOvRYsa+iKJJHcmgA+sFP+dhRyG7xoDaROoDgJdz+fkNho/iPfEuLaYYp\nv2kJwusru/1M1BVQ2LX+sTnP+MrpX1nQEUx8aoXQMoka0yLJDGPyPLYUS8II\nWPopvXPwuly0ezIby8PqrbHJXO+b/WZJX2xoCZJb7iFSxiED1rIAKzyr9YBS\npL8AYK7tbxhmCyLpUKWtyZUIuOkUd15viTXb9yY38Yl7lVske2mUlxrC4sf4\nfSUp\r\n=VOeu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICGvr1eJUgNf+G5OWE6y0+dsA5bwtqJ3eMaLxBfhShUaAiEAtszv7MaLDHz2jBChmYXzqKIk52E6vDZ52NVCaekU3mk="}]},"maintainers":[{"name":"ads1018","email":"ads1018@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/livepeer-sdk_1.0.0-streamflow-alpha.21_1579198228272_0.31839191279327395"},"_hasShrinkwrap":false},"1.0.0-streamflow-alpha.22":{"name":"@adamsoffer/livepeer-sdk","description":"A module for interacting with Livepeer's smart contracts. The SDK is a core dependency of most LivepeerJS packages.","version":"1.0.0-streamflow-alpha.22","license":"MIT","main":"main/index.js","module":"lib/index.js","scripts":{"build":"run-p --npm-path npm build-main build-module","build-main":"cross-env NODE_ENV=production babel src --out-dir main --ignore spec.js,test.js --plugins=@babel/plugin-transform-modules-commonjs --source-maps inline","build-module":"cross-env NODE_ENV=production babel src --out-dir lib --ignore spec.js,test.js --source-maps inline","dev":"run-p \"build-** -- --watch\"","copy-etc":"f(){ rimraf etc; mkdir etc; printf 'Importing truffle artifacts...'; tput sc; for x in $@/*.json; do tput rc; tput el; echo \"$(basename $x)\"; node -e \"const {contractName,abi,networks}=require('$x');const [address]=Object.values(networks).sort((a, b) => b.updated_at - a.updated_at);console.log(JSON.stringify({name:contractName,abi,address: (address && address.address) || address}, null, 2));\" > etc/$(basename $x); done; tput rc; tput el; echo 'done! :)'; };f","compile":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && yarn compile && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","deploy":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && truffle migrate --reset && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","docs":"documentation readme src/index.js --section=API","copy-docs":"rimraf ../../docs/sdk && mkdir ../../docs/sdk && cp docs/index.html ../../docs/sdk && cp README.md ../../docs/sdk","prebuild":"rimraf lib && rimraf main","prepack":"npm -s run build","test":"nyc ava main/index.test.js","coverage":"nyc report --reporter=lcov","lcov-badge":"lcov-badge -o coverage.svg coverage/lcov.info && sed -i .bak 's/3\"/0\"/g' coverage.svg && rm *.bak"},"dependencies":{"@babel/runtime":"^7.4.3","cross-env":"^5.2.0","ethereumjs-tx":"^1.3.4","ethjs":"^0.4.0","ethjs-abi":"^0.2.1","ethjs-ens":"^2.0.1","ethjs-provider-signer":"^0.1.4","ethjs-query":"^0.3.1"},"devDependencies":{"@babel/cli":"^7.4.3","@babel/core":"^7.4.3","@babel/plugin-proposal-object-rest-spread":"^7.4.3","@babel/plugin-transform-flow-strip-types":"^7.4.0","@babel/plugin-transform-modules-commonjs":"^7.4.3","@babel/plugin-transform-runtime":"^7.4.3","@babel/preset-env":"^7.4.3","@babel/register":"^7.4.0","ava":"1.4.1","documentation":"10.0.0","lcov-badge":"^1.0.4","npm-run-all":"^4.1.5","nyc":"^14.0.0","protocol":"git+https://github.com/livepeer/protocol.git#5af2f3291ac5f76ecca393e58e53878db4ad22a8","rimraf":"^2.6.3","yup":"0.27.0"},"homepage":"https://livepeer.org","repository":{"type":"git","url":"git+https://github.com/livepeer/livepeerjs.git"},"bugs":{"url":"https://github.com/livepeer/livepeerjs/issues"},"_id":"@adamsoffer/livepeer-sdk@1.0.0-streamflow-alpha.22","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"ads1018","email":"ads1018@gmail.com"},"dist":{"integrity":"sha512-6PLNsZHBwBWMZx8NB8csy8wyuxWX87GVkeU0q9HlV3Bce6LiaRqOxSGTGO1aGWUHuxzclUAUyzWf2kYlpIwCCg==","shasum":"4f66fe757609f7ada7986032ad4d2116acdcbb6c","tarball":"https://registry.npmjs.org/@adamsoffer/livepeer-sdk/-/livepeer-sdk-1.0.0-streamflow-alpha.22.tgz","fileCount":91,"unpackedSize":1403683,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeIKosCRA9TVsSAnZWagAAKtIP/jkEco/eZjOZaIb0hsAL\n5ecBG0E0MzK78YDCMmqopwmSgug6HU7hDKVpx+e5TUP8TnZOLuHt3go1i+Gb\ngAbYNT7+UPe7LLhmV5rLq+O6MLFeM+jbORMvu4AFwLkC/QLIOOSkRcOoRjq+\nr4HH3jhqJi2OXgcyGtKziBP1dO4ZApporkKO7VbuedauRAE4h50xT3/7LleC\nPQsyaT8ykwpT5r0iB9MdV8lNYA/qyX4lbb/WmwPVvfl9W8MAulvu/Kf9YjhJ\n3Bl4HmAMdeCQS8Bx+EAiRNEZ7YrH9UaPq4f1CxgHDgAU3DKfzqxtF1aVDqgC\nKqKagT4xFhOna+wLqtajXodWwajH3xvGuD/pgwF5e9w/OPGx+hW7Cb4bNsw1\nzZ3s9IO0kZoTHYk/fY2VF+l6lL6U5inET+KihflS2iDQH4/InqFSMTfnZKb8\nWj5n1IYU4jxu/gTUuFeVNTOmuiNEPAVW8UfvwY11RiIhfritn6rHNdK43PFc\nCM30cpaL+awgv24irxRtNCt5U3C/LCJLPZeGxVRRvQJnfd2SFBOWxbqp7Ozb\nGuXRa00+cVXXQ7oEi6o5/stKCjmzj2nQloX+uB/iuIcjMz2T9ageCgZYaaLI\neVDqvA16UDbA3Z+UR3iQd0+S3lNMoQsYX7C/CgHRWyO0mOt9eXB+KJnx9fVf\niSTY\r\n=ueT+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC45hRWAOyvw5Ndn4Y6pchKKvYfgm/Tbpx9sSzeSH5ycgIhAJpREywbECaAp2mbBs5j1lx+U+lIfdkWxPX5xjGASMtK"}]},"maintainers":[{"name":"ads1018","email":"ads1018@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/livepeer-sdk_1.0.0-streamflow-alpha.22_1579199019737_0.2717681228298956"},"_hasShrinkwrap":false},"1.0.0-streamflow-alpha.23":{"name":"@adamsoffer/livepeer-sdk","description":"A module for interacting with Livepeer's smart contracts. The SDK is a core dependency of most LivepeerJS packages.","version":"1.0.0-streamflow-alpha.23","license":"MIT","main":"main/index.js","module":"lib/index.js","scripts":{"build":"run-p --npm-path npm build-main build-module","build-main":"cross-env NODE_ENV=production babel src --out-dir main --ignore spec.js,test.js --plugins=@babel/plugin-transform-modules-commonjs --source-maps inline","build-module":"cross-env NODE_ENV=production babel src --out-dir lib --ignore spec.js,test.js --source-maps inline","start":"run-p \"build-** -- --watch\"","copy-etc":"f(){ rimraf etc; mkdir etc; printf 'Importing truffle artifacts...'; tput sc; for x in $@/*.json; do tput rc; tput el; echo \"$(basename $x)\"; node -e \"const {contractName,abi,networks}=require('$x');const [address]=Object.values(networks).sort((a, b) => b.updated_at - a.updated_at);console.log(JSON.stringify({name:contractName,abi,address: (address && address.address) || address}, null, 2));\" > etc/$(basename $x); done; tput rc; tput el; echo 'done! :)'; };f","compile":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && yarn compile && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","deploy":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && truffle migrate --reset && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","docs":"documentation readme src/index.js --section=API","copy-docs":"rimraf ../../docs/sdk && mkdir ../../docs/sdk && cp docs/index.html ../../docs/sdk && cp README.md ../../docs/sdk","prebuild":"rimraf lib && rimraf main","prepack":"npm -s run build","test":"nyc ava main/index.test.js","coverage":"nyc report --reporter=lcov","lcov-badge":"lcov-badge -o coverage.svg coverage/lcov.info && sed -i .bak 's/3\"/0\"/g' coverage.svg && rm *.bak"},"dependencies":{"@babel/runtime":"^7.4.3","cross-env":"^5.2.0","ethereumjs-tx":"^1.3.4","ethjs":"^0.4.0","ethjs-abi":"^0.2.1","ethjs-ens":"^2.0.1","ethjs-provider-signer":"^0.1.4","ethjs-query":"^0.3.1"},"devDependencies":{"@babel/cli":"^7.4.3","@babel/core":"^7.4.3","@babel/plugin-proposal-object-rest-spread":"^7.4.3","@babel/plugin-transform-flow-strip-types":"^7.4.0","@babel/plugin-transform-modules-commonjs":"^7.4.3","@babel/plugin-transform-runtime":"^7.4.3","@babel/preset-env":"^7.4.3","@babel/register":"^7.4.0","ava":"1.4.1","documentation":"10.0.0","lcov-badge":"^1.0.4","npm-run-all":"^4.1.5","nyc":"^14.0.0","protocol":"git+https://github.com/livepeer/protocol.git#65d6eaaa7875ee4f66029eee519f8c3fa9af89da","rimraf":"^2.6.3","yup":"0.27.0"},"homepage":"https://livepeer.org","repository":{"type":"git","url":"git+https://github.com/livepeer/livepeerjs.git"},"bugs":{"url":"https://github.com/livepeer/livepeerjs/issues"},"_id":"@adamsoffer/livepeer-sdk@1.0.0-streamflow-alpha.23","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"ads1018","email":"ads1018@gmail.com"},"dist":{"integrity":"sha512-taSEDWhvICnfp/uHPc0rZ3vtDGCI4dNoqmq19++3UIsOJ8ccx0vFtxN7izRRgf8QkKkQ8KOPGjmytPlkL1Co2w==","shasum":"3ee9298341b6eef2feea7a9a9d07d04534f8a3c0","tarball":"https://registry.npmjs.org/@adamsoffer/livepeer-sdk/-/livepeer-sdk-1.0.0-streamflow-alpha.23.tgz","fileCount":91,"unpackedSize":1397622,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeIK5rCRA9TVsSAnZWagAAogwP/3HZxxP6nhMkHa6yoLJt\n7hs0jtx4bpFyKmJibHSTVmxYMK0zYQfbhT7g/R2G8QeFJ7r9HNWI5gO/SD7X\nYVJ3dEbh85olmehdY3qjghb3Zheqmb53HODxDsPUDx10pEe2I+DaXLPdwYL7\nye8dDm6ZeJpGnn+shdrsFropzedAMKfH/MRaZkWX3ALOSdZLIMKOyR8m7kKH\nIPZIkmgvYnHDaa5cwlDttlIE6+Wm0Kr5ww/EKmoQTvzJGPTiKKrwhfKTaEHe\nRdAYtrSTRwVLe0JYF1B5D/ouhg7Tirrz2A9V3xs/snd3d6tlg5OW++oLn2Eh\nCYA1zXcPzQAUGnS7yvAEZgEFtYH5zqkxeN0aEriWiUIaE9rLW/agqTRqnz8t\nsyQj0k/C2+ciefIb4Hf4ro4undvR23aVp2wo1BCj2GF+/KFtLUZNCGrAiZqZ\nebFWAR5uOIVwHePsKGY7SLzVj3B6xptR+ILMbRXLhSNOI50vZc43HmnKH8mZ\nFpU+GgauejNSlCMW0Koj+91ZaCfOdSeKLnRT08RVl0RxJJ53Dt/3Wk1IRdRX\nAdxTFT4hWqbyx20gXSMGY2gfE1M0Bv8yGPMVDjNB/1OuTf1cru7Ipe5pS7op\nWDRz3QUJqkciR8Y6P8+6u53KnFRVSB5+HpgSPYg05Eg+crUu77VT2RTnIxbk\n1xe7\r\n=0A4j\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwLvfboeoxcXDZL02TpuuMQFW8wQkUdDAOPiPQ597r7gIgKcSYuS5wHHuSC8XS6AfP1j3YlbKF+TwmlgCI28I7bgU="}]},"maintainers":[{"name":"ads1018","email":"ads1018@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/livepeer-sdk_1.0.0-streamflow-alpha.23_1579200106780_0.565526657775159"},"_hasShrinkwrap":false},"1.0.0-streamflow-alpha.24":{"name":"@adamsoffer/livepeer-sdk","description":"A module for interacting with Livepeer's smart contracts. The SDK is a core dependency of most LivepeerJS packages.","version":"1.0.0-streamflow-alpha.24","license":"MIT","main":"main/index.js","module":"lib/index.js","scripts":{"build":"run-p --npm-path npm build-main build-module","build-main":"cross-env NODE_ENV=production babel src --out-dir main --ignore spec.js,test.js --plugins=@babel/plugin-transform-modules-commonjs --source-maps inline","build-module":"cross-env NODE_ENV=production babel src --out-dir lib --ignore spec.js,test.js --source-maps inline","start":"run-p \"build-** -- --watch\"","copy-etc":"f(){ rimraf etc; mkdir etc; printf 'Importing truffle artifacts...'; tput sc; for x in $@/*.json; do tput rc; tput el; echo \"$(basename $x)\"; node -e \"const {contractName,abi,networks}=require('$x');const [address]=Object.values(networks).sort((a, b) => b.updated_at - a.updated_at);console.log(JSON.stringify({name:contractName,abi,address: (address && address.address) || address}, null, 2));\" > etc/$(basename $x); done; tput rc; tput el; echo 'done! :)'; };f","compile":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && yarn compile && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","deploy":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && truffle migrate --reset && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","docs":"documentation readme src/index.js --section=API","copy-docs":"rimraf ../../docs/sdk && mkdir ../../docs/sdk && cp docs/index.html ../../docs/sdk && cp README.md ../../docs/sdk","prebuild":"rimraf lib && rimraf main","prepack":"npm -s run build","test":"nyc ava main/index.test.js","coverage":"nyc report --reporter=lcov","lcov-badge":"lcov-badge -o coverage.svg coverage/lcov.info && sed -i .bak 's/3\"/0\"/g' coverage.svg && rm *.bak"},"dependencies":{"@babel/runtime":"^7.4.3","cross-env":"^5.2.0","ethereumjs-tx":"^1.3.4","ethjs":"^0.4.0","ethjs-abi":"^0.2.1","ethjs-ens":"^2.0.1","ethjs-provider-signer":"^0.1.4","ethjs-query":"^0.3.1"},"devDependencies":{"@babel/cli":"^7.4.3","@babel/core":"^7.4.3","@babel/plugin-proposal-object-rest-spread":"^7.4.3","@babel/plugin-transform-flow-strip-types":"^7.4.0","@babel/plugin-transform-modules-commonjs":"^7.4.3","@babel/plugin-transform-runtime":"^7.4.3","@babel/preset-env":"^7.4.3","@babel/register":"^7.4.0","ava":"1.4.1","documentation":"10.0.0","lcov-badge":"^1.0.4","npm-run-all":"^4.1.5","nyc":"^14.0.0","protocol":"git+https://github.com/livepeer/protocol.git#65d6eaaa7875ee4f66029eee519f8c3fa9af89da","rimraf":"^2.6.3","yup":"0.27.0"},"homepage":"https://livepeer.org","repository":{"type":"git","url":"git+https://github.com/livepeer/livepeerjs.git"},"bugs":{"url":"https://github.com/livepeer/livepeerjs/issues"},"_id":"@adamsoffer/livepeer-sdk@1.0.0-streamflow-alpha.24","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"ads1018","email":"ads1018@gmail.com"},"dist":{"integrity":"sha512-LiLYvvoQxFSWxylURqx6R4odcC9fvE75a8QuZE52Ruc2BghaHdkdfJRGTFOqxzh4lbg9336yP1+v7L/bewnJfA==","shasum":"cc3262819cc3754e3efdc2506ee0139932a18d56","tarball":"https://registry.npmjs.org/@adamsoffer/livepeer-sdk/-/livepeer-sdk-1.0.0-streamflow-alpha.24.tgz","fileCount":91,"unpackedSize":1397622,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeILvuCRA9TVsSAnZWagAAwQQP/0tsTR0NhEF3xIobvZGR\nrcopgB8SiH4XWiL+8QxwXC/3ZfQSnslMeHEtyTcD7ROKr4ykzXHOSH6St61s\nK2fYVvIMw6YoeoWCVgan5514z/hPe3avBvFwredk4uRrQlho2N7INU8LMp1v\nSu/TzrAvJZ4p9URQ2YVM+szJxzzfe8tXhAUksMZuW9MCWnUVFvFwq41RFiN7\nUoz3yOQawfmTBuaHK+xWU1mUydp2n2m1TDuN2aLCy+e5D7V1klND5/dGBf4r\npFDSkT729XzHQEFZyrxMn0cyMZiZifaDzrJy/dyHauN2yuiROL4VhmiesaRE\nGM4Mvqk7Pk1AvevIJF+LJjQdutewB1PHQObp4GsPe71B+aBueqaYhmzq+1Ui\nV7B31aDXtyuCTX1PY/F1jIS+VX9ML5xG3EM8GwPHa6XT9pxgNqyX4oZ1Ikjk\n9CnXd/8YAyvo9T8IMUw12wCjMjlZMF5n86cLdLCfSNfKgD7y6HWJDdokDaSs\nYkUAcxgxcJwonasEdwjobhld4EuP1jKlBc8bUhV/oLDZqzsz4Z/pXXEJreVB\nMwK2MGtfDTSkCXartz/tUBpcutDvkbO1H8J61V4TXaFF8CJisHjtG9Xxls9u\ntQqs28/hw4bOUR3vLhvnHGznYe65esRrZwklEHEdcOh3wnt8+EbGJ2tQiVPa\n/rSe\r\n=1gw4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCEoRJNDxIU/wFlQi1IlRRwIHEBnlEOS7QxHfw9l4tyJAIgTkguHFT94dNRmGG07jrHw591efYTgoEW4fRAlst5ej0="}]},"maintainers":[{"name":"ads1018","email":"ads1018@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/livepeer-sdk_1.0.0-streamflow-alpha.24_1579203565904_0.9721467942121158"},"_hasShrinkwrap":false},"1.0.0-streamflow-alpha.25":{"name":"@adamsoffer/livepeer-sdk","description":"A module for interacting with Livepeer's smart contracts. The SDK is a core dependency of most LivepeerJS packages.","version":"1.0.0-streamflow-alpha.25","license":"MIT","main":"main/index.js","module":"lib/index.js","scripts":{"build":"run-p --npm-path npm build-main build-module","build-main":"cross-env NODE_ENV=production babel src --out-dir main --ignore spec.js,test.js --plugins=@babel/plugin-transform-modules-commonjs --source-maps inline","build-module":"cross-env NODE_ENV=production babel src --out-dir lib --ignore spec.js,test.js --source-maps inline","start":"run-p \"build-** -- --watch\"","copy-etc":"f(){ rimraf etc; mkdir etc; printf 'Importing truffle artifacts...'; tput sc; for x in $@/*.json; do tput rc; tput el; echo \"$(basename $x)\"; node -e \"const {contractName,abi,networks}=require('$x');const [address]=Object.values(networks).sort((a, b) => b.updated_at - a.updated_at);console.log(JSON.stringify({name:contractName,abi,address: (address && address.address) || address}, null, 2));\" > etc/$(basename $x); done; tput rc; tput el; echo 'done! :)'; };f","compile":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && yarn compile && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","deploy":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && truffle migrate --reset && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","docs":"documentation readme src/index.js --section=API","copy-docs":"rimraf ../../docs/sdk && mkdir ../../docs/sdk && cp docs/index.html ../../docs/sdk && cp README.md ../../docs/sdk","prebuild":"rimraf lib && rimraf main","prepack":"npm -s run build","test":"nyc ava main/index.test.js","coverage":"nyc report --reporter=lcov","lcov-badge":"lcov-badge -o coverage.svg coverage/lcov.info && sed -i .bak 's/3\"/0\"/g' coverage.svg && rm *.bak"},"dependencies":{"@babel/runtime":"^7.4.3","cross-env":"^5.2.0","ethereumjs-tx":"^1.3.4","ethjs":"^0.4.0","ethjs-abi":"^0.2.1","ethjs-ens":"^2.0.1","ethjs-provider-signer":"^0.1.4","ethjs-query":"^0.3.1"},"devDependencies":{"@babel/cli":"^7.4.3","@babel/core":"^7.4.3","@babel/plugin-proposal-object-rest-spread":"^7.4.3","@babel/plugin-transform-flow-strip-types":"^7.4.0","@babel/plugin-transform-modules-commonjs":"^7.4.3","@babel/plugin-transform-runtime":"^7.4.3","@babel/preset-env":"^7.4.3","@babel/register":"^7.4.0","ava":"1.4.1","documentation":"10.0.0","lcov-badge":"^1.0.4","npm-run-all":"^4.1.5","nyc":"^14.0.0","protocol":"git+https://github.com/livepeer/protocol.git#65d6eaaa7875ee4f66029eee519f8c3fa9af89da","rimraf":"^2.6.3","yup":"0.27.0"},"homepage":"https://livepeer.org","repository":{"type":"git","url":"git+https://github.com/livepeer/livepeerjs.git"},"bugs":{"url":"https://github.com/livepeer/livepeerjs/issues"},"_id":"@adamsoffer/livepeer-sdk@1.0.0-streamflow-alpha.25","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"ads1018","email":"ads1018@gmail.com"},"dist":{"integrity":"sha512-XK0RUyxdEnbzXjxEQT0Xn5ufd5E9F9g2OeKOvAf4TNUJdzceJJSnhMNvV5+96o0U7rmuWX02sVS1zNIHvhYccA==","shasum":"15eb36846808dc6a507d1375281bcf212932338f","tarball":"https://registry.npmjs.org/@adamsoffer/livepeer-sdk/-/livepeer-sdk-1.0.0-streamflow-alpha.25.tgz","fileCount":91,"unpackedSize":1397622,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeIL1ECRA9TVsSAnZWagAAtcsP/25xg8zrRzibdbyrhj93\nKDY+Y6roHs0nkh/05lxMIDY3z09Q9zTSCqiIVHH4rojySWbxGqfiN6IQC0yq\n3RlLC4SNL/E39Sy4JMRMSXsoMN6mctaBWuDL/fe0gU8hDh1/kb6RSSB89wog\npxSFs3wHcDMSYIZyjS5STMTB229qcAsWouw0TBJQKv5jaDavo6L8gFcXj+p5\n4AUKJdSvDP9XAQf9w0tTLYoNSKraGPruaZl09nawGIJc7QVlHs7kk3s35fSo\n04RRF/DrsswNRSuXhIPoWUpMy4goUWV38eExp8rv3CMBRiOUu8TVLOfBVATN\nJafsxFiZ00CL7ldRyqr/BFqqSl/optLXvOuIAgizdwkUS4yENOn+02a06Zt2\nD8FYJ8PvNr5M1EJyxXVY3G2k6euU3Y22XA4eFn1R8cBollBgfmIQHcG/1XkB\nTkr/5rcTnQ1TeVBDzb3os76Oeb4qYeVoDPcMIHOuOZDa3dWzLPDYKR60uoOK\n+psCfjNDq+zleWFizLYyBQ5BTR06fePvmMcrgnzcjS0DJjUlbWPmxQvDOjtk\n0UhGJrQy0z27Zx2G93/CE4+IxAckPsjbtrcleyHvfhGJAdazlHpeN4gPnSbm\ng9rLvUDmaLpkSUnqvtLp7zYYZVI84r/Jxs0SPqQ43HIzu4ZOEk7R0HTXtwWQ\nHnDp\r\n=4Yeo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF0nfhL/uWIIBlB0LIv/iOvwWgI9hdMRY5x/lRrbE2tKAiBSAfK+DKWAsvDTpzHyto5LXloVOG0GgAd9mV3r1SzJAw=="}]},"maintainers":[{"name":"ads1018","email":"ads1018@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/livepeer-sdk_1.0.0-streamflow-alpha.25_1579203907901_0.771612264557048"},"_hasShrinkwrap":false},"1.0.0-streamflow-alpha.26":{"name":"@adamsoffer/livepeer-sdk","description":"A module for interacting with Livepeer's smart contracts. The SDK is a core dependency of most LivepeerJS packages.","version":"1.0.0-streamflow-alpha.26","license":"MIT","main":"main/index.js","module":"lib/index.js","scripts":{"build":"run-p --npm-path npm build-main build-module","build-main":"cross-env NODE_ENV=production babel src --out-dir main --ignore spec.js,test.js --plugins=@babel/plugin-transform-modules-commonjs --source-maps inline","build-module":"cross-env NODE_ENV=production babel src --out-dir lib --ignore spec.js,test.js --source-maps inline","start":"run-p \"build-** -- --watch\"","copy-etc":"f(){ rimraf etc; mkdir etc; printf 'Importing truffle artifacts...'; tput sc; for x in $@/*.json; do tput rc; tput el; echo \"$(basename $x)\"; node -e \"const {contractName,abi,networks}=require('$x');const [address]=Object.values(networks).sort((a, b) => b.updated_at - a.updated_at);console.log(JSON.stringify({name:contractName,abi,address: (address && address.address) || address}, null, 2));\" > etc/$(basename $x); done; tput rc; tput el; echo 'done! :)'; };f","compile":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && yarn compile && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","deploy":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && truffle migrate --reset && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","docs":"documentation readme src/index.js --section=API","copy-docs":"rimraf ../../docs/sdk && mkdir ../../docs/sdk && cp docs/index.html ../../docs/sdk && cp README.md ../../docs/sdk","prebuild":"rimraf lib && rimraf main","prepack":"npm -s run build","test":"nyc ava main/index.test.js","coverage":"nyc report --reporter=lcov","lcov-badge":"lcov-badge -o coverage.svg coverage/lcov.info && sed -i .bak 's/3\"/0\"/g' coverage.svg && rm *.bak"},"dependencies":{"@babel/runtime":"^7.4.3","cross-env":"^5.2.0","ethereumjs-tx":"^1.3.4","ethjs":"^0.4.0","ethjs-abi":"^0.2.1","ethjs-ens":"^2.0.1","ethjs-provider-signer":"^0.1.4","ethjs-query":"^0.3.1"},"devDependencies":{"@babel/cli":"^7.4.3","@babel/core":"^7.4.3","@babel/plugin-proposal-object-rest-spread":"^7.4.3","@babel/plugin-transform-flow-strip-types":"^7.4.0","@babel/plugin-transform-modules-commonjs":"^7.4.3","@babel/plugin-transform-runtime":"^7.4.3","@babel/preset-env":"^7.4.3","@babel/register":"^7.4.0","ava":"1.4.1","documentation":"10.0.0","lcov-badge":"^1.0.4","npm-run-all":"^4.1.5","nyc":"^14.0.0","protocol":"git+https://github.com/livepeer/protocol.git#65d6eaaa7875ee4f66029eee519f8c3fa9af89da","rimraf":"^2.6.3","yup":"0.27.0"},"homepage":"https://livepeer.org","repository":{"type":"git","url":"git+https://github.com/livepeer/livepeerjs.git"},"bugs":{"url":"https://github.com/livepeer/livepeerjs/issues"},"_id":"@adamsoffer/livepeer-sdk@1.0.0-streamflow-alpha.26","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"ads1018","email":"ads1018@gmail.com"},"dist":{"integrity":"sha512-g5J6HsVzDqDTmmyo54fczokNkboyf6oV1gyugNUS7abqG+AQs8lqlL33ZsTbZsQNMSbYW0jgoBmCvXgTY5k5pQ==","shasum":"bb7f3c57131f9c6ac0e2da19226b889a07e1eadb","tarball":"https://registry.npmjs.org/@adamsoffer/livepeer-sdk/-/livepeer-sdk-1.0.0-streamflow-alpha.26.tgz","fileCount":93,"unpackedSize":1440663,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJePtzECRA9TVsSAnZWagAA4sUP/2VRdnkqi8a5bZJu8WKx\n7bDD4RgNkNgNbz47n1hAbJEdrTC2PZjHp3S6xy4Zt2NmAR3EV8EIUVe/aDjg\no3fUFzNEmFT88cd37rD15nUdziylC5T/DIn5i4z5Z5gHVka9A3w82v/xKpAJ\nhQ+fHpEcLToIjvRGm3ETuijCtWhVMAdAHe3ANPyiYSdLhKgTpD26AqeQRqaB\nRrO0HVGnK50ZQg6ZEERtqQCnU9f8yemecC1TM2DgEBe4JCQH6ospqbwr497N\nyUDiVcE++o2Y/vahSLHuyRttPZtT+n9zshYSsrTs28YrZhlAx3ZVfyr+c5d5\n1SHtK2LxFWdsMVBbKd8siaQY9I2tftcW1KrZynViCiVLyfDh/AWxnfIBcUM3\npPN+mlHKQVmmVdPsKAjo+Ahx2UUe5cLmdvy0+bTP+rzF8p+GtSNwEhkK/REj\n5EDaUvqayyPulVBFNFMDhkfp4BoyYUxIgS4dnXY/u3nrzL7Nm6qVtv+ZvR9n\n+xRAhlZfjhidWWPgpgbi5MzeKSmmZ+wqSjOjDGX/4Q0UBsL0jzhXmvmUlnBu\nOKoubkGL+X7PY0ev06W3NBuYlB6u6V6uJ32kqVmT+iNZLreKjgBkfXH3/hW0\nqZ5PSN3V46Ru2I+R2tUc2NRcCoucvVtnxFw6fVk83IPbukqfmUhQ96ts3t3k\nMjXl\r\n=1VoC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHDMnJV8Lp3k2igRWi60KoNpqyCFQa18pnlCmIfRVwMwIgFi72t89oMo7goschqepSrMYTtc5sJZTvh92vhtNM2Hc="}]},"maintainers":[{"name":"ads1018","email":"ads1018@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/livepeer-sdk_1.0.0-streamflow-alpha.26_1581178051646_0.41116956735515187"},"_hasShrinkwrap":false},"1.0.1-alpha.2":{"name":"@adamsoffer/livepeer-sdk","description":"A module for interacting with Livepeer's smart contracts. The SDK is a core dependency of most LivepeerJS packages.","version":"1.0.1-alpha.2","license":"MIT","main":"main/index.js","module":"lib/index.js","scripts":{"build":"run-p --npm-path npm build-main build-module","build-main":"cross-env NODE_ENV=production babel src --out-dir main --ignore spec.js,test.js --plugins=@babel/plugin-transform-modules-commonjs --source-maps inline","build-module":"cross-env NODE_ENV=production babel src --out-dir lib --ignore spec.js,test.js --source-maps inline","start":"run-p \"build-** -- --watch\"","copy-etc":"f(){ rimraf etc; mkdir etc; printf 'Importing truffle artifacts...'; tput sc; for x in $@/*.json; do tput rc; tput el; echo \"$(basename $x)\"; node -e \"const {contractName,abi,networks}=require('$x');const [address]=Object.values(networks).sort((a, b) => b.updated_at - a.updated_at);console.log(JSON.stringify({name:contractName,abi,address: (address && address.address) || address}, null, 2));\" > etc/$(basename $x); done; tput rc; tput el; echo 'done! :)'; };f","compile":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && yarn compile && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","deploy":"pushd ../../node_modules/protocol && rimraf build && yarn && truffle version && truffle migrate --reset && popd && yarn copy-etc ../../node_modules/protocol/build/contracts","docs":"documentation readme src/index.js --section=API","copy-docs":"rimraf ../../docs/sdk && mkdir ../../docs/sdk && cp docs/index.html ../../docs/sdk && cp README.md ../../docs/sdk","prebuild":"rimraf lib && rimraf main","prepack":"npm -s run build","test":"nyc ava main/index.test.js","coverage":"nyc report --reporter=lcov","lcov-badge":"lcov-badge -o coverage.svg coverage/lcov.info && sed -i .bak 's/3\"/0\"/g' coverage.svg && rm *.bak"},"dependencies":{"@babel/runtime":"^7.4.3","cross-env":"^5.2.0","ethereumjs-tx":"^1.3.4","ethjs":"^0.4.0","ethjs-abi":"^0.2.1","ethjs-ens":"^2.0.1","ethjs-provider-signer":"^0.1.4","ethjs-query":"^0.3.1"},"devDependencies":{"@babel/cli":"^7.4.3","@babel/core":"^7.4.3","@babel/plugin-proposal-object-rest-spread":"^7.4.3","@babel/plugin-transform-flow-strip-types":"^7.4.0","@babel/plugin-transform-modules-commonjs":"^7.4.3","@babel/plugin-transform-runtime":"^7.4.3","@babel/preset-env":"^7.4.3","@babel/register":"^7.4.0","ava":"1.4.1","documentation":"10.0.0","lcov-badge":"^1.0.4","npm-run-all":"^4.1.5","nyc":"^14.0.0","protocol":"git+https://github.com/livepeer/protocol.git#d8e3523e3779a7f339b94159ad5d36ce428799cc","rimraf":"^2.6.3","yup":"0.27.0"},"homepage":"https://livepeer.org","repository":{"type":"git","url":"git+https://github.com/livepeer/livepeerjs.git"},"bugs":{"url":"https://github.com/livepeer/livepeerjs/issues"},"_id":"@adamsoffer/livepeer-sdk@1.0.1-alpha.2","_nodeVersion":"14.15.5","_npmVersion":"7.6.0","dist":{"integrity":"sha512-bO42p0PfvaW6COhBDireL4XS8qsWtfupzBphRVm+n625k/1Jj/RONZtRQSllRxLdaraCzLEu7J9w2iWpj6Uhpw==","shasum":"0a7861ba05f3c1fa6d6ef72d24a3d64da2811379","tarball":"https://registry.npmjs.org/@adamsoffer/livepeer-sdk/-/livepeer-sdk-1.0.1-alpha.2.tgz","fileCount":105,"unpackedSize":1595784,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhy747CRA9TVsSAnZWagAAxHwP/0qefc159UHYJ3COmFCy\nYLy5Z1e2k99mjJZEiNYJzikOaPmlUHW6fpUghHFnHDoyxfub8v4bw9k7BZdx\nO22OwUvKHiKKHvYZtuQv8vrrze5AULuHTG4T3l+Xp88bA6isD27rWfx5MDpC\nZBiCRqYPIzbWAjv0z+DommtD1IC5IHA+JUzNsVZG+mFH3BjGbE3tYWZBHE+g\n0cii7vAUNIy9kCFprXIeaLDo8jzfr/9rvsiQJoF0vNp2sNHgGYaPXy7Nz4ox\nr39SJYu1Nt/L8kIMUMga78cxvryE3G6r6m66WVJWyfxwi9bFRZRa5a9h9ivK\nQqGZgcaLwJeH5n/y0mqwih9WZFpT/NLxrsxKBjCYpZUCTl/Fh1VYukAZhUrh\nptfYpSJ4eLTZKp6wsFjfUpYNZnuQ7ME/HN594G8Mg82wSBfhQ91D38hF1+UO\nHzbdLhQBxihusNinUPEhhg+CoO2sE4rSiuTovpgrmnSXAIZn5t9FhASMzIug\nzHSVbzWRiDHDqVv3HMB5aNYCWLzI0Va+ny4P3FhVI2Y5GlLIIGU9VF3H5Ytp\nwYHX9+FEfPAof7IfPqxuS/cwCi6iSedL1gtf+7fyyGTGaMrfXkIJRvsoTnDw\nN2cYbG/J8NlCplzIcQE9e8VQi14ryaxetzBArvBkOAltk721NzPMFW2XJVfg\nYYQU\r\n=cZwK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCK+ZUc2OFgeTqwYKKnpal+AljY1vGX4mORB43r87BoxwIgLh15sIAJ70Gyssv5Xea/3OjIkjrAlulsxeMKVrboS2A="}]},"_npmUser":{"name":"ads1018","email":"ads1018@gmail.com"},"directories":{},"maintainers":[{"name":"ads1018","email":"ads1018@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/livepeer-sdk_1.0.1-alpha.2_1640742458955_0.4743654587508188"},"_hasShrinkwrap":false}},"time":{"created":"2019-09-08T15:52:36.234Z","1.0.0-alpha.6":"2019-09-08T15:52:36.626Z","modified":"2022-04-04T11:25:39.639Z","1.0.0-alpha.7":"2019-09-09T18:42:57.792Z","1.0.0-alpha.10":"2019-10-03T00:21:47.275Z","1.0.0-alpha.11":"2019-10-03T00:43:07.480Z","1.0.0-alpha.12":"2019-10-03T01:07:30.635Z","1.0.0-alpha.13":"2019-10-03T02:52:09.687Z","1.0.0-alpha.14":"2019-10-03T03:05:48.837Z","1.0.0-alpha.15":"2019-10-03T04:18:51.557Z","1.0.0-alpha.16":"2019-11-03T14:56:42.698Z","1.0.0-streamflow.16":"2019-11-03T14:58:58.011Z","1.0.0-streamflow-alpha.17":"2019-11-04T03:00:27.872Z","1.0.0-streamflow-alpha.18":"2019-11-04T04:37:03.166Z","1.0.0-streamflow-alpha.19":"2019-11-04T05:37:38.743Z","1.0.0-streamflow-alpha.20":"2019-12-14T18:00:54.180Z","1.0.0-streamflow-alpha.21":"2020-01-16T18:10:28.454Z","1.0.0-streamflow-alpha.22":"2020-01-16T18:23:40.135Z","1.0.0-streamflow-alpha.23":"2020-01-16T18:41:46.973Z","1.0.0-streamflow-alpha.24":"2020-01-16T19:39:26.113Z","1.0.0-streamflow-alpha.25":"2020-01-16T19:45:08.182Z","1.0.0-streamflow-alpha.26":"2020-02-08T16:07:31.888Z","1.0.1-alpha.2":"2021-12-29T01:47:39.171Z"},"maintainers":[{"name":"ads1018","email":"ads1018@gmail.com"}],"description":"A module for interacting with Livepeer's smart contracts. The SDK is a core dependency of most LivepeerJS packages.","homepage":"https://livepeer.org","repository":{"type":"git","url":"git+https://github.com/livepeer/livepeerjs.git"},"bugs":{"url":"https://github.com/livepeer/livepeerjs/issues"},"license":"MIT","readme":"# LivepeerJS SDK\n\n[![home](https://img.shields.io/badge/%E2%97%80-home-lightgrey.svg?style=flat-square)](https://github.com/livepeer/livepeerjs#readme)\n[![npm](https://img.shields.io/npm/v/@livepeer/sdk.svg?style=flat-square)](https://www.npmjs.com/package/@livepeer/sdk)\n[![Discord](https://img.shields.io/discord/423160867534929930.svg?style=flat-square)](https://discord.gg/7wRSUGX)\n[![coverage](https://github.com/livepeer/livepeerjs/raw/master/packages/sdk/coverage.svg?sanitize=true)](https://codeclimate.com/github/livepeer/livepeerjs/code?q=packages%2Fsdk%2Fsrc)\n[![GitHub issues](https://img.shields.io/github/issues/livepeer/livepeerjs/sdk.svg?style=flat-square)](https://github.com/livepeer/livepeerjs/labels/sdk)\n\nA module for interacting with Livepeer's smart contracts. The SDK is a core\ndependency of most LivepeerJS packages.\n\n<!-- hide-on-docup-start -->\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [API](#api)\n\n<!-- hide-on-docup-stop -->\n\n## Installation\n\n```bash\nyarn add @livepeer/sdk\n```\n\n## Usage\n\nHere's a code snippet showing instantiation and basic usage of the Livepeer SDK.\n\n```js\nimport LivepeerSDK from '@livepeer/sdk'\n\n// Or if you prefer require\n// const { LivepeerSDK } = require('@livepeer/sdk')\n//\n// First, call the SDK factory function\n// pass it any configuration options\nLivepeerSDK({ ... }).then(async (sdk) => {\n\n  // Once initialized, you can access the methods under the `rpc` namespace\n  const { rpc } = sdk\n\n  // For example, you can get the total supply of Livepeer Tokens like so\n  const tokens = await rpc.getTokenTotalSupply()\n\n  console.log(tokens)\n  // => string representation of some absurdly high number, maybe \"9999999999999999999999\" or something like that :)\n})\n```\n\nTo use with a testnet please instantiate with the following params:\n\n```js\nconst provider = \"https://rinkeby.infura.io\" #or your testnet of choice\nconst controllerAddress = \"0x37dC71366Ec655093b9930bc816E16e6b587F968\"\n\nLivepeerSDK({ provider, controllerAddress }).then(async sdk => {\n  mycode...\n})\n```\n\nThe following section details the rpc API's function signatures and typedefs.\n\n## API\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n#### Table of Contents\n\n- [module~exports](#moduleexports)\n  - [default](#default)\n    - [Parameters](#parameters)\n    - [Examples](#examples)\n- [livepeer~rpc](#livepeerrpc)\n  - [Examples](#examples-1)\n  - [getENSName](#getensname)\n    - [Parameters](#parameters-1)\n    - [Examples](#examples-2)\n  - [getENSAddress](#getensaddress)\n    - [Parameters](#parameters-2)\n    - [Examples](#examples-3)\n  - [getBlock](#getblock)\n    - [Parameters](#parameters-3)\n    - [Examples](#examples-4)\n  - [getEthBalance](#getethbalance)\n    - [Parameters](#parameters-4)\n    - [Examples](#examples-5)\n  - [getUnbondingPeriod](#getunbondingperiod)\n    - [Examples](#examples-6)\n  - [getNumActiveTranscoders](#getnumactivetranscoders)\n    - [Examples](#examples-7)\n  - [getMaxEarningsClaimsRounds](#getmaxearningsclaimsrounds)\n    - [Examples](#examples-8)\n  - [getTotalBonded](#gettotalbonded)\n    - [Examples](#examples-9)\n  - [getTokenTotalSupply](#gettokentotalsupply)\n    - [Examples](#examples-10)\n  - [getTokenBalance](#gettokenbalance)\n    - [Parameters](#parameters-5)\n    - [Examples](#examples-11)\n  - [getTokenInfo](#gettokeninfo)\n    - [Parameters](#parameters-6)\n    - [Examples](#examples-12)\n  - [transferToken](#transfertoken)\n    - [Parameters](#parameters-7)\n    - [Examples](#examples-13)\n  - [getFaucetAmount](#getfaucetamount)\n    - [Examples](#examples-14)\n  - [getFaucetWait](#getfaucetwait)\n    - [Examples](#examples-15)\n  - [getFaucetNext](#getfaucetnext)\n    - [Parameters](#parameters-8)\n    - [Examples](#examples-16)\n  - [getFaucetInfo](#getfaucetinfo)\n    - [Parameters](#parameters-9)\n    - [Examples](#examples-17)\n  - [getInflation](#getinflation)\n    - [Examples](#examples-18)\n  - [getInflationChange](#getinflationchange)\n    - [Examples](#examples-19)\n  - [getDelegatorStatus](#getdelegatorstatus)\n    - [Parameters](#parameters-10)\n    - [Examples](#examples-20)\n  - [getDelegator](#getdelegator)\n    - [Parameters](#parameters-11)\n    - [Examples](#examples-21)\n  - [rebond](#rebond)\n    - [Parameters](#parameters-12)\n    - [Examples](#examples-22)\n  - [rebondWithHint](#rebondwithhint)\n    - [Parameters](#parameters-13)\n    - [Examples](#examples-23)\n  - [rebondFromUnbonded](#rebondfromunbonded)\n    - [Parameters](#parameters-14)\n    - [Examples](#examples-24)\n  - [rebondFromUnbondedWithHint](#rebondfromunbondedwithhint)\n    - [Parameters](#parameters-15)\n    - [Examples](#examples-25)\n  - [getPendingStake](#getpendingstake)\n    - [Parameters](#parameters-16)\n    - [Examples](#examples-26)\n  - [getPendingFees](#getpendingfees)\n    - [Parameters](#parameters-17)\n    - [Examples](#examples-27)\n  - [getTranscoderIsActive](#gettranscoderisactive)\n    - [Parameters](#parameters-18)\n    - [Examples](#examples-28)\n  - [getTranscoderStatus](#gettranscoderstatus)\n    - [Parameters](#parameters-19)\n    - [Examples](#examples-29)\n  - [getTranscoderTotalStake](#gettranscodertotalstake)\n    - [Parameters](#parameters-20)\n    - [Examples](#examples-30)\n  - [getTranscoderPoolMaxSize](#gettranscoderpoolmaxsize)\n    - [Examples](#examples-31)\n  - [getTranscoder](#gettranscoder)\n    - [Parameters](#parameters-21)\n    - [Examples](#examples-32)\n  - [getTranscoders](#gettranscoders)\n    - [Examples](#examples-33)\n  - [getProtocolPaused](#getprotocolpaused)\n    - [Examples](#examples-34)\n  - [getProtocol](#getprotocol)\n    - [Examples](#examples-35)\n  - [getRoundLength](#getroundlength)\n    - [Examples](#examples-36)\n  - [getRoundsPerYear](#getroundsperyear)\n    - [Examples](#examples-37)\n  - [getCurrentRound](#getcurrentround)\n    - [Examples](#examples-38)\n  - [getCurrentRoundIsInitialized](#getcurrentroundisinitialized)\n    - [Examples](#examples-39)\n  - [getCurrentRoundStartBlock](#getcurrentroundstartblock)\n    - [Examples](#examples-40)\n  - [getLastInitializedRound](#getlastinitializedround)\n    - [Examples](#examples-41)\n  - [getCurrentRoundInfo](#getcurrentroundinfo)\n    - [Examples](#examples-42)\n  - [tapFaucet](#tapfaucet)\n    - [Parameters](#parameters-22)\n    - [Examples](#examples-43)\n  - [initializeRound](#initializeround)\n    - [Parameters](#parameters-23)\n    - [Examples](#examples-44)\n  - [createPoll](#createpoll)\n    - [Parameters](#parameters-24)\n    - [Examples](#examples-45)\n  - [getPollCreatorAllowance](#getpollcreatorallowance)\n    - [Parameters](#parameters-25)\n    - [Examples](#examples-46)\n  - [getBondingManagerAllowance](#getbondingmanagerallowance)\n    - [Parameters](#parameters-26)\n    - [Examples](#examples-47)\n  - [vote](#vote)\n    - [Parameters](#parameters-27)\n    - [Examples](#examples-48)\n  - [claimEarnings](#claimearnings)\n    - [Parameters](#parameters-28)\n    - [Examples](#examples-49)\n  - [bondWithHint](#bondwithhint)\n    - [Parameters](#parameters-29)\n    - [Examples](#examples-50)\n  - [estimateGas](#estimategas)\n    - [Parameters](#parameters-30)\n    - [Examples](#examples-51)\n  - [unbond](#unbond)\n    - [Parameters](#parameters-31)\n    - [Examples](#examples-52)\n  - [unbondWithHint](#unbondwithhint)\n    - [Parameters](#parameters-32)\n    - [Examples](#examples-53)\n  - [setupTranscoder](#setuptranscoder)\n    - [Parameters](#parameters-33)\n    - [Examples](#examples-54)\n  - [getTargetBondingRate](#gettargetbondingrate)\n    - [Examples](#examples-55)\n  - [withdrawStake](#withdrawstake)\n    - [Parameters](#parameters-34)\n    - [Examples](#examples-56)\n  - [withdrawStakeWithUnbondLock](#withdrawstakewithunbondlock)\n    - [Parameters](#parameters-35)\n    - [Examples](#examples-57)\n  - [withdrawFees](#withdrawfees)\n    - [Parameters](#parameters-36)\n    - [Examples](#examples-58)\n- [getDelegatorUnbondingLocks](#getdelegatorunbondinglocks)\n  - [Parameters](#parameters-37)\n  - [Examples](#examples-59)\n- [getDelegatorUnbondingLock](#getdelegatorunbondinglock)\n  - [Parameters](#parameters-38)\n  - [Examples](#examples-60)\n- [ABIPropDescriptor](#abipropdescriptor)\n  - [Properties](#properties)\n- [ContractArtifact](#contractartifact)\n  - [Properties](#properties-1)\n- [LivepeerSDKOptions](#livepeersdkoptions)\n  - [Properties](#properties-2)\n- [LivepeerSDK](#livepeersdk)\n  - [Properties](#properties-3)\n- [TokenInfo](#tokeninfo)\n  - [Properties](#properties-4)\n- [Protocol](#protocol)\n  - [Properties](#properties-5)\n- [TxReceipt](#txreceipt)\n  - [Properties](#properties-6)\n- [Log](#log)\n  - [Properties](#properties-7)\n- [FaucetInfo](#faucetinfo)\n  - [Properties](#properties-8)\n- [Broadcaster](#broadcaster)\n  - [Properties](#properties-9)\n- [Delegator](#delegator)\n  - [Properties](#properties-10)\n- [Transcoder](#transcoder)\n  - [Properties](#properties-11)\n- [UnbondingLock](#unbondinglock)\n  - [Properties](#properties-12)\n- [RoundInfo](#roundinfo)\n  - [Properties](#properties-13)\n- [Block](#block)\n  - [Properties](#properties-14)\n- [TxConfig](#txconfig)\n  - [Properties](#properties-15)\n\n### module~exports\n\nLivepeer SDK main module exports\n\n#### default\n\nLivepeer SDK factory function. Creates an instance of the Livepeer SDK -- an\nobject with useful methods for interacting with Livepeer protocol smart\ncontracts\n\n##### Parameters\n\n- `opts` **[LivepeerSDKOptions](#livepeersdkoptions)** SDK configuration options\n\n##### Examples\n\n```javascript\n// Here we're naming the default export \"LivepeerSDK\"\nimport LivepeerSDK from \"@livepeer/sdk\";\n\n// Call the factory function and await its Promise\nLivepeerSDK().then((sdk) => {\n  // Your Livepeer SDK instance is now ready to use\n});\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[LivepeerSDK](#livepeersdk)>**\n\n### livepeer~rpc\n\n\"rpc\" namespace of a Livepeer SDK instance\n\n#### Examples\n\n```javascript\nimport LivepeerSDK from \"@livepeer/sdk\";\n\nLivepeerSDK().then(({ rpc }) => {\n  // Here, we're destructuring the sdk to expose only its rpc namespace\n  // Now, you you are able call rpc.<method-name>()\n  // All rpc method yield Promises. Their usage is further explained below.\n});\n```\n\n#### getENSName\n\nGets the ENS name for an address. This is known as a reverse lookup.\nUnfortunately, users must explicitly set their own resolver. So most of the\ntime, this method just returns an empty string More info here:\n(<https://docs.ens.domains/en/latest/userguide.html#reverse-name-resolution>)\n\n##### Parameters\n\n- `address`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  address to look up an ENS name for\n\n##### Examples\n\n```javascript\nawait rpc.getENSName(\"0xd34db33f...\");\n// => string\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getENSAddress\n\nGets the address for an ENS name\n\n##### Parameters\n\n- `name`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  ENS name to look up an address for\n\n##### Examples\n\n```javascript\nawait rpc.getENSAddress(\"vitalik.eth\");\n// => string\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getBlock\n\nGets a block by number, hash, or keyword ('earliest' | 'latest')\n\n##### Parameters\n\n- `id`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n- `block`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  Number of block to get\n\n##### Examples\n\n```javascript\nawait rpc.getBlock('latest')\n// => {\n  \"number\": string,\n  \"hash\": string,\n  \"parentHash\": string,\n  \"nonce\": string,\n  \"sha3Uncles\": string,\n  \"logsBloom\": string,\n  \"transactionsRoot\": string,\n  \"stateRoot\": string,\n  \"receiptsRoot\": string,\n  \"miner\": string,\n  \"mixHash\": string,\n  \"difficulty\": string,\n  \"totalDifficulty\": string,\n  \"extraData\": string,\n  \"size\": string,\n  \"gasLimit\": string,\n  \"gasUsed\": string,\n  \"timestamp\": number,\n  \"transactions\": Array<Transaction>,\n  \"transactionsRoot\": string,\n  \"uncles\": Array<Uncle>,\n}\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[Block](#block)>**\n\n#### getEthBalance\n\nGets the ETH balance for an account\n\n##### Parameters\n\n- `addr`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  ETH account address\n\n##### Examples\n\n```javascript\nawait rpc.getEthBalance(\"0xf00...\");\n// => string\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getUnbondingPeriod\n\nGets the unbonding period for transcoders\n\n##### Examples\n\n```javascript\nawait rpc.getUnbondingPeriod();\n// => string\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getNumActiveTranscoders\n\nGets the number of active transcoders\n\n##### Examples\n\n```javascript\nawait rpc.getNumActiveTranscoders();\n// => string\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getMaxEarningsClaimsRounds\n\nGets the maximum earnings for claims rounds\n\n##### Examples\n\n```javascript\nawait rpc.getMaxEarningsClaimsRounds();\n// => string\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getTotalBonded\n\nGets the total amount of bonded tokens\n\n##### Examples\n\n```javascript\nawait rpc.getTotalBonded();\n// => string\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getTokenTotalSupply\n\nGets the total supply of token (LTPU) available in the protocol\n\n##### Examples\n\n```javascript\nawait rpc.getTokenTotalSupply();\n// => string\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getTokenBalance\n\nGets a user's token balance (LPTU)\n\n##### Parameters\n\n- `addr`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  user's ETH address\n\n##### Examples\n\n```javascript\nawait rpc.getTokenBalance(\"0xf00...\");\n// => string\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getTokenInfo\n\nGets general information about tokens\n\n##### Parameters\n\n- `addr`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  user's ETH address\n\n##### Examples\n\n```javascript\nawait rpc.getTokenInfo();\n// => TokenInfo { totalSupply: string, balance: string }\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[TokenInfo](#tokeninfo)>**\n\n#### transferToken\n\nTransfers tokens (LPTU) from one account to another\n\n##### Parameters\n\n- `to`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the account ETH address to send tokens to\n- `amount`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the amount of token to send (LPTU)\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` value of the\n  transaction (optional, default `config.defaultTx`)\n\n##### Examples\n\n```javascript\nawait rpc.transferToken(\"0xf00...\", \"10\");\n// => TxReceipt {\n//   transactionHash: string,\n//   transactionIndex\": BN,\n//   blockHash: string,\n//   blockNumber: BN,\n//   cumulativeGasUsed: BN,\n//   gasUsed: BN,\n//   contractAddress: string,\n//   logs: Array<Log {\n//     logIndex: BN,\n//     blockNumber: BN,\n//     blockHash: string,\n//     transactionHash: string,\n//     transactionIndex: string,\n//     address: string,\n//     data: string,\n//     topics: Array<string>\n//   }>\n// }\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[TxReceipt](#txreceipt)>**\n\n#### getFaucetAmount\n\nThe amount of LPT the faucet distributes when tapped\n\n##### Examples\n\n```javascript\nawait rpc.getFaucetAmount();\n// => string\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getFaucetWait\n\nHow often an address can tap the faucet (in hours)\n\n##### Examples\n\n```javascript\nawait rpc.getFaucetWait();\n// => string\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getFaucetNext\n\nNext timestamp at which the given address will be allowed to tap the faucet\n\n##### Parameters\n\n- `addr`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  user's ETH address\n\n##### Examples\n\n```javascript\nawait rpc.getFaucetNext();\n// => string\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getFaucetInfo\n\nInfo about the state of the LPT faucet\n\n##### Parameters\n\n- `addr`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  user's ETH address\n\n##### Examples\n\n```javascript\nawait rpc.getFaucetInfo(\"0xf00...\");\n// => FaucetInfo {\n//   amount: string,\n//   wait: string,\n//   next: string,\n// }\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[FaucetInfo](#faucetinfo)>**\n\n#### getInflation\n\nGets the per round inflation rate\n\n##### Examples\n\n```javascript\nawait rpc.getInflation();\n// => string\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getInflationChange\n\nGets the change in inflation rate per round until the target bonding rate is\nachieved\n\n##### Examples\n\n```javascript\nawait rpc.getInflationChange();\n// => string\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getDelegatorStatus\n\nThe delegator status of the given address\n\n##### Parameters\n\n- `addr`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  user's ETH address\n\n##### Examples\n\n```javascript\nawait rpc.getDelegatorStatus(\"0xf00...\");\n// => 'Pending' | 'Bonded' | 'Unbonded'\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getDelegator\n\nGeneral info about a delegator\n\n##### Parameters\n\n- `addr`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  user's ETH address\n\n##### Examples\n\n```javascript\nawait rpc.getDelegator(\"0xf00...\");\n// => Delegator {\n//   allowance: string,\n//   address: string,\n//   bondedAmount: string,\n//   delegateAddress: string,\n//   delegateAmount: string,\n//   fees: string,\n//   lastClaimRound: string,\n//   pendingFees: string,\n//   pendingStake: string,\n//   startRound: string,\n//   status: 'Pending' | 'Bonded' | 'Unbonding' | 'Unbonded',\n//   withdrawRound: string,\n//   nextUnbondingLockId: string,\n// }\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[Delegator](#delegator)>**\n\n#### rebond\n\nRebonds LPT from an address\n\n##### Parameters\n\n- `unbondingLockId`\n  **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)**\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` and `gas`\n  values of the transaction (optional, default `config.defaultTx`)\n\n##### Examples\n\n```javascript\nawait rpc.rebond(0);\n// => TxReceipt {\n//   transactionHash: string,\n//   transactionIndex\": BN,\n//   blockHash: string,\n//   blockNumber: BN,\n//   cumulativeGasUsed: BN,\n//   gasUsed: BN,\n//   contractAddress: string,\n//   logs: Array<Log {\n//     logIndex: BN,\n//     blockNumber: BN,\n//     blockHash: string,\n//     transactionHash: string,\n//     transactionIndex: string,\n//     address: string,\n//     data: string,\n//     topics: Array<string>\n//   }>\n// }\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[TxReceipt](#txreceipt)>**\n\n#### rebondWithHint\n\nRebonds LPT from an address with hint\n\n##### Parameters\n\n- `unbondingLockId`\n  **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)**\n- `newPosPrev`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n- `newPosNext`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` and `gas`\n  values of the transaction (optional, default `config.defaultTx`)\n\n##### Examples\n\n```javascript\nawait rpc.rebondWithHint(0, \"0x\", \"0x\");\n// => TxReceipt {\n//   transactionHash: string,\n//   transactionIndex\": BN,\n//   blockHash: string,\n//   blockNumber: BN,\n//   cumulativeGasUsed: BN,\n//   gasUsed: BN,\n//   contractAddress: string,\n//   logs: Array<Log {\n//     logIndex: BN,\n//     blockNumber: BN,\n//     blockHash: string,\n//     transactionHash: string,\n//     transactionIndex: string,\n//     address: string,\n//     data: string,\n//     topics: Array<string>\n//   }>\n// }\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[TxReceipt](#txreceipt)>**\n\n#### rebondFromUnbonded\n\nRebonds LPT from an address\n\n##### Parameters\n\n- `to`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n- `unbondingLockId`\n  **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)**\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` and `gas`\n  values of the transaction (optional, default `config.defaultTx`)\n\n##### Examples\n\n```javascript\nawait rpc.rebondFromUnbonded(\"0x\", 1);\n// => TxReceipt {\n//   transactionHash: string,\n//   transactionIndex\": BN,\n//   blockHash: string,\n//   blockNumber: BN,\n//   cumulativeGasUsed: BN,\n//   gasUsed: BN,\n//   contractAddress: string,\n//   logs: Array<Log {\n//     logIndex: BN,\n//     blockNumber: BN,\n//     blockHash: string,\n//     transactionHash: string,\n//     transactionIndex: string,\n//     address: string,\n//     data: string,\n//     topics: Array<string>\n//   }>\n// }\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[TxReceipt](#txreceipt)>**\n\n#### rebondFromUnbondedWithHint\n\nRebonds LPT from an address with hint\n\n##### Parameters\n\n- `to`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n- `unbondingLockId`\n  **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)**\n- `newPosPrev`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n- `newPosNext`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` and `gas`\n  values of the transaction (optional, default `config.defaultTx`)\n\n##### Examples\n\n```javascript\nawait rpc.rebondFromUnbondedWithHint(\"0x\", 1, \"0x\", \"0x\");\n// => TxReceipt {\n//   transactionHash: string,\n//   transactionIndex\": BN,\n//   blockHash: string,\n//   blockNumber: BN,\n//   cumulativeGasUsed: BN,\n//   gasUsed: BN,\n//   contractAddress: string,\n//   logs: Array<Log {\n//     logIndex: BN,\n//     blockNumber: BN,\n//     blockHash: string,\n//     transactionHash: string,\n//     transactionIndex: string,\n//     address: string,\n//     data: string,\n//     topics: Array<string>\n//   }>\n// }\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[TxReceipt](#txreceipt)>**\n\n#### getPendingStake\n\nGet a delegator's pending stake\n\n##### Parameters\n\n- `addr`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  user's ETH address\n- `endRound`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  The last round to compute pending stake from\n\n##### Examples\n\n```javascript\nawait rpc.getPendingStake(\"0xf00...\");\n// => string\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getPendingFees\n\nGet a delegator's pending fees\n\n##### Parameters\n\n- `addr`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  user's ETH address\n- `endRound`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  The last round to compute pending fees from\n\n##### Examples\n\n```javascript\nawait rpc.getPendingFees(\"0xf00...\");\n// => string\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getTranscoderIsActive\n\nWhether or not the transcoder is active\n\n##### Parameters\n\n- `addr`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  user's ETH address\n\n##### Examples\n\n```javascript\nawait rpc.getTranscoderIsActive(\"0xf00...\");\n// => boolean\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)>**\n\n#### getTranscoderStatus\n\nGets the status of a transcoder\n\n##### Parameters\n\n- `addr`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  user's ETH address\n\n##### Examples\n\n```javascript\nawait rpc.getTranscoderStatus(\"0xf00...\");\n// => 'NotRegistered' | 'Registered'\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getTranscoderTotalStake\n\nGets a transcoder's total stake\n\n##### Parameters\n\n- `addr`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  user's ETH address\n\n##### Examples\n\n```javascript\nawait rpc.getTranscoderTotalStake(\"0xf00...\");\n// => string\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getTranscoderPoolMaxSize\n\nGets a transcoder's pool max size\n\n##### Examples\n\n```javascript\nawait rpc.getTranscoderPoolMaxSize();\n// => string\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getTranscoder\n\nGets info about a transcoder\n\n##### Parameters\n\n- `addr`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  user's ETH address\n\n##### Examples\n\n```javascript\nawait rpc.getTranscoder(\"0xf00...\");\n// => Transcoder {\n//   active: boolean,\n//   address: string,\n//   rewardCut: string,\n//   feeShare: string,\n//   lastRewardRound: string,\n//   pendingRewardCut string,\n//   pendingFeeShare: string,\n//   pendingPricePerSegment: string,\n//   pricePerSegment: string,\n//   status: 'NotRegistered' | 'Registered',\n//   totalStake: string,\n// }\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[Transcoder](#transcoder)>**\n\n#### getTranscoders\n\nGets transcoders\n\n##### Examples\n\n```javascript\nawait rpc.getTranscoders();\n// => Array<Transcoder>\n```\n\nReturns\n**[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[Transcoder](#transcoder)>**\n\n#### getProtocolPaused\n\nWhether the protocol is paused\n\n##### Examples\n\n```javascript\nawait rpc.getProtocolPaused();\n// => boolean\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)>**\n\n#### getProtocol\n\nGets the protocol\n\n##### Examples\n\n```javascript\nawait rpc.getProtocol()\n// => Protocol {\npaused\ntotalTokenSupply\ntotalBondedToken\ntargetBondingRate\ntranscoderPoolMaxSize\nmaxEarningsClaimsRounds\n}\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[Protocol](#protocol)>**\n\n#### getRoundLength\n\nGets the length of a round (in blocks)\n\n##### Examples\n\n```javascript\nawait rpc.getRoundLength();\n// => string\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getRoundsPerYear\n\nGets the estimated number of rounds per year\n\n##### Examples\n\n```javascript\nawait rpc.getRoundsPerYear();\n// => string\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getCurrentRound\n\nGets the number of the current round\n\n##### Examples\n\n```javascript\nawait rpc.getCurrentRound();\n// => string\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getCurrentRoundIsInitialized\n\nWhether or not the current round is initalized\n\n##### Examples\n\n```javascript\nawait rpc.getCurrentRoundIsInitialized();\n// => boolean\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)>**\n\n#### getCurrentRoundStartBlock\n\nThe block at which the current round started\n\n##### Examples\n\n```javascript\nawait rpc.getCurrentRoundStartBlock();\n// => string\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getLastInitializedRound\n\nThe previously intitialized round\n\n##### Examples\n\n```javascript\nawait rpc.getLastInitializedRound();\n// => string\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### getCurrentRoundInfo\n\nGets general information about the rounds in the protocol\n\n##### Examples\n\n```javascript\nawait rpc.getCurrentRoundInfo();\n// => RoundInfo {\n//   id: string,\n//   initialized: boolean,\n//   startBlock: string,\n//   lastInitializedRound: string,\n//   length: string,\n// }\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[RoundInfo](#roundinfo)>**\n\n#### tapFaucet\n\nGets LPT from the faucet\n\n##### Parameters\n\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` and `gas`\n  values of the transaction (optional, default `config.defaultTx`)\n\n##### Examples\n\n```javascript\nawait rpc.tapFaucet(\"1337\");\n// => TxReceipt {\n//   transactionHash: string,\n//   transactionIndex\": BN,\n//   blockHash: string,\n//   blockNumber: BN,\n//   cumulativeGasUsed: BN,\n//   gasUsed: BN,\n//   contractAddress: string,\n//   logs: Array<Log {\n//     logIndex: BN,\n//     blockNumber: BN,\n//     blockHash: string,\n//     transactionHash: string,\n//     transactionIndex: string,\n//     address: string,\n//     data: string,\n//     topics: Array<string>\n//   }>\n// }\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[TxReceipt](#txreceipt)>**\n\n#### initializeRound\n\nInitializes the round\n\n##### Parameters\n\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` and `gas`\n  values of the transaction (optional, default `config.defaultTx`)\n\n##### Examples\n\n```javascript\nawait rpc.initializeRound();\n// => TxReceipt {\n//   transactionHash: string,\n//   transactionIndex\": BN,\n//   blockHash: string,\n//   blockNumber: BN,\n//   cumulativeGasUsed: BN,\n//   gasUsed: BN,\n//   contractAddress: string,\n//   logs: Array<Log {\n//     logIndex: BN,\n//     blockNumber: BN,\n//     blockHash: string,\n//     transactionHash: string,\n//     transactionIndex: string,\n//     address: string,\n//     data: string,\n//     topics: Array<string>\n//   }>\n// }\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[TxReceipt](#txreceipt)>**\n\n#### createPoll\n\nCreates a poll\n\n##### Parameters\n\n- `proposal`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  The IPFS multihash for the proposal\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` and `gas`\n  values of the transaction (optional, default `config.defaultTx`)\n\n##### Examples\n\n```javascript\nawait rpc.createPoll(\"Qm...\");\n// => TxReceipt {\n//   transactionHash: string,\n//   transactionIndex\": BN,\n//   blockHash: string,\n//   blockNumber: BN,\n//   cumulativeGasUsed: BN,\n//   gasUsed: BN,\n//   contractAddress: string,\n//   logs: Array<Log {\n//     logIndex: BN,\n//     blockNumber: BN,\n//     blockHash: string,\n//     transactionHash: string,\n//     transactionIndex: string,\n//     address: string,\n//     data: string,\n//     topics: Array<string>\n//   }>\n// }\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[TxReceipt](#txreceipt)>**\n\n#### getPollCreatorAllowance\n\nGet PollCreator transfer allowance\n\n##### Parameters\n\n- `addr`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  user's ETH address\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` and `gas`\n  values of the transaction (optional, default `config.defaultTx`)\n\n##### Examples\n\n```javascript\nawait rpc.getPollCreatorAllowance(\"0x...\");\n// => TxReceipt {\n//   transactionHash: string,\n//   transactionIndex\": BN,\n//   blockHash: string,\n//   blockNumber: BN,\n//   cumulativeGasUsed: BN,\n//   gasUsed: BN,\n//   contractAddress: string,\n//   logs: Array<Log {\n//     logIndex: BN,\n//     blockNumber: BN,\n//     blockHash: string,\n//     transactionHash: string,\n//     transactionIndex: string,\n//     address: string,\n//     data: string,\n//     topics: Array<string>\n//   }>\n// }\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[TxReceipt](#txreceipt)>**\n\n#### getBondingManagerAllowance\n\nGet BondingManager transfer allowance\n\n##### Parameters\n\n- `addr`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  user's ETH address\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` and `gas`\n  values of the transaction (optional, default `config.defaultTx`)\n\n##### Examples\n\n```javascript\nawait rpc.getBondingManagerAllowance(\"0x...\");\n// => TxReceipt {\n//   transactionHash: string,\n//   transactionIndex\": BN,\n//   blockHash: string,\n//   blockNumber: BN,\n//   cumulativeGasUsed: BN,\n//   gasUsed: BN,\n//   contractAddress: string,\n//   logs: Array<Log {\n//     logIndex: BN,\n//     blockNumber: BN,\n//     blockHash: string,\n//     transactionHash: string,\n//     transactionIndex: string,\n//     address: string,\n//     data: string,\n//     topics: Array<string>\n//   }>\n// }\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[TxReceipt](#txreceipt)>**\n\n#### vote\n\nCreates a poll\n\n##### Parameters\n\n- `pollAddress`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  poll contract address\n- `choiceId` **int** vote (0 = yes, 1 = no)\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` and `gas`\n  values of the transaction (optional, default `config.defaultTx`)\n\n##### Examples\n\n```javascript\nawait rpc.initializeRound();\n// => TxReceipt {\n//   transactionHash: string,\n//   transactionIndex\": BN,\n//   blockHash: string,\n//   blockNumber: BN,\n//   cumulativeGasUsed: BN,\n//   gasUsed: BN,\n//   contractAddress: string,\n//   logs: Array<Log {\n//     logIndex: BN,\n//     blockNumber: BN,\n//     blockHash: string,\n//     transactionHash: string,\n//     transactionIndex: string,\n//     address: string,\n//     data: string,\n//     topics: Array<string>\n//   }>\n// }\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[TxReceipt](#txreceipt)>**\n\n#### claimEarnings\n\nClaims token and eth earnings from the sender's `lastClaimRound + 1` through a\ngiven `endRound`\n\n##### Parameters\n\n- `endRound`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the round to claim earnings until\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` and `gas`\n  values of the transaction (optional, default `config.defaultTx`)\n\n##### Examples\n\n```javascript\nawait rpc.claimEarnings();\n// => string\n```\n\nReturns\n**[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n\n#### bondWithHint\n\nBonds to a transcoder with hint\n\n##### Parameters\n\n- `amount`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n- `to`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n- `oldDelegateNewPosPrev`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n- `oldDelegateNewPosNext`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n- `currDelegateNewPosPrev`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n- `currDelegateNewPosNext`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` and `gas`\n  values of the transaction (optional, default `config.defaultTx`)\n\n##### Examples\n\n```javascript\nawait rpc.bondWithHint(\"100\", \"0x\", \"0x\", \"0x\", \"0x\", \"0x\");\n// => TxReceipt {\n//   transactionHash: string,\n//   transactionIndex\": BN,\n//   blockHash: string,\n//   blockNumber: BN,\n//   cumulativeGasUsed: BN,\n//   gasUsed: BN,\n//   contractAddress: string,\n//   logs: Array<Log {\n//     logIndex: BN,\n//     blockNumber: BN,\n//     blockHash: string,\n//     transactionHash: string,\n//     transactionIndex: string,\n//     address: string,\n//     data: string,\n//     topics: Array<string>\n//   }>\n// }\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[TxReceipt](#txreceipt)>**\n\n#### estimateGas\n\nGets the estimated amount of gas to be used by a smart contract method.\n\n##### Parameters\n\n- `contractName`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  : name of contract containing method you wish to find gas price for.\n  methodName: name of method on contract. methodArgs: array of argument to be\n  passed to the contract in specified order. tx: (optioanl){ from: address -\n  0x..., gas: number, value: (optional) number or string containing number }\n- `methodName`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n- `methodArgs`\n  **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)**\n- `tx` (optional, default `config.defaultTx`)\n\n##### Examples\n\n```javascript\nawait rpc.estimateGas(\"BondingManager\", \"bond\", [10, \"0x00.....\"]);\n// => 33454\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)>**\ncontaining estimated gas price\n\n#### unbond\n\nUnbonds LPT from an address\n\n##### Parameters\n\n- `amount`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` and `gas`\n  values of the transaction (optional, default `config.defaultTx`)\n\n##### Examples\n\n```javascript\nawait rpc.unbond(amount);\n// => TxReceipt {\n//   transactionHash: string,\n//   transactionIndex\": BN,\n//   blockHash: string,\n//   blockNumber: BN,\n//   cumulativeGasUsed: BN,\n//   gasUsed: BN,\n//   contractAddress: string,\n//   logs: Array<Log {\n//     logIndex: BN,\n//     blockNumber: BN,\n//     blockHash: string,\n//     transactionHash: string,\n//     transactionIndex: string,\n//     address: string,\n//     data: string,\n//     topics: Array<string>\n//   }>\n// }\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[TxReceipt](#txreceipt)>**\n\n#### unbondWithHint\n\nUnbonds LPT from an address with hint\n\n##### Parameters\n\n- `amount`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n- `newPosPrev`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n- `newPosNext`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` and `gas`\n  values of the transaction (optional, default `config.defaultTx`)\n\n##### Examples\n\n```javascript\nawait rpc.unbondWithHint(\"100\", \"0x\", \"0x\");\n// => TxReceipt {\n//   transactionHash: string,\n//   transactionIndex\": BN,\n//   blockHash: string,\n//   blockNumber: BN,\n//   cumulativeGasUsed: BN,\n//   gasUsed: BN,\n//   contractAddress: string,\n//   logs: Array<Log {\n//     logIndex: BN,\n//     blockNumber: BN,\n//     blockHash: string,\n//     transactionHash: string,\n//     transactionIndex: string,\n//     address: string,\n//     data: string,\n//     topics: Array<string>\n//   }>\n// }\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[TxReceipt](#txreceipt)>**\n\n#### setupTranscoder\n\nSets transcoder parameters\n\n##### Parameters\n\n- `rewardCut`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the block reward cut you wish to set\n- `feeShare`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the fee share you wish to set\n- `pricePerSegment`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the price per segment you wish to set\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` and `gas`\n  values of the transaction (optional, default `config.defaultTx`)\n\n##### Examples\n\n```javascript\nawait rpc.setupTranscoder(\"10\", \"10\", \"5\");\n// => TxReceipt {\n//   transactionHash: string,\n//   transactionIndex\": BN,\n//   blockHash: string,\n//   blockNumber: BN,\n//   cumulativeGasUsed: BN,\n//   gasUsed: BN,\n//   contractAddress: string,\n//   logs: Array<Log {\n//     logIndex: BN,\n//     blockNumber: BN,\n//     blockHash: string,\n//     transactionHash: string,\n//     transactionIndex: string,\n//     address: string,\n//     data: string,\n//     topics: Array<string>\n//   }>\n// }\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[TxReceipt](#txreceipt)>**\n\n#### getTargetBondingRate\n\nGet target bonding rate\n\n##### Examples\n\n```javascript\nawait rpc.getTargetBondingRate();\n// => string\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n\n#### withdrawStake\n\nWithdraws earned token (Transfers a sender's delegator `bondedAmount` to their\n`tokenBalance`)\n\n##### Parameters\n\n- `unbondLockId`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?**\n  the unbond lock id\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` and `gas`\n  values of the transaction (optional, default `config.defaultTx`)\n\n##### Examples\n\n```javascript\nawait rpc.withdrawStake();\n// => TxReceipt {\n//   transactionHash: string,\n//   transactionIndex\": BN,\n//   blockHash: string,\n//   blockNumber: BN,\n//   cumulativeGasUsed: BN,\n//   gasUsed: BN,\n//   contractAddress: string,\n//   logs: Array<Log {\n//     logIndex: BN,\n//     blockNumber: BN,\n//     blockHash: string,\n//     transactionHash: string,\n//     transactionIndex: string,\n//     address: string,\n//     data: string,\n//     topics: Array<string>\n//   }>\n// }\n```\n\nReturns **[TxReceipt](#txreceipt)**\n\n#### withdrawStakeWithUnbondLock\n\nWithdraws earned token (Transfers a sender's delegator `bondedAmount` to their\n`tokenBalance`)\n\n##### Parameters\n\n- `unbondlock` **{id:\n  [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String),\n  amount:\n  [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String),\n  withdrawRound:\n  [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}**\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` and `gas`\n  values of the transaction (optional, default `config.defaultTx`)\n\n##### Examples\n\n```javascript\nawait rpc.withdrawStakeWithUnbondLock(unbondlock);\n// => TxReceipt {\n//   transactionHash: string,\n//   transactionIndex\": BN,\n//   blockHash: string,\n//   blockNumber: BN,\n//   cumulativeGasUsed: BN,\n//   gasUsed: BN,\n//   contractAddress: string,\n//   logs: Array<Log {\n//     logIndex: BN,\n//     blockNumber: BN,\n//     blockHash: string,\n//     transactionHash: string,\n//     transactionIndex: string,\n//     address: string,\n//     data: string,\n//     topics: Array<string>\n//   }>\n// }\n```\n\nReturns **[TxReceipt](#txreceipt)**\n\n#### withdrawFees\n\nWithdraws earned fees (Transfers a sender's delegator `fees` to their\n`ethBalance`)\n\n##### Parameters\n\n- `tx` **[TxConfig](#txconfig)** an object specifying the `from` and `gas`\n  values of the transaction (optional, default `config.defaultTx`)\n\n##### Examples\n\n```javascript\nawait rpc.withdrawFees();\n// => TxReceipt {\n//   transactionHash: string,\n//   transactionIndex\": BN,\n//   blockHash: string,\n//   blockNumber: BN,\n//   cumulativeGasUsed: BN,\n//   gasUsed: BN,\n//   contractAddress: string,\n//   logs: Array<Log {\n//     logIndex: BN,\n//     blockNumber: BN,\n//     blockHash: string,\n//     transactionHash: string,\n//     transactionIndex: string,\n//     address: string,\n//     data: string,\n//     topics: Array<string>\n//   }>\n// }\n```\n\nReturns **[TxReceipt](#txreceipt)**\n\n### getDelegatorUnbondingLocks\n\nGet all the unbonding locks for a delegator\n\n#### Parameters\n\n- `addr`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  delegator's ETH address\n\n#### Examples\n\n```javascript\nawait rpc.getDelegatorUnbondingLocks(\"0xf00...\");\n// => UnbondingLock [{\n//   id: string,\n//   delegator: string,\n//   amount: string,\n//   withdrawRound: string\n// }]\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[UnbondingLock](#unbondinglock)>>**\n\n### getDelegatorUnbondingLock\n\nGet an unbonding lock for a delegator\n\n#### Parameters\n\n- `addr`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  delegator's ETH address\n- `unbondingLockId`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  unbonding lock ID\n\n#### Examples\n\n```javascript\nawait rpc.getDelegatorUnbondingLock(\"0xf00...\", 1);\n// => UnbondingLock {\n//   id: string,\n//   delegator: string,\n//   amount: string,\n//   withdrawRound: string\n// }\n```\n\nReturns\n**[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[UnbondingLock](#unbondinglock)>**\n\n### ABIPropDescriptor\n\nABI property descriptor\n\nType:\n[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n#### Properties\n\n- `constants`\n  **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)**\n  is the method constant?\n- `inputs`\n  **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;{name:\n  [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String),\n  type:\n  [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}>**\n  the method params\n- `outputs`\n  **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;{name:\n  [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String),\n  type:\n  [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}>**\n  method return values\n- `payable`\n  **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)**\n  is the method payable?\n- `stateMutability`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  type of state mutability\n- `type`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  type of contract property\n\n### ContractArtifact\n\nMostly \"`truffle`-style\" ABI artifacts but no bytecode/network properties\nrequired\n\nType:\n[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n#### Properties\n\n- `name`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  name of the contract\n- `abi`\n  **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[ABIPropDescriptor](#abipropdescriptor)>**\n  lists info about contract properties\n\n### LivepeerSDKOptions\n\nSDK configuration options\n\nType:\n[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n#### Properties\n\n- `controllerAddress`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?**\n  The address of the delpoyed Controller contract\n- `provider`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?**\n  The ETH http provider for rpc methods\n- `gas`\n  **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)?**\n  the amount of gas to include with transactions by default\n- `artifacts`\n  **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String),\n  [ContractArtifact](#contractartifact)>** an object containing contract name ->\n  ContractArtifact mappings\n- `privateKeys`\n  **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String),\n  [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n  an object containing public -> private key mappings. Should be specified if\n  using the SDK for transactions without MetaMask (via CLI, etc)\n- `account`\n  **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)\n  \\|\n  [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number))**\n  the account that will be used for transacting and data-fetching. Can be one of\n  the publicKeys specified in the `privateKeys` option or an index of an account\n  available via MetaMask\n\n### LivepeerSDK\n\nAn object containing contract info and utility methods for interacting with the\nLivepeer protocol's smart contracts\n\nType:\n[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n#### Properties\n\n- `config`\n  **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String),\n  any>** this prop is mostly for debugging purposes and could change a lot in\n  the future. Currently, it contains the following props: `abis`, `accounts`,\n  `contracts`, `defaultTx`, `eth`\n- `constants`\n  **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String),\n  any>** Exposes some constant values. Currently, it contains the following\n  props: `ADDRESS_PAD`, `DELEGATOR_STATUS`, `EMPTY_ADDRESS`,\n  `TRANSCODER_STATUS`, `VIDEO_PROFILES`, `VIDEO_PROFILE_ID_SIZE`\n- `create`\n  **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)**\n  same as the `createLivepeerSDK` function\n- `events`\n  **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String),\n  [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)>**\n  Object mapping an event name -> contract event descriptor object\n- `rpc`\n  **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String),\n  [Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)>**\n  contains all of the rpc methods available for interacting with the Livepeer\n  protocol\n- `utils`\n  **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String),\n  [Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)>**\n  contains utility methods. Mostly here just because. Could possibly be removed\n  or moved into its own module in the future\n\n### TokenInfo\n\nAn object containing the total token supply and a user's account balance.\n\nType:\n[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n#### Properties\n\n- `totalSupply`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  total supply of token available in the protocol (LPTU)\n- `balance`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  user's token balance (LPTU)\n\n### Protocol\n\nA Protocol struct\n\nType:\n[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n#### Properties\n\n- `paused`\n  **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)**\n  the protocol paused or not\n- `totalTokenSupply`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  total token supply for protocol\n- `totalBondedToken`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  total bonded token for protocol\n- `targetBondingRate`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  target bonding rate for protocol\n- `transcoderPoolMaxSize`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  transcoder pool max size\n\n### TxReceipt\n\nTransaction receipt\n\nType:\n[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n#### Properties\n\n- `transactionHash`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the transaction hash\n- `transactionIndex` **BN** the transaction index\n- `blockHash`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the transaction block hash\n- `blockNumber` **BN** the transaction block number\n- `cumulativeGasUsed` **BN** the cumulative gas used in the transaction\n- `gasUsed` **BN** the gas used in the transaction\n- `contractAddress`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the contract address of the transaction method\n- `logs`\n  **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[Log](#log)>**\n  an object containing logs that were fired during the transaction\n\n### Log\n\nAn object representing a contract log\n\nType:\n[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n#### Properties\n\n- `logIndex` **BN** the log index\n- `blockNumber` **BN** the log block number\n- `blockHash`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the log block hash\n- `transactionHash`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the log's transaction hash\n- `transactionIndex` **BN** the log's transaction index\n- `address`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the log's address\n- `data`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the log's data\n- `topics`\n  **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**\n  the log's topics\n\n### FaucetInfo\n\nInformation about the status of the LPT faucet\n\nType:\n[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n#### Properties\n\n- `amount`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the amount distributed by the faucet\n- `wait`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the faucet request cooldown time\n- `next`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the next time a valid faucet request may be made\n\n### Broadcaster\n\nA Broadcaster struct\n\nType:\n[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n#### Properties\n\n- `address`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the ETH address of the broadcaster\n- `deposit`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the amount of LPT the broadcaster has deposited\n- `withdrawBlock`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the next block at which a broadcaster may withdraw their deposit\n\n### Delegator\n\nA Delegator struct\n\nType:\n[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n#### Properties\n\n- `allowance`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the delegator's LivepeerToken approved amount for transfer\n- `address`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the delegator's ETH address\n- `bondedAmount`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  The amount of LPTU a delegator has bonded\n- `delegateAddress`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the ETH address of the delegator's delegate\n- `delegatedAmount`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the amount of LPTU the delegator has delegated\n- `fees`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the amount of LPTU a delegator has collected\n- `lastClaimRound`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the last round that the delegator claimed reward and fee pool shares\n- `pendingFees`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the amount of ETH the delegator has earned up to the current round\n- `pendingStake`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the amount of token the delegator has earned up to the current round\n- `startRound`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the round the delegator becomes bonded and delegated to its delegate\n- `status`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the delegator's status\n- `withdrawableAmount`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the amount of LPTU a delegator can withdraw\n- `withdrawRound`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the round the delegator can withdraw its stake\n- `nextUnbondingLockId`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the next unbonding lock ID for the delegator\n\n### Transcoder\n\nA Transcoder struct\n\nType:\n[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n#### Properties\n\n- `active`\n  **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)**\n  whether or not the transcoder is active\n- `address`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the transcoder's ETH address\n- `rewardCut`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  % of block reward cut paid to transcoder by a delegator\n- `feeShare`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  % of fees paid to delegators by transcoder\n- `lastRewardRound`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  last round that the transcoder called reward\n- `pendingRewardCut`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  pending block reward cut for next round if the transcoder is active\n- `pendingFeeShare`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  pending fee share for next round if the transcoder is active\n- `pendingPricePerSegment`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  pending price per segment for next round if the transcoder is active\n- `pricePerSegment`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  price per segment for a stream (LPTU)\n- `status`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  the transcoder's status\n- `totalStake`\n  **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n  total tokens delegated toward a transcoder (including their own)\n\n### UnbondingLock\n\nAn UnbondingLock struct\n\nType:\n[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n#### Properties\n\n- `id`\n ","readmeFilename":"README.md"}